Document
XA2001
Low Speed USB Micro-controller
Features
CMOS technology for low power consumption
Operating voltage: 4.4V to 5.25V
3.3V regulator output - Maximum driving current 35mA
8-bit CMOS Micro-Processor (uP) core - Instruction set is compatible with standard 8051
Program Memory - 16K Bytes Program Memory (MASK ROM)
Data Memory - 256 Bytes Internal RAM
Two 8-Bit auto-reloadable Base Timer
Interrupt - 11 vectors interrupt structure - 2 programmable priority levels
Built-in 1.5K ohm USB pull-up resistor
USB Specification Compliance - Complies with USB specification 1.1 - Support one Low-Speed USB Device Address with3 endpoints (endpoint 0, 1, and 2)
One set of Time Capture circuit (rising and falling edge)
Two Blue LED ports
On-chip oscillator - Built-in 6MHz RC oscillator for MCU and USB - Built-in 32KHz RC oscillator for programmable Wake-up Timer
General Purpose I/O - Up to 36 selectable GPIO - External interrupt input: P46 - Source current selectable: Port0, Port1, Port2, Port3
Reset - Hardware Reset (External Reset, Power-on reset and Low-Voltage Reset) - USB Reset - Watch-dog Reset - Resume Reset
Two power-reducing mode - IDLE mode - Power-down mode
General Description
The XA2001 is designed for high performance Low-speed USB devices. It contains an 8051 micro-controller, Low-Speed USB SIE, Transceiver and data FIFO, build-in 3.3V regulator, on-chip 16K bytes Mask ROM and internal 256 bytes data RAM, Time Capture circuit, Base Timer, programmable Watch-dog Timer and Wake-up Timer, support multiple type LED driving capability for different application, built-in internal 32KHz oscillator, POR and LVR circuit saving your external components cost. Instead of external crystal, the XA2001 built in an on-chip high accuracy 6MHz RC Resonator for system and USB SIE. Up to 36 selectable GPIO are provided, while the source current of Port0, Port1, Port2, and Port3 can be configured smaller to support carbon membrane. Application can cover such items as Keyboards and others.
1 V1.0
Pad Configuration
XA2001
2
Block Diagram
RSTB V33 V DD GND
6MHz OSC Power Down Mode
Controller Wake-up Timer
32KHz OSC Low Voltage Reset
Power On Reset
3.3V REGULATOR
XA2001
8051
Interrupt Controller
16K Bytes MASK ROM 256 Bytes DATA RAM Watch Dog Timer Two Base Timer
Time Capture
USB Transceiver
USB SIE Serial Bus Manager USB Data FIFO
I/O PORTs
VDP/P45 VDM/P46/EXT0
P40 - P42/LED00 - 02 P00 - P07 P10 - P17 P20 - P27 P30 - P33, P35/LED10 - 13, 15 P36 - P37/BLED0 - 1
3
XA2001
Pad Description
PAD No. Designation
I/O
Description
1 P46/VDM/EXT0 I/O Bi-directional I/O pin shared with VDM
2
P30/LED10
I/O Bi-directional I/O pin
3
P31/LED11
I/O Bi-directional I/O pin
4
P32/LED12
I/O Bi-directional I/O pin
5
P33/LED13
I/O Bi-directional I/O pin
6
P35/LED15
I/O Bi-directional I/O pin
7
P36/BLED0
I/O Bi-directional I/O pin
8
P37/BLED1
I/O Bi-directional I/O pin
9
RSTB
I For external Reset Input with 55K (RRST) Ohm pull high resistance
10 P00 I/O Bi-directional I/O pin
11 P01 I/O Bi-directional I/O pin
12 P02 I/O Bi-directional I/O pin
13 P03 I/O Bi-directional I/O pin
14 P04 I/O Bi-directional I/O pin
15 P05 I/O Bi-directional I/O pin
16 P06 I/O Bi-directional I/O pin
17 P07 I/O Bi-directional I/O pin
18 P10 I/O Bi-directional I/O pin
19 P11 I/O Bi-directional I/O pin
20 P12 I/O Bi-directional I/O pin
21 P13 I/O Bi-directional I/O pin
22 P14 I/O Bi-directional I/O pin
23
P15/TC0
I/O Bi-directional I/O pin
24 P16 I/O Bi-directional I/O pin
25
VPP
P Voltage input (VPP)
26 P17 I/O Bi-directional I/O pin
27 P20 I/O Bi-directional I/O pin
28 P21 I/O Bi-directional I/O pin
29 P22 I/O Bi-directional I/O pin
30 P23 I/O Bi-directional I/O pin
31 P24 I/O Bi-directional I/O pin
32 P25 I/O Bi-directional I/O pin
33 P26 I/O Bi-directional I/O pin
34 P27 I/O Bi-directional I/O pin
35
P40/LED00
I/O Bi-directional I/O pin
36
P41/LED01
I/O Bi-directional I/O pin
37
P42/LED02
I/O Bi-directional I/O pin
38 VREG_OUT_RC P Regulator output(+1.8V)
39
VCC
P Regulator output(+1.8V)
40
VDD
P Power supply (5V)
41
VDDR
P Regulator output (+3.3V)
42
GND
P Ground
43
GND
P Ground
44
GND
P Ground
45
VDDR
P Regulator output (+3.3V)
46
P45/VDP
I/O Bi-directional I/O pin shared with VDP
4
XA2001
Functional Description
1. Memory
1.1. Memory Allocation There are 16K bytes Program Memory and 256 bytes Data Memory. These features are described as followed:
1.2. Program Memory The XA2001 embeds 16K Bytes (0000H - 3FFFH) on-chip program memory for program code.
1.3. Data Memory The XA2001 provides additional Bytes of RAM space for increased data parameter handling, high level language usage. The XA2001 has internal data memory that is mapped into three separate segments. The three segments are: 1. The Lower 128 bytes of RAM (addresses 00H to 7FH) are directly and indirectly addressable. 2. The Upper 128 bytes of RAM (addresses 80H to FFH) are indir.