AT89C5130A-S3SUM Atmel, AT89C5130A-S3SUM Datasheet - Page 130
![IC 8051 MCU FLASH 16K USB 52PLCC](/photos/12/13/121324/453-52-plcc_sml.jpg)
AT89C5130A-S3SUM
Manufacturer Part Number
AT89C5130A-S3SUM
Description
IC 8051 MCU FLASH 16K USB 52PLCC
Manufacturer
Atmel
Series
AT89C513xr
Datasheet
1.AT89C5130A-PUTUM.pdf
(188 pages)
Specifications of AT89C5130A-S3SUM
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
16KB (16K x 8)
Program Memory Type
FLASH
Eeprom Size
4K x 8
Ram Size
1.25K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
52-PLCC
Processor Series
AT89x
Core
8051
Data Bus Width
8 bit
Data Ram Size
1.25 KB
Interface Type
2-Wire, EUART, SPI, USB
Maximum Clock Frequency
48 MHz
Number Of Programmable I/os
34
Number Of Timers
16 bit
Operating Supply Voltage
2.7 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
PK51, CA51, A51, ULINK2
Development Tools By Supplier
AT89STK-05
Minimum Operating Temperature
- 40 C
For Use With
AT89OCD-01 - USB EMULATOR FOR AT8XC51 MCU
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
Lead Free Status / Rohs Status
Details
Other names
AT89C5130A-S3SIM
AT89C5130A-S3SIM
AT89C5130A-S3SIM
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
21.5
21.5.1
21.5.2
21.5.3
130
Control Transactions
AT89C5130A/31A-M
Setup Stage
Data Stage: Control Endpoint Direction
Status Stage
The firmware will never write more bytes than supported by the endpoint FIFO.
The DIR bit in the UEPSTAX register will be at 0.
Receiving Setup packets is the same as receiving Bulk Out packets, except that the RXSETUP
bit in the UEPSTAX register is set by the USB controller instead of the RXOUTB0 bit to indicate
that an Out packet with a Setup PID has been received on the Control endpoint. When the
RXSETUP bit has been set, all the other bits of the UEPSTAX register are cleared and an inter-
rupt is triggered if enabled.
The firmware has to read the Setup request stored in the Control endpoint FIFO before clearing
the RXSETUP bit to free the endpoint FIFO for the next transaction.
The data stage management is similar to Bulk management.
A Control endpoint is managed by the USB controller as a full-duplex endpoint: IN and OUT. All
other endpoint types are managed as half-duplex endpoint: IN or OUT. The firmware has to
specify the control endpoint direction for the data stage using the DIR bit in the UEPSTAX regis-
ter.
The firmware has to use the DIR bit before data IN in order to meet the data-toggle
requirements:
To send a STALL handshake, see
The DIR bit in the UEPSTAX register will be reset at 0 for IN and OUT status stage.
The status stage management is similar to Bulk management.
• If the data stage consists of INs,
• If the data stage consists of OUTs,
• For a Control Write transaction or a No-Data Control transaction, the status stage consists of
• For a Control Read transaction, the status stage consists of a OUT Zero Length Packet (see
the firmware has to set the DIR bit in the UEPSTAX register before writing into the FIFO and
sending the data by setting to 1 the TXRDY bit in the UEPSTAX register. The IN transaction
is complete when the TXCMPL has been set by the hardware. The firmware will clear the
TXCMPL bit before any other transaction.
the firmware has to leave the DIR bit at 0. The RXOUTB0 bit is set by hardware when a new
valid packet has been received on the endpoint. The firmware must read the data stored into
the FIFO and then clear the RXOUTB0 bit to reset the FIFO and to allow the next transaction.
a IN Zero Length Packet (see
128). To send a STALL handshake, see
“Bulk/Interrupt OUT Transactions in Standard Mode” on page
“Bulk/Interrupt IN Transactions in Standard Mode” on page
“STALL Handshake” on page
“STALL Handshake” on page
133.
126).
133.
4337K–USB–04/08