XMC™ Forum Discussions
Sort by:
XMC™
The ARM Cortex-M4 Reference Manual states in section 2.3.1 Bus Interfaces:ARM strongly recommends that any external arbitration between the ICode and ...
Show More
The ARM Cortex-M4 Reference Manual states in section 2.3.1 Bus Interfaces:
Unfortunately, I could not find anything in the XMC4500 Reference Manual, which addresses this statement. The closest I could find was the priority table Table 3-1 in section 3.2 Bus Matrix, which states that request from the CPU will be prioritized over request from other masters, but does not differentiate between CPU requests via ICode and DCode interface.
So my question is: Does the XMC4500 follow the recommendation? If a request form the ICode bus interface and the DCode bus interface arrive at the Prefetch Unit at the same time, will the DCode request be handled first?
If I simply overlooked something, while reading the manual, please point me to the correct spot.
Thank you for your answers.
Phillip Show Less
ARM strongly recommends that any external arbitration between the ICode and DCode AHB bus
interfaces ensures that DCode has a higher priority than ICode.
Unfortunately, I could not find anything in the XMC4500 Reference Manual, which addresses this statement. The closest I could find was the priority table Table 3-1 in section 3.2 Bus Matrix, which states that request from the CPU will be prioritized over request from other masters, but does not differentiate between CPU requests via ICode and DCode interface.
So my question is: Does the XMC4500 follow the recommendation? If a request form the ICode bus interface and the DCode bus interface arrive at the Prefetch Unit at the same time, will the DCode request be handled first?
If I simply overlooked something, while reading the manual, please point me to the correct spot.
Thank you for your answers.
Phillip Show Less
XMC™
Hello everyone,I've been trying to upload a firmware (using a XMC Link) to custom PCB which contains a XMC4500-F100, but I'm having some difficulties...
Show More
Hello everyone,
I've been trying to upload a firmware (using a XMC Link) to custom PCB which contains a XMC4500-F100, but I'm having some difficulties.
I'm using the following connection scheme:
J-Link 8 Pin XMC MCU -> XMC4500 F100 Pins
1 - CLK -> TMS/SWDIO (Pin 66)
2 - DATA -> TCK/SWCLK (Pin 67)
3 - 3V3 -> 3V3
4 - GND -> GND
I got the following error:

Here are the parameters that I've been using:

I checked with a voltmeter and there is no 3.3V between pins 3 and 4 of the J-Link 8 Pin connector. Is it normal or maybe my XMC Link is not working properly?
Windows can recognize it when I plug the USB.

