AnsweredAssumed Answered

S9KEA UART

Question asked by ryan shi on Jan 7, 2019
Latest reply on Jan 8, 2019 by Kerry Zhou

I am using S9KEAZN64ACLH in E-bicycle, and now facing a uart issue. Please help to check, urgent. thanks!

I use both UART0 and UART1, and go to Stop(Deepsleep) mode.

1. They disable the UART0 then go to __WFI(), when wake the mcu via UAR1 interrupt, it will go to Hardfault interrupt. 2. If they donot disable the UART0, and wake the mcu via UAR1 interrupt, it will wake normally.

The simply code and schematic are as attachment, can you help to debug what is the reason of the hardfault? thanks!

And the IDE is KEIL.

Outcomes