AT89C5131A-M Atmel Corporation, AT89C5131A-M Datasheet - Page 135

no-image

AT89C5131A-M

Manufacturer Part Number
AT89C5131A-M
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C5131A-M

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)
2.7 to 5.5
Timers
4
Isp
UART/USB
Watchdog
Yes
Figure 21-12. Example of REMOTE WAKEUP Management
21.9
4337K–USB–04/08
Detach Simulation
SET_FEATURE: DEVICE_REMOTE_WAKEUP
Detection of a SUSPEND State
Upstream RESUME Sent
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.
In order to be re-enumerated by the Host, the AT89C5130A/31A-M has the possibility to simu-
late a DETACH - ATTACH of the USB bus.
The V
up as shown in
set to 1 in the USBCON register. Maintaining this output in high impedance for more than 3 µs
will simulate the disconnection of the device. When resetting the DETACH bit, an attach is then
simulated.
REF
UPRSM = 1
output voltage is between 3.0V and 3.6V. This output can be connected to the D+ pull-
Figure
21-13. This output can be put in high-impedance when the DETACH bit is
SPINT
UPRSM
Suspend Management
USB Controller Init
Clear SDRMWUP
Set SDMWUP
Set RMWUPE
Enable Clocks
Clear SPINT
AT89C5130A/31A-M
Need USB Resume
135

Related parts for AT89C5131A-M