About the MCG Mode after waking up from VLLS0 - KL02

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

About the MCG Mode after waking up from VLLS0 - KL02

514 Views
paulliu
Contributor I

Hello,

For KL02, I have a question about the MCG mode after waking up from the VLLS0 mode.

After POR, I set the MCG mode from FEI-->FBI-->BLPI, and then set the system mode from RUN to VLPR. After some application code, I then set the system mode from VLPR to VLLS0, and the waking up soure is /NMI pin.

From the reference manual, the low level of /NMI pin will wake up KL02 from VLLS0, and it will go through the RESET flow, but the /NMI pin is not the same with /RESET pin, the RESET caused by /NMI pin will not reset MCU registers, just force the PC to RESET Vector address ox00000000.

I have a question, after /NMI pin waked up VLLS0 and run, it should be in RUN mode(system mode) now, whether the MCG mode is still BLPI (the MCG mode before enter VLLS0) ? or FEI (the default MCG mode when POR or /RESET pin wake up)? 

Labels (1)
0 Kudos
1 Reply

305 Views
Paul_Tian
NXP Employee
NXP Employee

Hi, Paul

KL02 should re-run reset process when MCU wake up from VLLS0. This means that MCG will be FEI mode. Even MCU wakeup resource is NMI.

Hope my reply can help you.

Best Regards

Paul

0 Kudos