AT83C5122_08 ATMEL [ATMEL Corporation], AT83C5122_08 Datasheet - Page 181

no-image

AT83C5122_08

Manufacturer Part Number
AT83C5122_08
Description
C51 Microcontroller with USB and Smart Card Reader Interfaces
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Smart Card Interface
Entering in Power-down Mode In order to reduce the power consumption, a power-down or idle mode can be invoked
4202F–SCR–07/2008
Detection of a SUSPEND State
Detection of a RESUME State
Note :
WUPCPU bit must be
Cleared before enabling
the PLL
Figure 109. Example of a Suspend/Resume Management
Warning: The core must be switched in external clock mode before disabling the PLL.
by software (see Table 13, PCON register). Before activating these modes the applica-
tion will need to:
Power-off the Smart Card Interface by applying the following sequence:
CPRES input:
Set CRST pin at low level by clearing the bit CARDRST in SCCON register.
Set CCLK pin at low level by clearing the bit CLK then the CARDCLK in SCCON
register.
Set CIO pin at low level by clearing the bit UART in SCICR register then the bit
CARDIO in SCCON register.
Power the Smart Interface off by clearing the CARDVCC bit in SCCON register. This
instruction enables to switch DC/DC converter off.
Set the bit PRSEN in ISEL register
Set the bit EX1 in IE0 register
Set the bit EA in the IE0 register
Invert the bit CPLEV in ISEL register (INT1 interrupt vector)
Clear the bit PRESIT in the ISEL register
WUPCPU
SPINT
microcontroller in power-down
AT83R5122, AT8xC5122/23
Clear WUPCPU bit
USB Controller Init
Clear SUSPCLK
Set SUSPCLK
Disable PLL
Enable PLL
Clear SPINT
Put the USB pads
in power down mode
181

Related parts for AT83C5122_08