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

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
120
AT89C5131A-L
Table 90. Summary of Endpoint Configuration
Endpoint Configuration
Disabled
Control
Bulk-in
Bulk-out
Interrupt-In
Interrupt-Out
Isochronous-In
Isochronous-Out
Before using an endpoint, this one will be enabled by setting the EPEN bit in the
UEPCONX register.
An endpoint which is not enabled won’t answer to any USB request. The Default
Control Endpoint (Endpoint 0) will always be enabled in order to answer to USB
standard requests.
All Standard Endpoints can be configured in Control, Bulk, Interrupt or Isochronous
mode. The Ping-pong Endpoints can be configured in Bulk, Interrupt or Isochronous
mode. The configuration of an endpoint is performed by setting the field EPTYPE
with the following values:
The Endpoint 0 is the Default Control Endpoint and will always be configured in
Control type.
For Bulk, Interrupt and Isochronous endpoints, the direction is defined with the
EPDIR bit of the UEPCONX register with the following values:
For Control endpoints, the EPDIR bit has no effect.
Do not forget to select the correct endpoint number in the UEPNUM register before
accessing to endpoint specific registers.
Endpoint enable
Endpoint type configuration
Endpoint direction configuration
Summary of Endpoint Configuration:
Control:EPTYPE = 00b
Isochronous:EPTYPE = 01b
Bulk:EPTYPE = 10b
Interrupt:EPTYPE = 11b
IN:EPDIR = 1b
OUT:EPDIR = 0b
EPEN
0b
1b
1b
1b
1b
1b
1b
1b
EPDIR
Xb
Xb
1b
0b
1b
0b
1b
0b
EPTYPE
XXb
00b
10b
10b
11b
11b
01b
01b
4338F–USB–08/07
0XXX XXXb
UEPCONX
80h
86h
82h
87h
83h
85h
81h

Related parts for AT89C5131A-L