Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

XMC™ Forum Discussions

User18369
Level 2
Level 2
Hello,

I´m working with an XMC4300. Sometimes I have the problem that the uC end in a Hard Fault.
I have no clue what to do. I enabled Hard Fault debugging support in the CPU_CTRL_XMC4_0

My application : Using SPI to control a external Motor Controll Unit.

How can I find the cause of the Hard_Fault ?
0 Likes
1 Reply
jferreira
Employee
Employee
First like received 750 replies posted 500 replies posted
Hi,

Have a look at the ARM Keil APP note on Using Cortex-M3/M4/M7 Fault Exceptions, http://www.keil.com/appnotes/docs/apnt_209.asp

Regards,
Jesus
0 Likes