hello All
I'm going to use low power module, but I don't know how to configure it. Who can provide me an example?
low power module ( I want MPC5606BK enter STOP mode and then wake up from I/O )
thanks
Hi,
there are examples for low power mode in this application note:
http://www.nxp.com/files/32bit/doc/app_note/AN2865.pdf
http://www.nxp.com/webapp/sps/download/license.jsp?colCode=AN2865SW
You can also use this example:
https://community.nxp.com/docs/DOC-100206
It enters STOP mode and it wakes up on edge on WKUP pin. Just do not enable the CAN sampler.
Regards,
Lukas
HI,Lukas!
Thank you very much!
With the help of you, I can into the lower power stopped mode. According to the following code:
ME.STOP0.B.PDO = 1; /* Pad power sequence driver disabled, */
/* but state of the output is kept */
ME.STOP0.B.MVRON = 0; /* Main Voltage regulator is off */
ME.STOP0.B.DFLAON = 1; /*Data flash is in power-down mode */
ME.STOP0.B.CFLAON = 1; /* Code flash is in power-down mode */
ME.STOP0.B.FMPLLON = 0; /* FMPLL off (default status during STOP) */
ME.STOP0.B.FIRCON = 0; /* Fast internal RC oscillator off */
ME.STOP0.B.FXOSC0ON = 0;/* Fast external crystal oscillator off */
ME.STOP0.B.SYSCLK = 0x0f; /* System clock is disabled */
ME.STOP0.B.PDO = 1; /* Pad power sequence driver disabled, */
ME.MCTL.R = 0xA0005AF0; /* Enter STOP Mode & Key */
ME.MCTL.R = 0xA000A50F; /* Enter STOP Mode & Inverted Key */
if ME.STOP0.B.SYSCLK = 0x0f; the low power current is 2.96ma , but I cannot wake up MCU by wakeup[4]
if ME.STOP0.B.SYSCLK = 0x02(or 0x02); the low power current is 16ma , and I can wake up MCU by wakeup[4]
Now, I need the low power current <5ma.How can I to Configure the above code section.