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

no-image

AT83C5122_08

Manufacturer Part Number
AT83C5122_08
Description
C51 Microcontroller with USB and Smart Card Reader Interfaces
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Upstream Resume
110
AT83R5122, AT8xC5122/23
Detection of a SUSPEND State
Detection of a RESUME State
Note :
WUPCPU bit must be
Cleared before enabling
the PLL
Figure 58. Example of a Suspend/Resume Management
Warning: The core must be switched in external clock mode before disabling the PLL.
A USB device can be allowed by the Host to send an upstream resume for Remote
Wake-up purpose.
W h e n
DEVICE_REMOTE_WAKEUP, the firmware should set to 1 the RMWUPE bit in the
USBCON register to enable this function. RMWUPE value should be 0 in the other
cases.
If the device is in SUSPEND mode, the USB controller can send an upstream resume by
clearing first the SPINT bit in the USBINT register and by setting then to 1 the SDRM-
WUP bit in the USBCON register. The USB controller sets to 1 the UPRSM bit in the
USBCON register. All clocks must be enabled first. The Remote Wake is sent only if the
USB bus was in Suspend state for at least 5 ms. When the upstream resume is com-
pleted, the UPRSM bit is reset to 0 by hardware. The firmware should then clear the
SDRMWUP bit.
t h e
U S B
c o n t r o l l e r
WUPCPU
SPINT
microcontroller in power-down
Clear WUPCPU bit
r e c e i v e s
USB Controller Init
Clear SUSPCLK
Set SUSPCLK
Disable PLL
Enable PLL
Clear SPINT
t h e
S E T _ F E A T U R E
Put the USB pads
in power down mode
4202F–SCR–07/2008
r e q u e s t :

Related parts for AT83C5122_08