LPC1830 Hang-up after Reset with RESET_CTRL0 register

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

LPC1830 Hang-up after Reset with RESET_CTRL0 register

780 Views
kensu
Contributor V

Hi

I reset LPC1830 with RESET_CTRL0 register, I use CORE_RST or MASTER_RST to reset.

pastedImage_1.png

But sometimes LPC1830 will hang up after Reset.

Before I reset LPC1830, I will reset another IC by I2C interface.

It's hard to debug why LPC1830 hang up after reset, but I did some experiment.

If I add some delay before LPC1830 SW reset. It will not hang up.

Or I use __DSB() before LPC1830 SW reset. I will not hang up.

It seems that LPC1830 is unstable before reset if I didn't call __DSB() or add some delay.

I search some forum "NVIC_SystemReset(void" is suggest method, but it will cause LPC1830 hang up.

Does the __DSB() be suggested function before SW reset?

Thanks

Ken

Labels (1)
Tags (3)
0 Kudos
1 Reply

472 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Ken Su,

Thank you for your interest in NXP Semiconductor products and 
for the opportunity to serve you.
I was wondering if you can introduce the testing process in details and the probability percent of hang-up after reset during the testing.
Whether you can share the demo code, as I want to replicate the phenomenon on my site.
I'm looking forward to your reply.

TIC

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos