XMC™ Forum Discussions
Dear Sir
I would like to confirm the configuration of XMC's High Precision Oscillator Circuit (OSC_HP).
Is it allowed to use XTAL2 as GPIO in direct clock input mode?
Or should XTAL2 always be open?
Show LessHey Guys,
I hope you have a nice Time!
I'm a complete beginner with EtherCAT and don't have much experience with microcontrollers.
I have a Question: I have downloaded XMC4800_Relax_EtherCat_APP_Slave_SSC Example Code and am reading and doing ''the Getting started guide'' step by step related to this example project. Now i am in page 22. After building the Project of ''XMC4800_Relax_EtherCat_APP_Slave_SSC Example Code'' i've got the Warnings as below
It is really nice if someone explain me what are these Warnings of Overflows and how should i solve them. The others are clear. i just want to know about the Overflows.
Best regards!
Show LessHello,
I'm a complete beginner with EtherCAT and don't have much experience with microcontrollers.
I have a question from you Guys: I have downloaded XMC4800_Relax_EtherCat_APP_Slave_SSC Example Code and am reading and doing ''the Getting started guide'' step by step related to this example project. On page 22 I saw “TwinCAT SYSTEM MANAGER” for the first time. Please enlighten me on what this could be and where I can find it. It is also not contained in the TwinCAT folder.
I have installed TwinCAT 3 but i can not find this TwinCAT SYSTEM MANAGER.
best regards,
Alireza
Show LessHello,
I am using XMC4500 processor.
I have a program that running and every few hours/days it gets stuck (continues to work only after reset)
I added hard fault debugging support when I get stuck I enter this function.
I want to save in FLASH values like stacked_pc stacked_lr that will help me find the problem later, but not get stuck but continue running the program from the next line after the line that caused the error.
Is it possible?
Thanks Yehudit
Show Lesshi,
Technical reference manual of xmc 7200 mentions connecting CLK_Inv signal to SCK#, but no pin on XMC7200 is assigned CLK_INV as per datasheet. kindly explain.
regards
Show LessHi,
We need to prevent ECAT Slave controller peripheral from resetting when we must soft-reset XMC4800 processor.
How could we achieve this?
any help would be great. thank you,
Show Less
How to add assembly file to C project in DAVE IDE. Copied the .s file to project but compiler did not compile .s file.
We are using an XMC processor to receive a variable packet size over CAN bus (it's using CANOpen, object ID 0x1F50, for receiving new firmware). As a result of the packet size being variable, we use the malloc function to allocate a variable size array when we receive the packet:
--> Receive packet over CANOpen(object ID is 0x1F50)
--> Get packet size (".length") from meta data of packet
--> use malloc() to create an array "dataBuffer" that is the same size as ".length"
--> Use memcpy to copy packet contents from received packet to "dataBuffer"
--> Repeat
The above usually works, but sometimes, the malloc() funciton fails to allocate memory (I understand that malloc() is not guaranteed to work).
--> What is a good strategy to employ when malloc() fails to allocate memory?
Show Less
Using the DAVE debugger with an XMC4400. When I'm downloading new firmware packets for a bootloader, I eventually get to this screen (see attached screenshot) - pausing the debugger takes me to "startup_XMC4402.S".
I believe this is the exception handler, but I'm not sure what is causing this exception.
1. How can I figure out what exception is triggering this?
2. Is there a way to see the most previous code execution before we got to this exception handler?
Show LessVideo streaming apps have become new revenue streams. If you want to be part of this new wagon, get the latest insights and tips from our video streaming app development guide.
Show Less