AT83C5135 Atmel Corporation, AT83C5135 Datasheet - Page 116

no-image

AT83C5135

Manufacturer Part Number
AT83C5135
Description
Manufacturer
Atmel Corporation
Datasheet

Specifications of AT83C5135

Max. Operating Frequency
32 MHz
Cpu
8051-12C
Max I/o Pins
34
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
1
Twi (i2c)
1
Uart
1
Sram (kbytes)
1.25
Eeprom (bytes)
512
Operating Voltage (vcc)
2.7 to 3.6
Timers
4
Mask Rom (kbytes)
16
Watchdog
Yes
21.8.3
Figure 21-12. Example of REMOTE WAKEUP Management
116
AT83C5134/35/36
Upstream Resume
SET_FEATURE: DEVICE_REMOTE_WAKEUP
Detection of a SUSPEND State
Upstream RESUME Sent
A USB device can be allowed by the Host to send an upstream resume for Remote Wake Up
purpose.
When the USB controller receives the SET_FEATURE request: DEVICE_REMOTE_WAKEUP,
the firmware will set to 1 the RMWUPE bit in the USBCON register to enable this functionality.
RMWUPE value will be 0 in the other cases.
If the device is in SUSPEND mode, the USB controller can send an upstream resume by clear-
ing first the SPINT bit in the USBINT register and by setting then to 1 the SDRMWUP 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 completed, the UPRSM bit is reset to 0 by
hardware. The firmware will then clear the SDRMWUP bit.
UPRSM = 1
SPINT
UPRSM
Suspend Management
USB Controller Init
Clear SDRMWUP
Set SDMWUP
Set RMWUPE
Enable Clocks
Clear SPINT
Need USB Resume
7683C–USB–11/07

Related parts for AT83C5135