Rainbow Electronics AT89C5131 User Manual
Features

Rev. 4136A–USB–03/03
Features
•
80C52X2 Core (6 Clocks per Instruction)
– Maximum Core Frequency 40 MHz in X1 Mode
– Dual Data Pointer
– Full-duplex Enhanced UART (EUART)
– Three 16-bit Timer/Counters: T0, T1 and T2
– 256 Bytes of Scratchpad RAM
•
32-Kbyte On-chip Flash In-System Programming through USB or UART
•
4-Kbyte EEPROM for Boot (3-Kbyte) and Data (1-Kbyte)
•
On-chip Expanded RAM (XRAM): 1024 Bytes
•
USB Module with Interrupt on Transfer Completion
– Endpoint 0 for Control Transfers: 32-byte FIFO
– 6 Programmable Endpoints with In or Out Directions and with Bulk, Interrupt or
Isochronous Transfers
• Endpoint 1, 2, 3: 32-byte FIFO
• Endpoint 4, 5: 2 x 64-byte FIFO with Double Buffering (Ping-pong Mode)
• Endpoint 6: 2 x 512-byte FIFO with Double Buffering (Ping-pong Mode)
– Suspend/Resume Interrupts
– Power-on Reset and USB Bus Reset
– 48 MHz DPLL for Full-speed Bus Operation
– USB Bus Disconnection on Microcontroller Request
•
5 Channels Programmable Counter Array (PCA) with 16-bit Counter, High-speed
Output, Compare/Capture, PWM and Watchdog Timer Capabilities
•
Programmable Hardware Watchdog Timer (One-time Enabled with Reset-out): 50 ms to
6s at 4 MHz
•
Keyboard Interrupt Interface on Port P1 (8 Bits)
•
SPI Interface (Master/Slave Mode)
•
34 I/O Pins
•
4 Direct-drive LED Outputs with Programmable Current Sources: 2-6-10 mA Typical
•
4-level Priority Interrupt System (11 sources)
•
Idle and Power-down Modes
•
0 to 32 MHz On-chip Oscillator with Analog PLL for 48 MHz Synthesis
•
Voltage Regulator and Reference Output: 3.3V/4 mA
•
Low Power Voltage Range
– 3.0V to 3.6V
– 30 mA Max Operating Current (at 40 MHz)
– 100 µA Max Power-down Current
•
Self-powered USB Voltage Range (Not Available on First Version)
– 3.6V to 5.5V
– 30 mA Max Operating Current (at 40 MHz)
– 200 µA Max Power-down Current
•
Commercial and Industrial Temperature Range
•
Packages: PLCC52, VQFP64, MLF48, SO28
8-bit Flash
Microcontroller
with Full Speed
USB Device
AT89C5131
Document Outline
- Features
- Description
- Block Diagram
- Pinout Description
- SFR Mapping
- Clock Controller
- Dual Data Pointer Register
- Program/Code Memory
- Flash EEPROM Memory
- EEPROM Data Memory
- In-System Programming (ISP)
- On-chip Expanded RAM (XRAM)
- Timer 2
- Programmable Counter Array (PCA)
- Serial I/O Port
- Interrupt System
- Keyboard Interface
- Programmable LED
- Serial Peripheral Interface (SPI)
- USB Controller
- Power Management
- Hardware Watchdog Timer
- ONCE Mode (ON Chip Emulation)
- Reduced EMI Mode
- Electrical Characteristics
- Ordering Information
- Packaging Information
- Table of Contents