MIMXRT1061CVL5B: recovery from power-down

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

MIMXRT1061CVL5B: recovery from power-down

Jump to solution
1,268 Views
Lukaz
Contributor III

Hello,
I am using the MIMXRT1061CVL5B MCU and I have stumbled upon a problem, in some cases after a power-down and then power-up, the micro-controller doesn't start. After some investigation, I found out that in this case where the controller doesn't start it is always the case that in power-up the power supply doesn't have a sharp rising time (it takes approx. 20 ms till it reaches the 5 V) and the oscillator doesn't oscillate even after the power supply reaches the 5 V the oscillator still doesn't start, the oscillator only starts when there is a sharp rising time in the power supply. Here you can find the schematic regarding the oscillator in my project.

Lukaz_0-1672754249605.png

 

Is there anything you can point out that could be causing the problem?

Thanks in advance.

0 Kudos
Reply
1 Solution
1,192 Views
Lukaz
Contributor III

Hi Diego,
thank you for your reply, we have actually solved the problem but I figured I explain what was the problem exactly in case it happens to someone else.

As you can see in the picture below, we have added the R-C circuit to implement the 1 ms delay between the DCDC_IN and the PSWITCH, the problem was, with the ramp power-on the capacitor was charging before the DCDC_IN signal comes to a stable HIGH and by the time it gets there the 1 ms delay in no longer correct (in this case it is less), we have an external reset monitoring circuit and we have connected the PSWITCH to the REST so that in case of performing a reset the capacitor would discharge, we have also increased the tau(RC) value as a back-up solution to make the charging go slower and therefore even if the power-on signal is not sharp enough the capacitor would not be charged to the fullest before the DCDC_IN signal stabilizes at HIGH. We have tested both solutions and they work perfectly.

Best regards.

 

Lukaz_0-1674214046782.png

 

View solution in original post

0 Kudos
Reply
5 Replies
1,252 Views
Lukaz
Contributor III

Hello Diego,
thank you for your reply, sorry I have uploaded the wrong screenshot, I have already taken this recommendation into consideration and changed it a long time ago. You can see it below.

Lukaz_0-1672821043935.png

 

The problem is not that the oscillator takes a longer time to start, but rather that it doesn't start at all.

Thank you in advance.

1,248 Views
Lukaz
Contributor III

More info:
- After a power-down and a ramp power-up (not sharp), the controller doesn't start, the crystal doesn't oscillate and a hardware reset doesn't restart the controller.

- I have controlled the VDD_SOC_IN signals which are connected to DCDC_SENSE (see image), when the controller is running it is 1.25V, and in this specific situation, it is totally 0V. This 0V value is the corresponding value to the SNVS mode.

Lukaz_0-1672828762042.png

 

1,213 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @Lukaz 

We need to make sure that your design complies with the power-up , and power down sequence. 

diego_charles_0-1673914811485.png

For example , here is an snapshot that I took the other day, from our RT1060 EVK. The first three signals from the above diagram are captured. 

diego_charles_2-1673914857422.png

 Do you have capture  of the supply rail that rises sharply sometimes, against others?

Do you implement an external reset monitoring circuit? 

Many thanks for your patience,

Diego

 

0 Kudos
Reply
1,193 Views
Lukaz
Contributor III

Hi Diego,
thank you for your reply, we have actually solved the problem but I figured I explain what was the problem exactly in case it happens to someone else.

As you can see in the picture below, we have added the R-C circuit to implement the 1 ms delay between the DCDC_IN and the PSWITCH, the problem was, with the ramp power-on the capacitor was charging before the DCDC_IN signal comes to a stable HIGH and by the time it gets there the 1 ms delay in no longer correct (in this case it is less), we have an external reset monitoring circuit and we have connected the PSWITCH to the REST so that in case of performing a reset the capacitor would discharge, we have also increased the tau(RC) value as a back-up solution to make the charging go slower and therefore even if the power-on signal is not sharp enough the capacitor would not be charged to the fullest before the DCDC_IN signal stabilizes at HIGH. We have tested both solutions and they work perfectly.

Best regards.

 

Lukaz_0-1674214046782.png

 

0 Kudos
Reply
1,259 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @Lukaz 

I think that the long oscillator startup time issue  is covered in this application note: Crystal Oscillator
Troubleshooting Guide, insterestingly, as you described!

diego_charles_0-1672789611846.png

Also, we have recommendations for the oscillator in our MIMXRT105060HDUG. See the below snapshot.

diego_charles_1-1672789732511.png

It may be only that you add the resistor for startup

Let me know if you are still having issues. Also, take a look at  more HW recommendations from our design guide.

All the best, 

Diego

 

 

0 Kudos
Reply