AT32UC3L064_1 ATMEL [ATMEL Corporation], AT32UC3L064_1 Datasheet - Page 159

no-image

AT32UC3L064_1

Manufacturer Part Number
AT32UC3L064_1
Description
AVR32 32-bit Microcontroller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
13.6.4.2
32099A–AVR32–06/09
Entering Shutdown sleep mode
The table gives the possible usage of the I/O lines that stay powered during the Shutdown sleep
mode. If no special function are used, then the I/O lines will keep its settings before entering the
sleep mode
Table 13-3.
Before entering the Shutdown sleep mode, a few actions are required:
Note: the unlocking of SCIF registers is not shown in the example above.
As soon as the Shutdown sleep mode is entered, all CPU and peripherals are reset to ensure a
consistent state.
Pin
PA11
PA13
PA20
PA21
PB04
PB05
PB10
RESET_N
// Turn on RC32 oscillator (if not already on)
Set bit ‘en’ in SCIF.RC32CR register to 1
// Disable POR33
Set bit ‘por33en’ in SCIF.VREGCR register to 0
Wait for bit ‘por33en’ is read as 0
// Mask POR33
Set bit ‘por33mask’ in SCIF.VREGCR register to 1
Wait for bit ‘por33mask’ is read as 1
// Turn off RC32 oscillator - save some power
Set bit ‘en’ in SCIF.RC32CR register to 0
// Go to sleep
sleep AVR32_PM_SMODE_SHUTDOWN
– All modules should normally be disabled before entering Shutdown sleep mode (see
– The POR33 (see System Control Interface “SCIF” chapter) must be disabled to save
Section
power and masked to avoid any spurious reset when the power is back. The
following pseudo-code shows how to performs this operation:
I/O Lines Usage During Shutdown Mode
13.6.3.4)
Possible Usage During Shutdown Sleep Mode
WAKE_N signal (active low wake-up)
XIN32_2 (2nd 32KHz crystal oscillator)
XOUT32_2
Reset pin
AT32UC3L
159

Related parts for AT32UC3L064_1