AT89C5131A-PLTIL Atmel, AT89C5131A-PLTIL Datasheet - Page 122

IC 8051 MCU FLASH 32K USB 48QFN

AT89C5131A-PLTIL

Manufacturer Part Number
AT89C5131A-PLTIL
Description
IC 8051 MCU FLASH 32K USB 48QFN
Manufacturer
Atmel
Series
AT89C513xr
Datasheets

Specifications of AT89C5131A-PLTIL

Core Processor
C52X2
Core Size
8-Bit
Speed
48MHz
Connectivity
I²C, SPI, UART/USART, USB
Peripherals
LED, POR, PWM, WDT
Number Of I /o
34
Program Memory Size
32KB (32K x 8)
Program Memory Type
FLASH
Eeprom Size
4K x 8
Ram Size
1.25K x 8
Voltage - Supply (vcc/vdd)
3 V ~ 3.6 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
48-VQFN Exposed Pad, 48-HVQFN, 48-SQFN, 48-DHVQFN
For Use With
AT89STK-10 - KIT EVAL APPL MASS STORAGEAT89STK-05 - KIT STARTER FOR AT89C5131
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Converters
-
Other names
AT89C5131-PLTIL
Bulk/Interrupt
Transactions
Bulk/Interrupt OUT
Transactions in Standard
Mode
122
AT89C5131A-L
Bulk and Interrupt transactions are managed in the same way.
Figure 62. Bulk/Interrupt OUT transactions in Standard Mode
An endpoint will be first enabled and configured before being able to receive Bulk or
Interrupt packets.
When a valid OUT packet is received on an endpoint, the RXOUTB0 bit is set by the
USB controller. This triggers an interrupt if enabled. The firmware has to select the cor-
responding endpoint, store the number of data bytes by reading the UBYCTLX and
UBYCTHX registers. If the received packet is a ZLP (Zero Length Packet), the
UBYCTLX and UBYCTHX register values are equal to 0 and no data has to be read.
When all the endpoint FIFO bytes have been read, the firmware will clear the RXOUTB0
bit to allow the USB controller to accept the next OUT packet on this endpoint. Until the
RXOUTB0 bit has been cleared by the firmware, the USB controller will answer a NAK
handshake for each OUT requests.
If the Host sends more bytes than supported by the endpoint FIFO, the overflow data
won’t be stored, but the USB controller will consider that the packet is valid if the CRC is
correct and the endpoint byte counter contains the number of bytes sent by the Host.
OUT
OUT
OUT
OUT
HOST
DATA0 (n bytes)
DATA1
DATA1
DATA1
ACK
NAK
NAK
ACK
UFI
RXOUTB0
RXOUTB0
Endpoint FIFO read byte 1
Endpoint FIFO read byte 2
Endpoint FIFO read byte n
Endpoint FIFO read byte 1
Clear RXOUTB0
C51
4338F–USB–08/07

Related parts for AT89C5131A-PLTIL