Quantcast
Channel: Infineon Forums
Viewing all 9892 articles
Browse latest View live

CPU_TC.048 TC1796 Need for NOP before RET?

$
0
0
Thanks Henk-Piet.

I think Tasking are being too cautious here and there is no need for a NOP "between a label and RET".

The NOP between (type IP) and (type LS) instruction is expected and consistent between Infineon manuals, Tasking and HIGHTEC.

XMC1000 VQFN-24 EAGLE PCB footprint

E_EEPROM_XMC4 breaks linker_script.ld

$
0
0
Hi,

The E_EEPROM_XMC4 APP overwrites the default linker file in order to reserve the sectors physical sector 4 for EEPROM.
For which device have you observed the issue?

Regards,
Jesus

Ir3581 and 1r3555 : Power supply part

XMC1400: Cannot enter in debug mode via SWD

$
0
0
Hi,

I'm working on the programming algorithm for the XMC1402-0064 device. Unfortunately I cannot communicate with the device via SWD.
The connection sequence used is the same for the Cortex device ( STM32, NXP etc) and also described in the "XMC1400 AA-Step XMC1000 Family Reference Manual with 50 clock cycles data = 1s. However, I'm not able to read the SW_DP IDCODE.
When I tried with J-Link, I got this:


Attachment 3169


After that, I tried again with my tool and it works successfully, even after POR. I can read the IDCODE and perform all the SWD commands.
It seems that the J-Link sends a special sequence to enable the SWD protocol.

Is there a special command (maybe via SPD) to send before starting the connection sequence?


Thanks in advance

Best regards,

Luca

Sense2Go Development Kit Exporting Data

$
0
0
Quote:

Originally Posted by finketho View Post
Hi jjn123,

may I please know if your kit is really the old (outdated) Sense2Go platform or successor platforms like Sense2Go2 or Sense2GoL? For latter ones we have software updates that are able to strem data via UART.

Best regards,
Thomas

I am using the Sense2Go2_3.1. I now have a MATLAB license, and so am able to modify the code that came with the board. The code reads in data into buffers of size 500 samples and displays it in a GUI. To save the data, I append these buffers to one big list, but this causes discontinuities every 500 samples, because there is a small pause between buffer reads. Any advice on a better way to get this data? How might I stream data using UART?

XMC4500 USB VCOM problem receiving less than 2048 bytes on Windows

$
0
0
Hi,

I have a program using DAVE which sends data from XMC4500 over USB, built on the VCOM example code. On Windows side, I am using pySerial library to read packets. Continuous packet reads don't show any drops, but when I try to read smaller packets (making sure they are multiples of 64 bytes), only reading >2048 bytes is guaranteed. The smaller size packets are somehow being gobbled up by the OS, it seems!

Any pointers will be greatly appreciated.

For changing device in Example Project

$
0
0
hello

I am looking at the EtherCAT FW update example in DAVE Studio. This project created an example based on the XMC48. How do I change it to XMC43?

Regards,
Rocky

XMC1100 Reading 2 ADC's

$
0
0
Hello,

I configured the Dave APP to make two ADC measurements (P2.7 and P2.9) and I'm not having success reading the values. I can read one value but I don't know how can I read the other one because it uses a global register to store the values.
I'm using DAVE 4 with a Sense 2 Go Kit (XMC1100).

Following is my code:

// Global variables
XMC_VADC_RESULT_SIZE_t adc1Raw;
XMC_VADC_RESULT_SIZE_t adc2Raw;

int main(void)
{
DAVE_Init();
ADC_MEASUREMENT_StartConversion(&ADC_MEASUREMENT_0 );
while(1)
{

}
}

// Interrupt
void Adc_Measurement_Handler()
{
adc1Raw = ADC_MEASUREMENT_GetGlobalResult() & 0xFFF;
adc2Raw = ???
}

Attachment 3170

Attachment 3171
?????

TC297TA, and TC299TX.

$
0
0
I need the complete data sheet and reference design document of these TC297TA, and TC299TX Tri core MCU family. as we have shortlisted this for my new safety critical device.

and what is the life-cycle longevity (in production, Not recommended for new design (NRND), Obsolete)of these MCU.
if in production then is this MCU available for next 7 to 10 years?

Regards
Mohsin Nabeel

DAVE - XMC4500 Debugging Bootloader and Application

$
0
0
Hi,

I have a bootloader and an application, which are programed into 0x0C000000 and 0x0C080000 respectively.

Now in DAVE debugging the bootloader (or the application) when programmed into the start address 0x0C000000 works fine. But when programming the application into 0x0C080000 or any other address the debugging sessions resolves to, when pause since "automatic halt" does not work, in: "No source available for "0x8004972""...

How can I configure DAVE to start debugging at the right address? I have found easy to follow pdfs for NXP or Atollic.
Also this site is very helpful but nothing worked on DAVE so far.

They all involve some variation of adding the following instruction to the debugger: add-symbol-file filename address, as for example:
add-symbol-file "c://tmp//app_test.elf" 0x0C080000

I certanly hope some wiser person can help me out here!


System configuration:
XMC4500-F144-1024
JLink Segger 6.0
DAVE 4.3.2

Multicore Support Aurix TC297-B

$
0
0
Hello,

We are trying out multicore programming on TC297 evaluation board, but seems that the Free tool chain entry doesn't have support to run multicore software.

