AT83C5135 Atmel Corporation, AT83C5135 Datasheet - Page 105

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.3
21.3.1
7683C–USB–11/07
Read/Write Data FIFO
FIFO Mapping
Table 21-1.
Depending on the selected endpoint through the UEPNUM register, the UEPDATX register
allows to access the corresponding endpoint data fifo.
Endpoint Configuration
Disabled
Control
Bulk-in
Bulk-out
Interrupt-In
Interrupt-Out
Isochronous-In
Isochronous-Out
• Endpoint direction configuration
• Summary of Endpoint Configuration:
• Endpoint FIFO reset
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 access-
ing to endpoint specific registers.
Before using an endpoint, its FIFO will be reset. This action resets the FIFO pointer to its
original value, resets the byte counter of the endpoint (UBYCTLX and UBYCTHX registers),
and resets the data toggle bit (DTGL bit in UEPCONX).
The reset of an endpoint FIFO is performed by setting to 1 and resetting to 0 the corre-
sponding bit in the UEPRST register.
For example, in order to reset the Endpoint number 2 FIFO, write 0000 0100b then 0000
0000b in the UEPRST register.
Note that the endpoint reset doesn’t reset the bank number for ping-pong endpoints.
– IN:EPDIR = 1b
– OUT:EPDIR = 0b
Summary of Endpoint Configuration
EPEN
0b
1b
1b
1b
1b
1b
1b
1b
EPDIR
Xb
Xb
1b
0b
1b
0b
1b
0b
AT83C5134/35/36
EPTYPE
XXb
00b
10b
10b
01b
01b
11b
11b
0XXX XXXb
UEPCONX
80h
86h
82h
87h
83h
85h
81h
105

Related parts for AT83C5135