Thanks in advance.
Best Regards,
Leonardo. Show Less
I've been trying to upload a firmware (using a XMC Link) to custom PCB which contains a XMC4500-F100, but I'm having some difficulties.
I'm using the following connection scheme:
J-Link 8 Pin XMC MCU -> XMC4500 F100 Pins
1 - CLK -> TMS/SWDIO (Pin 66)
2 - DATA -> TCK/SWCLK (Pin 67)
3 - 3V3 -> 3V3
4 - GND -> GND
I got the following error:
Here are the parameters that I've been using:
I checked with a voltmeter and there is no 3.3V between pins 3 and 4 of the J-Link 8 Pin connector. Is it normal or maybe my XMC Link is not working properly?
Windows can recognize it when I plug the USB.
Thanks in advance.
Best Regards,
Leonardo. Show Less
XMC™
Hello, I am using a XMC4400 microcontroller. I have an ADC that triggers an interrupt once the measured value is out of bounds, and a DMA line that co...
Show More
Hello,
I am using a XMC4400 microcontroller.
I have an ADC that triggers an interrupt once the measured value is out of bounds, and a DMA line that copies the
measurement result to SRAM. However, I would like to stop a timer slice as well without software intervention
and without an external pin. The user manual specifies that a timer can be stopped using an external event (pin toggle) or software, but I
don't have the time to do it in the DMA ISR - literally every microsecond counts so I must find a way to make the hardware stop the timer for me
once the ADC out of bounds event takes place and _before_ the ISR is resolved and invoked.
Is that possible? If so - how?
Thanks in advance,
Tamir Michael Show Less
I am using a XMC4400 microcontroller.
I have an ADC that triggers an interrupt once the measured value is out of bounds, and a DMA line that copies the
measurement result to SRAM. However, I would like to stop a timer slice as well without software intervention
and without an external pin. The user manual specifies that a timer can be stopped using an external event (pin toggle) or software, but I
don't have the time to do it in the DMA ISR - literally every microsecond counts so I must find a way to make the hardware stop the timer for me
once the ADC out of bounds event takes place and _before_ the ISR is resolved and invoked.
Is that possible? If so - how?
Thanks in advance,
Tamir Michael Show Less
XMC™
Hello.. I am using XMC4800 microcontroller. I want to generate an interrupt from FPGA to XMC which is a hardware interrupt. My question is, is it ok t...
Show More
Hello.. I am using XMC4800 microcontroller. I want to generate an interrupt from FPGA to XMC which is a hardware interrupt. My question is, is it ok to connect the interrupt to ERU0 unit of the microcontroller?
Show Less
XMC™
We have the Sense2Go_3.1 board. I am trying to replicate the S2GTWO_MD_SA_B01 Dave project, which doesn't open properly in Dave4. In the APP Dependenc...
Show More
We have the Sense2Go_3.1 board. I am trying to replicate the S2GTWO_MD_SA_B01 Dave project, which doesn't open properly in Dave4. In the APP Dependency visual view, none of the components are double-clickable.
I have mostly replicated the project now, but have noticed one difference between my setup and the S2GTWO_MD_SA_B01 original. In the generated code, there are the lines:
void DMA_CH_IFQ_reload(DMA_CH_t *obj)
{
XMC_DMA_CH_EnableEvent(obj->dma_global->dma, obj->ch_num, obj->config->events);
XMC_DMA_CH_SetEventHandler(obj->dma_global->dma, obj->ch_num, obj->config->callback);
XMC_DMA_CH_SetBlockSize(obj->dma_global->dma, obj->ch_num, 1024);
XMC_DMA_CH_SetSourceAddress(obj->dma_global->dma, obj->ch_num, (uint32_t)pDMA_src_IFQ);
XMC_DMA_CH_SetDestinationAddress(obj->dma_global->dma, obj->ch_num, (uint32_t)pDMA_dst_IFQ);
}
My code has the bottom three in place, but I don't see what is generating the top two lines. The rest of my DMA setup looks the same. When I run my app, the DMA isr is never triggered. I'm not sure how to proceed on this. Show Less
I have mostly replicated the project now, but have noticed one difference between my setup and the S2GTWO_MD_SA_B01 original. In the generated code, there are the lines:
void DMA_CH_IFQ_reload(DMA_CH_t *obj)
{
XMC_DMA_CH_EnableEvent(obj->dma_global->dma, obj->ch_num, obj->config->events);
XMC_DMA_CH_SetEventHandler(obj->dma_global->dma, obj->ch_num, obj->config->callback);
XMC_DMA_CH_SetBlockSize(obj->dma_global->dma, obj->ch_num, 1024);
XMC_DMA_CH_SetSourceAddress(obj->dma_global->dma, obj->ch_num, (uint32_t)pDMA_src_IFQ);
XMC_DMA_CH_SetDestinationAddress(obj->dma_global->dma, obj->ch_num, (uint32_t)pDMA_dst_IFQ);
}
My code has the bottom three in place, but I don't see what is generating the top two lines. The rest of my DMA setup looks the same. When I run my app, the DMA isr is never triggered. I'm not sure how to proceed on this. Show Less
XMC™
"shaper" is talked a lot about in the reference sheet and datasheet for the XMC1400. No where I have found is it explained what it actually is / does....
Show More
"shaper" is talked a lot about in the reference sheet and datasheet for the XMC1400. No where I have found is it explained what it actually is / does.
A little help please? A link to the documentation?
Thanks.
Show Less
A little help please? A link to the documentation?
Thanks.
XMC™
Hello all.. Can anybody tell me where do I get all application notes related to XMC4800 microcontrollers or XMC microcontroller? I mean I wanted some ...
Show More
Hello all.. Can anybody tell me where do I get all application notes related to XMC4800 microcontrollers or XMC microcontroller? I mean I wanted some information about microcontroller specific concepts like External Bus Unit (EBU), Interrupts, NVIC, USIC etc. Please somebody help me.
Thank You Show Less
Thank You Show Less
XMC™
Hello,I am trying to configure UART interrupt transmission for an XMC1302. The project works fine with the UART App 4.1.8, but when I tried to reprodu...
Show More
Hello,
I am trying to configure UART interrupt transmission for an XMC1302.
The project works fine with the UART App 4.1.8, but when I tried to reproduce it with the UART App 4.1.10, the receive interrupt function was never executed.
Is it possible to downgrade the installed DAVE apps to the older versions?
With kind regards,
Stefan Show Less
I am trying to configure UART interrupt transmission for an XMC1302.
The project works fine with the UART App 4.1.8, but when I tried to reproduce it with the UART App 4.1.10, the receive interrupt function was never executed.
Is it possible to downgrade the installed DAVE apps to the older versions?
With kind regards,
Stefan Show Less
XMC™
I'm having some trouble getting the switching of boot mode to work correctly. I used the JLink commander tool (version 6.30j) to change the boot mode ...
Show More
I'm having some trouble getting the switching of boot mode to work correctly. I used the JLink commander tool (version 6.30j) to change the boot mode on an XMC1400 BootKit from mode 2 to mode 0. I should then have been able to use either JLink commander or Memtool to switch the mode back to mode 2, but once this change has been made the device no longer responds.
I then connected a scope to the UART0C1 Tx and Rx lines, and I see Memtool sending data to the device, but the device does not respond. I also bricked another device using the BMI setting feature of DAVE. Is there some systemic bug in the SEGGER drivers or someplace else that corrupts the BMI value when it's written?
All of this worked okay about 4-5 months ago when I put this project away, but now that I've come back to it it's all broken.
Regards,
Josh Show Less
I then connected a scope to the UART0C1 Tx and Rx lines, and I see Memtool sending data to the device, but the device does not respond. I also bricked another device using the BMI setting feature of DAVE. Is there some systemic bug in the SEGGER drivers or someplace else that corrupts the BMI value when it's written?
All of this worked okay about 4-5 months ago when I put this project away, but now that I've come back to it it's all broken.
Regards,
Josh Show Less
XMC™
Is it possibile to implement a FTP-CLIENT in one of these kit(Relax-kit xmc4500/4700)?I have seen that there is a app to implement a FTP-SERVER, is it...
Show More
Is it possibile to implement a FTP-CLIENT in one of these kit(Relax-kit xmc4500/4700)?
I have seen that there is a app to implement a FTP-SERVER, is it the same?
Is it possibile use the methods presents in FTP-SERVER or modify it for implementing a ftp client?
Thanks for any kind of help Show Less
I have seen that there is a app to implement a FTP-SERVER, is it the same?
Is it possibile use the methods presents in FTP-SERVER or modify it for implementing a ftp client?
Thanks for any kind of help Show Less