If anyone had success in running multicore software with free entry tool chain, please let us know.

Or if we need to adapt to any other tool chain please let us know.

Regards
Manikantan Ravichandran

TLV493D acknowledge problem

$
0
0
I'm currently testing out a TLV493D magnetic sensor on an arduino. I think I have some problems with the acknowledge bit. It does not pull completely down, just 2/3 of the way. I have added a picture of the oscilloscope read out and my setup.

So far I have tried with two different TLV493D sensors (one at a time), same problem with both. I have also tried with two different Arduino boards. I have also tried without the logic level converter and a 3.3v arduino board, but still the same problem.
I have tried 3 different codes other people have gotten to to work and one I wrote my self. Still the same problem. I tried using different I2C libraries for arduino, one were a bit faster and made more square looking waves, but still the same problem. I tried hooking
up a MPU6050 with it's own caps and pullup resistors to the I2C bus. The MPU6050 worked as it should but I still had the problem with the TLV493D. It also seems I get the 2/3 acknowledge signal at the 0xF1 address. Any suggestions?



Attachment 3175Attachment 3176
?????

Is the TLE7182E gate driver compatible with the AUIRF7739L2TR DirectFET ?

$
0
0
I plan to use the TLE7182E gate driver to drive a full H-bridge using AUIRF7739L2TR DirectFETs.

The supply voltage will be 13.8V and the switching frequency will be 25kHz.

Will this gate driver be able to drive these DirectFETs ?

I have been reading various application notes to determine the power requirements for a gate driver but its confusing.

Things I am unsure of are:

1 - What is the voltage of the TLE7182E gate driver outputs ? Will this be the supply voltage i.e. 13.8V ?
2 - The AUIRF7739L2TR data sheet has two values for Gate-to-Source charge, Qgs1 (46nC) and Qgs2 (19nC). Whats the difference and which value should I use ?
3 - What is the maximum output current of the TLE7182E gate driver outputs, I cannot seem to find this value in the datasheet ?

#error "GLOBAL_ADC requires XMC Peripheral Library v2.0.0 or higher"

$
0
0
So I found a solution (which I don't understand as all of my projects in DAVE 4 have been created in the last week using the same workspace and I assume the same XMCLib versions).

1) I created a new project
2) I copied the 'Libraries' folder and sub folders from the new project to my non working project
3) Re-built non working project
4) All errors are gone.

If anyone can explain why this solved the problem I would appreciate it. Anyway I hope this helps others who may run into similar problems.

Thanks
PHAB

Arathmatic operations in XMC1400

$
0
0
How can i do complex division and multiplications in Dave for XMC1400?
I believe i can not use floating point on MO core

I need an example of touch-sense LEDTS

$
0
0
Hello, I would like a help, I can not find any example of touch sense, so I start my project, I would like to use two simple keys.

Can someone help me???

why IR3475MTRPBF lost output ?

$
0
0
We need sincere helps from this website.

The IR3475MTRPBF is selected in my design as attached configuration.

At the first, the load is not connected to IR3475MTRPBF and EN pin is connected to +5V, VCC pin is connected to +5V and FCCM pin is connectedf to +5V as well.

The weired thing is IR3475MTRPBF lost +3.3V output after few seconds.

We have checked 3VCBP pin, it is always +3.4V around. VCC, FCCM and EN are connected to +5V solidly.

Please let me know , where is wrong in my design configuration for IR3475MTRPBF.

Many thanks.

David.

Attachment 3178
?????

How to setup a Brushless Motor Project in DAVE4 ?

$
0
0
Hello,
I try to get a brushless motor with hall sensors to work.
I use the EVAL-M1-05F804 Evaluation Board and the EVAL-M1-1302 Evaluation Board.
Connected to these is a 24V brushless motor with hall sensors.
The motor is not moving at all.

What apps do I need to get this to work?
Currently I have these:
Attachment 3179

The HW signal connections:
Attachment 3180

PWM output pins:
Attachment 3181

I tried to start it before entering the while(1) loop without success:
Code:

PWM_BC_SetDirection((PWM_BC_t*)&PWM_BC_0,PWM_BC_CLOCKWISE);
PWM_BC_SetPWMFrequency((PWM_BC_t*)&PWM_BC_0,10000);
PWM_BC_Start((PWM_BC_t*)&PWM_BC_0);

But I don't think this is neccessary because it is already set in the PWM_BC Configuration dialogs.
As far as I can see there is no "inverter enable" signal on the driver board, so this is probably not the problem.

What am I missing?
I can't find any example how to do this in DAVE4.
Is there any step-by-step guide howto setup such an application?
I tried the "BLDC_SCALAR_HALL_XMC13" example, but can't get it to work and it does not use the DAVE APPs so I don't know what the APPs do on their own and what code I have to write manually.

Any advice is welcome!

Best regards
Tom
?????

DAVE Tip of the day: CMSIS RTOS API Overview

$
0
0
Hello everyone,

I'm trying to use the osSemaphoreCreate as it follows:

const osSemaphoreDef_t* semaphoreApp;
osSemaphoreId semaphorID;

semaphorID = osSemaphoreCreate(semaphoreApp, 0xFFFF);


But everytime I run this code, it gets stuck in an infinity loop, is there any example of a correct implementation?

Best regards
Alan
Viewing all 9892 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>