AT89C5131A-L Atmel Corporation, AT89C5131A-L Datasheet - Page 132

no-image

AT89C5131A-L

Manufacturer Part Number
AT89C5131A-L
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C5131A-L

Flash (kbytes)
32 Kbytes
Max. Operating Frequency
48 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)
1024
Self Program Memory
API
Operating Voltage (vcc)
3.0 to 3.6
Timers
4
Isp
UART/USB
Watchdog
Yes
Upstream Resume
Figure 67. Example of REMOTE WAKEUP Management
132
AT89C5131A-L
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.
W h e n
DEVICE_REMOTE_WAKEUP, the firmware will set to 1 the RMWUPE bit in the USB-
CON 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
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 will then clear the
SDRMWUP bit.
UPRSM = 1
t h e
U S B
SPINT
UPRSM
c o n t r o l l e r
Suspend Management
USB Controller Init
Clear SDRMWUP
Set SDMWUP
Set RMWUPE
Enable Clocks
Clear SPINT
r e c e i v e s
t h e
Need USB Resume
S E T _ F E A T U R E
4338F–USB–08/07
r e q u e s t :

Related parts for AT89C5131A-L