AT89C5132 Atmel Corporation, AT89C5132 Datasheet - Page 70
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
AT89C5132
Manufacturer Part Number
AT89C5132
Description
Manufacturer
Atmel Corporation
Datasheets
1.AT89C5132.pdf
(3 pages)
2.AT89C5132.pdf
(182 pages)
3.AT89C5132.pdf
(38 pages)
4.AT89C5132.pdf
(33 pages)
Specifications of AT89C5132
Flash (kbytes)
64 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-12C
Max I/o Pins
44
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
1
Uart
1
Adc Channels
2
Adc Resolution (bits)
10
Adc Speed (ksps)
22.7
Sram (kbytes)
2.25
Self Program Memory
API
Operating Voltage (vcc)
2.7 to 3.6
Timers
2
Isp
UART/USB
Watchdog
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
15.1.3
Figure 15-5. UFI Block Diagram
Figure 15-6. USB Typical Transaction Load
15.2
70
USB Interrupt System
AT89C5132
IN Transactions:
OUT Transactions:
Function Interface Unit (UFI)
HOST
HOST
12 MHz DPLL
To/From SIE
C51
UFI
C51
UFI
OUT
IN
The Function Interface Unit provides the interface between the AT89C5132 and the SIE. It man-
ages transactions at the packet level with minimal intervention from the device firmware, which
reads and writes the endpoint FIFOs.
Figure 15-6 shows typical USB IN and OUT transactions reporting the split in the hardware (UFI)
and software (C51) load.
As shown in Figure 15-7, the USB controller of the AT89C5132 handle sixteen interrupt sources.
These sources are separated in two groups: the endpoints interrupts and the controller inter-
rupts, combined together to appear as single interrupt source for the C51 core. The USB
interrupt is enabled by setting the EUSB bit in IEN1.
NACK
DATA0 (n Bytes)
Endpoint FIFO Write
Endpoint Control
USB side
Transfer
Control
FSM
ACK
IN
C51 interrupt
Asynchronous Information
Endpoint FIFO read (n Bytes)
DATA1
Endpoint 2
Endpoint 1
Endpoint 0
OUT
DATA1
IN
Endpoint Control
UEPCONX
USBADDR
UEPSTAX
UEPDATX
NACK
UEPNUM
UFNUMH
C51 side
USBCON
UEPRST
UBYCTX
UFNUML
USBIEN
UEPIEN
USBINT
UEPINT
DATA1
OUT
ACK
To/From C51 Core
C51 interrupt
DATA1
Endpoint FIFO write
ACK
4173E–USB–09/07