XMC™ Forum Discussions
XMC™
Description:Recently,i have use Infineon's XMC4500 MCU to achieve Ethernet communication between thinkpad and self-designed board. Well, everythin...
Show More
Description:Recently,i have use Infineon's XMC4500 MCU to achieve Ethernet communication between thinkpad and self-designed board. Well, everything runs smoothly until my board suddenly power off (110V, 4A) .
Confused but cuorious, i tried many way to failgure it out but in vain, like set the highest priority and change thread number and stack size etc.
It just don't work, i can't ping through netwire when my board power up again !!!
Firstly, if i power up from the new download code, which can ping through netwire, the Ethernet can't ping through unless i give a Reset signal Physically.
Secondelly, when i used Ethernet without RTOS enabled, it just work well,and the connection is rebuild when i suddenly power off and then power up.
However, if i enabled RTOS, things goes wrong, i have encounter a bug during this process!!!
Apparently, Reset processes is included in power up processes (all reset the core domain), and for power up processes there is PAD domain and Debug&Trace System Reset.
It seems that the Ethernet part failed to connect with my board never until i pull down the reset button or give a reset singnal.
How can i initialize my program with a software RESET? And will it work?
I really don't know what is wrong during these processes, for me ,the core code is hard to analysis and i'm lack of tool to find out the problems.
Hopefully, there is any one who can help me to figure out what's going on there.
Environment:WIN10 ,DAVE4.3.2 ,XMC4500 CPU
Software configuration: Showing in the picture
Related project attached. Show Less
Confused but cuorious, i tried many way to failgure it out but in vain, like set the highest priority and change thread number and stack size etc.
It just don't work, i can't ping through netwire when my board power up again !!!
Firstly, if i power up from the new download code, which can ping through netwire, the Ethernet can't ping through unless i give a Reset signal Physically.
Secondelly, when i used Ethernet without RTOS enabled, it just work well,and the connection is rebuild when i suddenly power off and then power up.
However, if i enabled RTOS, things goes wrong, i have encounter a bug during this process!!!
Apparently, Reset processes is included in power up processes (all reset the core domain), and for power up processes there is PAD domain and Debug&Trace System Reset.
It seems that the Ethernet part failed to connect with my board never until i pull down the reset button or give a reset singnal.
How can i initialize my program with a software RESET? And will it work?
I really don't know what is wrong during these processes, for me ,the core code is hard to analysis and i'm lack of tool to find out the problems.
Hopefully, there is any one who can help me to figure out what's going on there.
Environment:WIN10 ,DAVE4.3.2 ,XMC4500 CPU
Software configuration: Showing in the picture
Related project attached. Show Less
XMC™
Hello guys, I have a µC XMC4700 on the XMC4700 Relax Kit. It seems like the error RTC_CM.001, whereby the RTC event might get lost every 15 s, is stil...
Show More
Hello guys,
I have a µC XMC4700 on the XMC4700 Relax Kit. It seems like the error RTC_CM.001, whereby the RTC event might get lost every 15 s, is still available on XMC4700 family product. According to Errata document (Document id: 03930AERRA), it shall have been fixed.
I just configure so that 1Hz interrupt event is generated by the RTC. A timer based CCU4 is used to measure the time duration between 2 interrupt event. In particular, the time tic is got in every call of SCU_0_IRQHandler. and afterwards the time duration to the last event is calculated.
The error is not always reproducible, but I can see it is still there. Moreover, it is also noticed that the accuracy of 1Hz event also fluctuates, whereby the time duration between two events takes 999707 µs for 6 or 7 measurements (6 or 7 seconds) and once it takes 1001538 µs.
Does anyone has the same problem or might have an idea?
Best regards,
SteveP
Attached I added the table containing the time duration between 1Hz events. Show Less
I have a µC XMC4700 on the XMC4700 Relax Kit. It seems like the error RTC_CM.001, whereby the RTC event might get lost every 15 s, is still available on XMC4700 family product. According to Errata document (Document id: 03930AERRA), it shall have been fixed.
I just configure so that 1Hz interrupt event is generated by the RTC. A timer based CCU4 is used to measure the time duration between 2 interrupt event. In particular, the time tic is got in every call of SCU_0_IRQHandler. and afterwards the time duration to the last event is calculated.
The error is not always reproducible, but I can see it is still there. Moreover, it is also noticed that the accuracy of 1Hz event also fluctuates, whereby the time duration between two events takes 999707 µs for 6 or 7 measurements (6 or 7 seconds) and once it takes 1001538 µs.
Does anyone has the same problem or might have an idea?
Best regards,
SteveP
Attached I added the table containing the time duration between 1Hz events. Show Less
XMC™
For some reason the XMC_CCU8_Init() library function only allow the Multi Channel shadow transfer bits to be set in the GCTRL register. There is no li...
Show More
For some reason the XMC_CCU8_Init() library function only allow the Multi Channel shadow transfer bits to be set in the GCTRL register. There is no library function to configure the suspend mode bits.
Is there a reason for this? Or is the library just incomplete? Show Less
Is there a reason for this? Or is the library just incomplete? Show Less
XMC™
Hello everybody,I am trying to implement the control for an 64 Mbit ISSI IS42S16400J on an XMC4700 (XMC4700-F144x2048). The mapping/routing of the SDR...
Show More
Hello everybody,
I am trying to implement the control for an 64 Mbit ISSI IS42S16400J on an XMC4700 (XMC4700-F144x2048). The mapping/routing of the SDRAM is done according to the mapping of the KIT_XMC45_EE2_001 SDRAM Hexagon-Board. In final application the SDRAM should be used as buffer between ADC (two channels) and SPI (both via DMA).
If I use the example code from the XMC_Lib, reading/writing test fails. Using the debugger memory seems to remain uninitializes (all zeros), although changes can be seen via memory monitor.
Does anybody have some hints where to start debugging - rather hardware or software issue - or is the example code not suitable for XMC4700?
Can anybody provide a working solution with SDRAM?
Is it true that the EBU clock needs to be limited to 120 MHz for use with SDRAM?
kind regards
Thomas Show Less
I am trying to implement the control for an 64 Mbit ISSI IS42S16400J on an XMC4700 (XMC4700-F144x2048). The mapping/routing of the SDRAM is done according to the mapping of the KIT_XMC45_EE2_001 SDRAM Hexagon-Board. In final application the SDRAM should be used as buffer between ADC (two channels) and SPI (both via DMA).
If I use the example code from the XMC_Lib, reading/writing test fails. Using the debugger memory seems to remain uninitializes (all zeros), although changes can be seen via memory monitor.
Does anybody have some hints where to start debugging - rather hardware or software issue - or is the example code not suitable for XMC4700?
Can anybody provide a working solution with SDRAM?
Is it true that the EBU clock needs to be limited to 120 MHz for use with SDRAM?
kind regards
Thomas Show Less
XMC™
Hi
please i need help with initialization GPIO and CCU8 without DAVE Apps. do you have same tutorials how to do it?
thanks you
please i need help with initialization GPIO and CCU8 without DAVE Apps. do you have same tutorials how to do it?
thanks you
XMC™
hello,I am trying to run the XMC1400_IIC_Master example. I have a 2kOhms pull-up resitance on SCL and SDA.The problem I have is that the SCL stay at V...
Show More
hello,
I am trying to run the XMC1400_IIC_Master example. I have a 2kOhms pull-up resitance on SCL and SDA.
The problem I have is that the SCL stay at Vdd and SDA shortly goes to GND and it never stops.
In debug it stay stick to the "while (XMC_USIC_CH_GetTransmitBufferStatus(channel) == XMC_USIC_CH_TBUF_STATUS_BUSY)" line in the" void XMC_I2C_CH_MasterStart" function in xmc_i2c.c
I was able to run the BlinkyLed_MCAN and XMC1400_SPI_Loopback before without problems.
I attach file a screenshot of the osciloscope of P3.0 (SCL blue) and P3.1 (SDA red)
is there anything to do in addition to make this example working?
thank you and best regards
Show Less
I am trying to run the XMC1400_IIC_Master example. I have a 2kOhms pull-up resitance on SCL and SDA.
The problem I have is that the SCL stay at Vdd and SDA shortly goes to GND and it never stops.
In debug it stay stick to the "while (XMC_USIC_CH_GetTransmitBufferStatus(channel) == XMC_USIC_CH_TBUF_STATUS_BUSY)" line in the" void XMC_I2C_CH_MasterStart" function in xmc_i2c.c
I was able to run the BlinkyLed_MCAN and XMC1400_SPI_Loopback before without problems.
I attach file a screenshot of the osciloscope of P3.0 (SCL blue) and P3.1 (SDA red)
is there anything to do in addition to make this example working?
thank you and best regards
Show Less
XMC™
Hello,is it possible to exclude an app from DAVE_INIT() ?I want to initialize a certain app at a certain point in the program.Since content of DAVE_IN...
Show More
Hello,
is it possible to exclude an app from DAVE_INIT() ?
I want to initialize a certain app at a certain point in the program.
Since content of DAVE_INIT() will be overwritten with every code-generation, deleting (cutting) this certain "app-init" does not work.
hopefully someone knows a workaround for this...or can tell me where to efficiently delete the "app-init".
cheers dave
DAVE 4, XMC1100/4500 Show Less
is it possible to exclude an app from DAVE_INIT() ?
I want to initialize a certain app at a certain point in the program.
Since content of DAVE_INIT() will be overwritten with every code-generation, deleting (cutting) this certain "app-init" does not work.
hopefully someone knows a workaround for this...or can tell me where to efficiently delete the "app-init".
cheers dave
DAVE 4, XMC1100/4500 Show Less
XMC™
I can't tell in the manual how to handle the data from the external mux configuration. What I want to do is to have the external mux inputs stored in...
Show More
I can't tell in the manual how to handle the data from the external mux configuration.
What I want to do is to have the external mux inputs stored in separate RES result registers without using interrupts or DMA.
I'd like to just be able to have my background task read the RES registers when it want to get the converted data.
I've tried setting up an 8 deep FIFO and creating a queue with 8 entries of the mux output, then reading the intermediate FIFO stages.
That seems to work except that the data is inconsistent - it may be that the fifo is still running when I'm reading the intermediate RES registers?
any ideas on the best way to solve this?
thanks
Show Less
What I want to do is to have the external mux inputs stored in separate RES
I'd like to just be able to have my background task read the RES
I've tried setting up an 8 deep FIFO and creating a queue with 8 entries of the mux output, then reading the intermediate FIFO stages.
That seems to work except that the data is inconsistent - it may be that the fifo is still running when I'm reading the intermediate RES
any ideas on the best way to solve this?
thanks
XMC™
Hi,im using Dave 3 and want to start two PWM002 at the same timewith PWMSP002_Start(&PWMSP002_Handle0) and PWMSP002_Start(&PWMSP002_Handle1) i got...
Show More
Hi,
im using Dave 3 and want to start two PWM002 at the same time
with PWMSP002_Start(&PWMSP002_Handle0) and PWMSP002_Start(&PWMSP002_Handle1) i got 4 PWM with two inverted signals which was my goal!
but i noticed that the two inverted and the not inverted signals do not start at the same time, but they are 50% phase shifted, which i don't understand, is there somthing to do to get a synchronised start?
Fethi Show Less
im using Dave 3 and want to start two PWM002 at the same time
with PWMSP002_Start(&PWMSP002_Handle0) and PWMSP002_Start(&PWMSP002_Handle1) i got 4 PWM with two inverted signals which was my goal!
but i noticed that the two inverted and the not inverted signals do not start at the same time, but they are 50% phase shifted, which i don't understand, is there somthing to do to get a synchronised start?
Fethi Show Less
XMC™
Hi at all,I created a simple TCP/IP project with RTOS (CMSIS) on my XMC4500 Relax Kit.Now I like to show the Tasks and the Info about the Tasks with t...
Show More
Hi at all,
I created a simple TCP/IP project with RTOS (CMSIS) on my XMC4500 Relax Kit.
Now I like to show the Tasks and the Info about the Tasks with the Micrium.
Which of the OS monitors should I choose and can anyone explain more specific differences?
Basically, I want to get the following from my operating system:
Does anyone have a description of how I can use that, because unfortunately I find nothing accurate on the Internet.
Regards,
Knecht Patrick Show Less
I created a simple TCP/IP project with RTOS (CMSIS) on my XMC4500 Relax Kit.
Now I like to show the Tasks and the Info about the Tasks with the Micrium.
Which of the OS monitors should I choose and can anyone explain more specific differences?
Basically, I want to get the following from my operating system:
Does anyone have a description of how I can use that, because unfortunately I find nothing accurate on the Internet.
Regards,
Knecht Patrick Show Less