21.07.2013 Views

Introduction to Microcontrollers Lab Manual - Microchip

Introduction to Microcontrollers Lab Manual - Microchip

Introduction to Microcontrollers Lab Manual - Microchip

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

LABS<br />

TABLE 9-1: MICROCHIP PIC ® MCU OPERATING MODE OVERVIEW<br />

Operating<br />

Mode<br />

Active<br />

Clocks<br />

Deep Sleep (1) • Timer1/SOSC<br />

• INTRC/LPRC<br />

Sleep • Timer1/SOSC<br />

• INTRC/LPRC<br />

• A/D RC<br />

Idle • Timer1/SOSC<br />

• INTRC/LPRC<br />

• A/D RC<br />

Doze (2)<br />

Active<br />

Peripherals<br />

• RTCC<br />

• DSWDT<br />

• DSBOR<br />

• INT0<br />

• RTCC<br />

• WDT<br />

• ADC<br />

• Compara<strong>to</strong>rs<br />

• CVREF<br />

• INTx<br />

• Timer1<br />

• HLVD<br />

• BOR<br />

Wake-up<br />

Sources<br />

• RTCC<br />

• DSWDT<br />

• DSBOR<br />

• INT0<br />

• MCLR<br />

All device<br />

wake-up sources<br />

(see device data<br />

sheet)<br />

All Peripherals All device<br />

wake-up sources<br />

(see device data<br />

sheet)<br />

All Clocks All Peripherals Software or<br />

interrupt wake-up<br />

9.2.6 Reducing Power – Go <strong>to</strong> Sleep<br />

Typical<br />

Current<br />

Typical Usage<br />

< 50 nA • Long life, battery-based<br />

applications<br />

• Applications with<br />

increased Sleep times<br />

50-100 nA Most low-power applications<br />

25% of<br />

Run Current<br />

35-75% of<br />

Run Current<br />

Run All Clocks All Peripherals N/A See device<br />

data sheet<br />

Note 1: Available on PIC18 and PIC24 devices with nanoWatt XLP Technology only.<br />

2: Available on PIC24, dsPIC ® DSC and PIC32 devices only.<br />

Any time the device is waiting<br />

for an event <strong>to</strong> occur<br />

(e.g., external or peripheral<br />

interrupts)<br />

Applications with high-speed<br />

peripherals, but requiring<br />

low CPU use<br />

Normal operation<br />

For many embedded systems, most of their operating life is spent waiting for a human<br />

<strong>to</strong> interact with the system (press a but<strong>to</strong>n for instance). Until this interaction is detected<br />

there is very little for the system <strong>to</strong> do. These are prime opportunities <strong>to</strong> go in<strong>to</strong> the<br />

Sleep operating mode (i.e., turn off the main clock).<br />

Table 9-1 lists INT0 as a possible wake-up source. This means that the system can go<br />

in<strong>to</strong> the Deep Sleep Mode (lowest power consumption possible) and still moni<strong>to</strong>r the<br />

INT0 input. If the system can be designed such that the human interaction triggers this<br />

interrupt, then the system will consume the least amount of dynamic power.<br />

DS51963A-page 66 2011 <strong>Microchip</strong> Technology Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!