XMC™ Forum Discussions
Sort by:
XMC™
Hello all,I hope I'm not repeating an existing thread, but I've hit a dead end trying to interface with a 2Go eval dev board using DAVE and J-Link. My...
Show More
Hello all,
I hope I'm not repeating an existing thread, but I've hit a dead end trying to interface with a 2Go eval dev board using DAVE and J-Link. My debug log is attached, you will notice I have set the GDB server executable manually as this at least got to the point connecting to the target. After which, the GDB server times out.

Hopefully something minor (and stupid), thanks in advance. Show Less
I hope I'm not repeating an existing thread, but I've hit a dead end trying to interface with a 2Go eval dev board using DAVE and J-Link. My debug log is attached, you will notice I have set the GDB server executable manually as this at least got to the point connecting to the target. After which, the GDB server times out.

Hopefully something minor (and stupid), thanks in advance. Show Less
XMC™
With a brand new project for the XMC4300 I load the DAVE4 apps FreeRTOS and FATfs. When I try to configure FATfs to use the SDIO module, I am getting ...
Show More
With a brand new project for the XMC4300 I load the DAVE4 apps FreeRTOS and FATfs. When I try to configure FATfs to use the SDIO module, I am getting "DAVE is not able to grant your last hardware resources request" I get the same error when I tick the checkbox at:
FATFS_0 -> General Settings -> RTOS Configuration (Use RTOS).
This error happens the same way when trying to create a project for the XMC4300 XMC4500 & XMC4800.
Is this a bug? Something I am not seeing? Another fellow posted a question in the DAVE4 forum about a different use of the FreeRTOS app generating the Hardware Resource Error but hasn't gotten an answer. Show Less
FATFS_0 -> General Settings -> RTOS Configuration (Use RTOS).
This error happens the same way when trying to create a project for the XMC4300 XMC4500 & XMC4800.
Is this a bug? Something I am not seeing? Another fellow posted a question in the DAVE4 forum about a different use of the FreeRTOS app generating the Hardware Resource Error but hasn't gotten an answer. Show Less
XMC™
Good Day,I'm working on a power electronics project, and seeking guidance from Infineon,Bangalore.I intend using a digital control law for the feedbac...
Show More
Good Day,
I'm working on a power electronics project, and seeking guidance from Infineon,Bangalore.
I intend using a digital control law for the feedback control system, and I'm completely new to Arm programming.
I have an XMC2GO with me.
How do I learn to program it? What all do I need to know to be able to program it in C? Like all those registers, GPIO, Interrupts etc?
Is there any resource to learn from?
How should I begin? I only have prior experience programming Arduino, so I don't think that is of any big help.
Thanks in advance!
Regards,
Arvind S Show Less
I'm working on a power electronics project, and seeking guidance from Infineon,Bangalore.
I intend using a digital control law for the feedback control system, and I'm completely new to Arm programming.
I have an XMC2GO with me.
How do I learn to program it? What all do I need to know to be able to program it in C? Like all those registers, GPIO, Interrupts etc?
Is there any resource to learn from?
How should I begin? I only have prior experience programming Arduino, so I don't think that is of any big help.
Thanks in advance!
Regards,
Arvind S Show Less
XMC™
Hello,I am starting with XMC2GO, I wanted to change a frequency of blinking according to "XMC 2Go - Write your first program Guide" and I found a prob...
Show More
Hello,
I am starting with XMC2GO, I wanted to change a frequency of blinking according to "XMC 2Go - Write your first program Guide" and I found a problem after I select "Bulid All (Ctrl + B) there is error :
"Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
make: *** [Startup/system_XMC1100.o] Error 1
Where is the problem? How to solve it?
Thank you in advance for your help. Show Less
I am starting with XMC2GO, I wanted to change a frequency of blinking according to "XMC 2Go - Write your first program Guide" and I found a problem after I select "Bulid All (Ctrl + B) there is error :
"Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
make: *** [Startup/system_XMC1100.o] Error 1
Where is the problem? How to solve it?
Thank you in advance for your help. Show Less
XMC™
I'm getting no correct data back from SPI_MASTER_Transfer. The data is sent correctly. The SPI slave device responds correctly. I am using a scope to ...
Show More
I'm getting no correct data back from SPI_MASTER_Transfer. The data is sent correctly. The SPI slave device responds correctly. I am using a scope to look at signals.
Perhaps I'm doing something wrong, but ... help
I've tried with Interrupts & with Direct mode. Also with & without FIFOs.
On a XMC1300 boot card. I've just ordered 10 engineering prototypes of a custom board with XMC1302 Q024.
I need some support.
Thanks in advance. Show Less
Perhaps I'm doing something wrong, but ... help
uint8_t SPI_Read_Byte( uint8_t Port, uint8_t RegisterNum )
{
uint8_t SendData[4];
uint8_t GetData[4];
SPI_MASTER_STATUS_t Status;
SendData[0] = (RegisterNum & 0x7F) | 0x80; // MSB is R/nW
SendData[1] = 0xff;
SendData[2] = 0x00;
XMC_USIC_CH_SetFrameLength( SPI_MASTER_0.channel, 24);
if ( Port == SLAVE_0 )
SPI_MASTER_EnableSlaveSelectSignal(&SPI_MASTER_0, SPI_MASTER_SS_SIGNAL_0 );
else
SPI_MASTER_EnableSlaveSelectSignal(&SPI_MASTER_0, SPI_MASTER_SS_SIGNAL_1 );
// Send & receive at same time
Status = SPI_MASTER_Transfer( &SPI_MASTER_0, SendData, GetData, 3 );
// block, wait to complete
while(SPI_MASTER_0.runtime->tx_busy);
while(SPI_MASTER_0.runtime->rx_busy);
return( GetData[0] );
} // SPI_Read_Byte
I've tried with Interrupts & with Direct mode. Also with & without FIFOs.
On a XMC1300 boot card. I've just ordered 10 engineering prototypes of a custom board with XMC1302 Q024.
I need some support.
Thanks in advance. Show Less
XMC™
I want uart initilization without fifo when I go through data sheet we have make FIFO Rx and Tx size zero and after that I am enabling Receive Int...
Show More
I want uart initilization without fifo when I go through data sheet we have make FIFO Rx and Tx size zero and after that I am enabling Receive Interrput Enable in CCR .RIEN
when I fire data from from Dock light the interrupt is not hitting. but when I use FIFO RBCTR.RIEN then the interrupt is hitting . which register can I modify to disable FIFO
and made Receive Interrupt avilable. Show Less
when I fire data from from Dock light the interrupt is not hitting. but when I use FIFO RBCTR.RIEN then the interrupt is hitting . which register can I modify to disable FIFO
and made Receive Interrupt avilable. Show Less
XMC™
Hi,I am using USBD_VCOM and I want to connect the events that are fired when the device is connected and disconnected ( EVENT_USB_Device_Connect and E...
Show More
Hi,
I am using USBD_VCOM and I want to connect the events that are fired when the device is connected and disconnected ( EVENT_USB_Device_Connect and EVENT_USB_Device_Disconnect. How can I do that?
Thanks,
Ahmed Show Less
I am using USBD_VCOM and I want to connect the events that are fired when the device is connected and disconnected ( EVENT_USB_Device_Connect and EVENT_USB_Device_Disconnect. How can I do that?
Thanks,
Ahmed Show Less
XMC™
Good day, allI am using USBD_VCOM to connect my xmc4500 relax kit lite to the pc and send data. I was wondernig how I could check if the device is con...
Show More
Good day, all
I am using USBD_VCOM to connect my xmc4500 relax kit lite to the pc and send data. I was wondernig how I could check if the device is connected or not. I have found a couple of 'state' variables but I don't know if which one holds connectivity state and how to access it.
Can someone help me?
Thanks, Ahmed Show Less
I am using USBD_VCOM to connect my xmc4500 relax kit lite to the pc and send data. I was wondernig how I could check if the device is connected or not. I have found a couple of 'state' variables but I don't know if which one holds connectivity state and how to access it.
Can someone help me?
Thanks, Ahmed Show Less
XMC™
Hello,actually we work on a Datalogger with the XMC4500 which uses CAN NODE APP and the FAT FS APP. The project was built on the first version of Dave...
Show More
Hello,
actually we work on a Datalogger with the XMC4500 which uses CAN NODE APP and the FAT FS APP. The project was built on the first version of Dave4. In this older version the FAT FS APP was not supported. So we Upgrade the project to V4.2.6.
There we get sometimes a strange error, when we click to "Generate Code" and after to "Build Active Project". I took a Screenshot of this behaviour.
Thank you for any answer!!! Show Less
actually we work on a Datalogger with the XMC4500 which uses CAN NODE APP and the FAT FS APP. The project was built on the first version of Dave4. In this older version the FAT FS APP was not supported. So we Upgrade the project to V4.2.6.
There we get sometimes a strange error, when we click to "Generate Code" and after to "Build Active Project". I took a Screenshot of this behaviour.
Thank you for any answer!!! Show Less
XMC™
Good day all,I am working on a project using DAVE3 and would like to create documentation for it and was wondering if DAVE offers some option to creat...
Show More
Good day all,
I am working on a project using DAVE3 and would like to create documentation for it and was wondering if DAVE offers some option to create documentation already.
Thanks,
Ahmed Show Less
I am working on a project using DAVE3 and would like to create documentation for it and was wondering if DAVE offers some option to create documentation already.
Thanks,
Ahmed Show Less