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 )
there are examples for low power mode in this application note:
You can also use this example:
It enters STOP mode and it wakes up on edge on WKUP pin. Just do not enable the CAN sampler.
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
if ME.STOP0.B.SYSCLK = 0x02（or 0x02）; the low power current is 16ma , and I can wake up MCU by wakeup
Now, I need the low power current <5ma.How can I to Configure the above code section.
Retrieving data ...