STM32H7 hardfault from random point in code
Hi all.
I develop controller for PMSM motor and got a problem as below:
Some time MCU jump to hardfault handler. In debug, I see that it cause from random point (different from time to time), some time it cause from very basic function (such as sinf(), cosf(), delay..), as below


disassembly at <signal handler called>() at 0xffffffe9 as below:
"ffffffe9: Failed to execute MI command:
-data-disassemble -s 4294967273 -e 4294967413 -- 3
Error message from debugger back end:
Cannot access memory at address 0xffffffe8"
I also think it may cause from hardware because inverter may generate lot of noise. But whenmeasure noise in power, clock of MCU, it is clean: as below


When hardfault about to occur, the debug connection on cube monitor corrupt many time
So, where I can check for this issue?
Thanks
