LPC deep sleep mode

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

LPC deep sleep mode

658 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CroesJeroen on Mon Apr 01 05:52:48 MST 2013
Hello guys,

I wanted to know if the LPC1227 has its PWM module (coming from timer) activated in deep sleep mode?

This quote comes from the LPC1227 data sheet (page 44).

Quote:

Deep-sleep mode
In Deep-sleep mode, the system clock to the processor is disabled as in Sleep mode. All analog blocks are powered down, except for the BOD circuit and the watchdog oscillator,which must be selected or deselected during Deep-sleep mode in the PDSLEEPCFG register. The RTC and the RTC oscillator are operating in Deep-sleep mode unless the RTC is powered down.

Deep-sleep mode eliminates all power used by the flash, analog peripherals and all dynamic power used by the processor itself, memory systems and their related controllers, and internal buses. The processor state and registers, peripheral registers, and internal SRAM values are maintained, and the logic levels of the pins remain static.



The problem is that I can't really sort out of the peripheral is active or not because it's not a analog peripheral.

kind regards
0 Kudos
6 Replies

438 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CroesJeroen on Thu Apr 11 06:04:48 MST 2013

Quote: tha
According to the datasheet, the IRC is typically 0.29mA and the WDosc is 0.25mA, so there is a difference in the current consumption.  So this should translate to a different power consumption.



Hello tha, you're right.

But a current consumption of 500 µA is obtained using the WDT oscillator setup and 1.8mA when using the IRC oscillator. (both normal sleep mode)

Lot of difference. Are there peripherals that use the main clock instead of the system clock?

kind regards
0 Kudos

438 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tha on Wed Apr 10 15:37:30 MST 2013
According to the datasheet, the IRC is typically 0.29mA and the WDosc is 0.25mA, so there is a difference in the current consumption.  So this should translate to a different power consumption.
0 Kudos

438 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CroesJeroen on Wed Apr 10 13:43:59 MST 2013
bump
0 Kudos

438 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CroesJeroen on Fri Apr 05 13:27:15 MST 2013
Someone happened to know why the power consumption isnt the same in the next 2 cases :

main clock = IRC (12MHz), system clock = 500kHz;
main clock = WDT osc (2MHz), system clock = 500kHz.

The main clock goes to the UART0 and 1 who are disabled. The system clock is just a divided main clock.

kind regards
0 Kudos

438 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CroesJeroen on Fri Apr 05 13:22:46 MST 2013

Quote: sallys21
I've been messing around with Power down mode as well, but with the LPC11u14. I believe if  you select the wdt osc for the main clock, you can still have the timer peripheral running. I'm not 100% sure on the answer, but it's worth trying.



Hello,

Yep using the WDT osc as main Clk when sleeping. The timers are still running  but there are only external interrupt wake up causes (and RTC).
0 Kudos

438 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sallys21 on Mon Apr 01 14:19:17 MST 2013
I've been messing around with Power down mode as well, but with the LPC11u14. I believe if  you select the wdt osc for the main clock, you can still have the timer peripheral running. I'm not 100% sure on the answer, but it's worth trying.
0 Kudos