which event can cause lockup reset on s32k144 platform

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

which event can cause lockup reset on s32k144 platform

1,458 Views
小明李
Contributor I

when I debug on my specified s32k144 board,I found the board cannot start up normally,and the reset pin is driven low periodically.so I entered the debug mode and found the lockup reset is triggered.In addition,the frame error is always occured in lpuart at first,the status register is show below

123.jpg

I wonder which events can cause a lockup reset,anyone can tell me?

Thanks!

0 Kudos
Reply
3 Replies

1,453 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Please refer to Cortex -M4 Devices Generic User Guide

https://developer.arm.com/documentation/dui0553/latest/

"The processor enters a lockup state if a fault occurs when executing the NMI or HardFault handlers."

So it could be because a fault exception is detected but the fault execption handler is not implemented.

Do you have HardFault handler in the source code?

 

Thanks,

BR, Daniel

0 Kudos
Reply

1,443 Views
小明李
Contributor I

Thanks your reply!

Hardfault handler and NMI handler is set as DefaultISR which had been implemented by MCU vendor.In addition,I found that everything works well if I insert a delay after the lpuart initialization.can you please explain why cause such this condition?

小明李_0-1610511532140.png

 

Tags (1)
0 Kudos
Reply

1,433 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Which SDK / S32DS version do you use?

What is mask of the MCU? 0N77P, 0N47T, 0N57U.

It is printed on the package.

Can you share the project?

 

 

Thanks,

BR, Daniel

0 Kudos
Reply