APPOTECH AX2210 User manual

[AX2210-UM-100]
AX2210
8-bit CMOS Microcontroller
User Manual
Preliminary Rev 0.0.1
September 2011
AppoTech Limited
Add: Unit 705-707, 7/F, IC Development Ctr, No. 6, Science P rk West Ave. Hong Kong Science P rk, Sh tin, N.T. HK
Tel: (852) 2607 4090 F x: (852) 2607 4096 www. ppotech.com

High performance 8-bit MCU
•DC-48MHz operation
•Compatible with 80 1
•All instructions are single-cycle
except branching instructions
•Two data pointer for indirect
addressing
Program Memory and Data Memory
•48K Bytes ROM
•24K Bytes RAM
•32K Bytes OTP
•2 6 Bytes DRAM share with RAM
Interrupt Feature
•16 Vectored interrupts
•External wake up/interrupt on 4
GPIOs
•2 Levels interrupt priority
Flexible I/O
•29 GPIO pins
•All GPIO pins can be programmable
as input or output individually
•All GPIO pins are internal pull-up
/pull-down selectable individually
•CMOS/TTL level Schmitt triggered
input
Digital Peripheral Feature
•Two multi-function 8-bit timers,
support Capture and PWM mode
•Two multi-function 16-bit timers,
support Capture and PWM mode
•Watchdog
•One full-duplex UART
•MPEG-1, MPEG-2, MPEG-2. Audio
Layer 1,2,3 decoder. Bit rate 8-
448Kbps, 8-48KHz, CBR/VBR/ABR
•MP3 Encode
•MP3 Recording. Bit rate <= 128Kbps
•IIS controller
•Two SPI, support DMA
•One EMI controller, use for external
memory access
•SD Card Host controller
•CRC controller for CRC16
calculation
•One IR controller
•Full speed USB2.0 host/device
controller
•One RTCC
•MIC AGC
Analog Peripheral Features
•One 32 KHz Crystal Oscillator
•One internal RC oscillator
•Full speed USB 2.0 PHY
•48MHz PLL-based clock generator
•16-bit Stereo DAC
•16-bit δ-Σ ADC
•8 Channels 10-bit ADC
•One class A/B Amplifier
•MIC Amplifier/Bias
•2 channels AMUX
•2 channels 4 levels Low Voltage
Detector
•Power-on reset
•Two LDO: V to 1.8V, V to 3.3V
Power Supply
•VDDLDO is 3.2V to . V
•VDDIO is 3.0V to 3.6V
•VDDCORE is 1.6V to 2.0V
Program and Debug Support
•In-System Programming (ISP)
support
•In-System Debugging (ISD) support
Packages
•LQFP48
•SOP28
•DIE form
Temperature
•Operating temperature: -40 to℃
+8 ℃
•Storage temperature: -6 to℃
+1 0℃
AX2210 8-bit CMOS Microcontroller
AppoTech Limited
Address :Unit 705-707, 7/F, IC Development Centre,
No.6, Science P rk West Ave.,
Hong Kong Science P rk,
Sh tin, N.T., Hong Kong
Telephone :(852) 2607 4090
F x :(852) 2607 4096
www. ppotech.com

Preliminary Rev 0.0.1 AX2210 8-bit CMOS Microcontroller
USER MANUA
1 PRODUCT OVERVIEW
1.1 Description
AX2210 is an 8051 Compatible high performance mixed signal 8-bit microcontroller. It integrates
advanced digital and analog peripherals to s it for a variety of applications. For digital peripherals, it
s pports a variety of digital interfaces incl ding UART, EMI SPI and fo r timers, integrates an USB
2.0 f ll speed Host/Device controller and a MP3 Decoder/Encoder Engine, etc. For analog
peripherals, it integrates RCOSC, DAC, ADC, PLL, LVD, XOSC and LDO. The microcontroller
employs an advanced architect re and compatible with standard 8051 with thro ghp t p to 48
MIPS. All instr ctions are single-cycled except program branching.
The MP3 Decoder Engine can decode MPEG-1, MPEG-2, MPEG-2.5 A dio Layer 1, 2, 3 decoder
nder 24 MHz.
AX2210 has 48K-byte (24K x 16) IROM, 32K-byte OTP (32K x 8), 16K-byte (8K x 16) IRAM, 8K-
byte (4Kx16) RAM2 and 3936 x 24-bit Decode RAM (DECRAM) for MP3 decoder. IROM, IRAM and
part of DECRAM can be sed as program memory. Part of IROM, DECRAM and IRAM can be sed
as data memory.
The USB 2.0 Host/Device controller FIFO is shared with IRAM. It s pports USB2.0 f ll speed.
Flexible I/O with different programmable capabilities like p ll- p, p ll-down or wake- p allows
AX2210 to s it different I/O req irements in the market.
In order to s pport portable applications and red ce power cons mption, three low-power saving
modes are added: IDLE mode, HOLD mode and SLEEP mode.
© 2011 AppoTech Ltd 3

AX2210 8-bit CMOS Microcontroller Preliminary Rev 0.0.1
USER MANUA
1.2 System Architecture
Fig re 1-1 AX2210 architect re
4 © 2011 AppoTech Ltd

Preliminary Rev 0.0.1 AX2210 8-bit CMOS Microcontroller
USER MANUA
2 PIN Definitions
2.1 Part Numbering
AX2210
2.2 Packages
LQFP48 and SOP28
2.3 Pin Assignment
Figure 2-1 Pin assignment for LQFP48
© 2011 AppoTech Ltd 5

AX2210 8-bit CMOS Microcontroller Preliminary Rev 0.0.1
USER MANUA
Figure 2-2 Pin assignment for SOP28
2.4 Pin Descriptions
Fig re 2-1 shows the pin assignments of LQFP48 package. Table 2-1 shows the pin descriptions of
LQFP48 package.
Fig re 2-2 shows the pin assignments of SOP28 package. Table 2-2 shows the pin descriptions of
SOP28 package.
Table 2-1 LQFP48 pin description
Pin No. Name Type F nction Other F nction
1 P27 I/O GPIO PPD7: Parallel Port Data 7
SPI0DOUT0: SPI0 Data o tp t 0
2 P21 I/O GPIO PPD1: Parallel Port Data 1
IISDI0: IIS Data inp t 0
3 P20 I/O GPIO PPD0: Parallel Port Data 0
IISBCLK: IIS BCLK
4 VSSIO P IO Gro nd
5 VDDLDO P LDO Power
6 VDDIO P IO Power
7 VDDADC P ADC Power
8 VDDDAC P DAC Power
6 © 2011 AppoTech Ltd

Preliminary Rev 0.0.1 AX2210 8-bit CMOS Microcontroller
USER MANUA
9 DACR O DAC Right Channel
10 VCM O DAC Bandgap voltage
reference
11 DACL O DAC Left Channel
12 VSSDAC P DAC Gro nd
13 P03 I/O MICIN0 / AUXL0
14 P02 I/O MININ1 / AUXR0
15 P01 I/O GPIO
AUXR1
ADC5
SDDATA2: SD Data 2
UARTTX1: UART TX1
16 P00 I/O GPIO
AUXL1
ADC4
SDDATA1: SD Data 1
UARTRX1: UART RX1
SPI0DI2:SPI0 Data inp t 0
17 P14 I/O GPIO
SDDATA3: SD Data 3
T3PWM: Timer3 PWM O tp t
T3CAP: Timer3 Capt re Pin
SPI0DOUT2: SPI0 Data o tp t 2
18 P33 I/O GPIO
ADC0/LVD detect
32K/system clock/XOSC12M
o tp t
19 P04 I/O GPIO
ADC2
Port Interr pt/Wake p
T1PWM: Timer1 PWM O tp t
SPI1DOUT: SPI1 Data
O tp t
SPI0DOUT1: SPI0 Data
O tp t 1
20 P05 I/O GPIO
ADC3
Port Interr pt/Wake p
T0CAP: Timer0 Capt re Pin
SPI1CLK: SPI1 Clock
SPI0CLK1: SPI0 Clock1
21 P06 I/O GPIO
ADC1
SPI1DI: SPI1 Data Inp t
SPI0DI1:SPI0 Data Inp t
22 P07 I/O GPIO
IR Inp t
Port Interr pt/Wake p
T1CAP: Timer1 Capt re Pin
23 P16 I/O GPIO
AM inp t
REFCLK: IIS
Reference clock
UARTTX0: UART Data O t 0
T2PWM: Timer2 PWM O tp t
T2CAP: Timer2 Capt re Pin
24 P17 I/O GPIO
FM Inp t
IISWS: IIS WS
T2CKIN: Timer2 Clock In
25 VSSCORE P Digital Gro nd
26 VDDCORE P Digital Power
27 AVDD P IO Power
28 P13 I/O GPIO DP: Deb g Pin
© 2011 AppoTech Ltd 7

AX2210 8-bit CMOS Microcontroller Preliminary Rev 0.0.1
USER MANUA
29 P12 I/O GPIO
30 P11 I/O GPIO
31 P10 I/O GPIO PPWR: Parallel Port Write
32 VDDIRT P IRT 1.5V IO Power
33 IRTOSCI I IRTC 32K Oscillator
Inp t
34 IRTOSCO O IRTC 32K Oscillator
O tp t
35 IRTWKO O IRTC Wake p O tp t
36 P15 I/O GPIO T3CKIN: Timer3 Clock In
37 P32 I/O GPIO SDDATA0: SD Data 0
38 P31 I/O GPIO SDCMD: SD Command
39 P30 I/O GPIO SDCLK: SD Clock
40 P34 I/O GPIO
XOSC12I
Port Interr pt/Wake p
T0PWM: Timer0 PWM O tp t
UARTRX0:UART Data In 0
SPI0CLK2: SPI0 Clock2
41 P26 I/O GPIO
XOSC12O
PPD6: Parallel Port Data 6
SPI0CLK0: SPI0 CLK 0
42 P25 I/O GPIO PPD5: Parallel Port Data 5
SPI0DIN0: SPI0 Data inp t 0
43 P24 I/O GPIO PPD4: Parallel Port Data 4
IISDO1:IIS Data o tp t1
44 P23 I/O GPIO PPD3: Parallel Port Data 3
IISDI1:IIS Data inp t 1
45 P22 I/O GPIO PPD2: Parallel Port Data 2
IISDO0:IIS Data o tp t0
46 USBDM I/O USB Negative
Inp t/o tp t
47 USBDP I/O USB Positive
Inp t/o tp t
48 MCLR/VPP I Master Clear, Low
Active
OTP Programming Power
Table 2-2 SOP28 pin description
Pin No. Name Type F nction Other F nction
1 USBDM I/O USB Negative Inp t/o tp t USBDM
2 USBDP I/O USB Positive Inp t/o tp t USBDP
3 MCLR/VPP I Master Clear, Low Active DP: Deb g Pin
4 VSSIO P IO Gro nd
5 VDDLDO P LDO Power
8 © 2011 AppoTech Ltd

Preliminary Rev 0.0.1 AX2210 8-bit CMOS Microcontroller
USER MANUA
6 VDDIO P IO Power
7 VDDDAC P DAC & ADC Power
8 DACR O DAC Right Channel
9 VCM O DAC Bandgap voltage reference SDCLK: SD Clock
10 DACL O DAC Left Channel SDCMD: SD Command
11 VSSDAC P DAC Gro nd SDDATA0: SD Data 0
12 P02 I/O MININ1 / AUXR0
13 P01 I/O GPIO
AUXR1
ADC5
SDDATA2: SD Data 2
UARTTX1: UART TX1
14 P00 I/O GPIO
AUXL1
ADC4
SDDATA1: SD Data 1
UARTRX1: UART RX1
SPI0DI2:SPI0 Data inp t 0
15 P14 I/O GPIO
SDDATA3: SD Data 3
T3PWM: Timer3 PWM
O tp t
T3CAP: Timer3 Capt re
Pin
SPI0DOUT2: SPI0 Data
o tp t 2
16 P33 I/O GPIO
ADC0/LVD detect
32K/system
clock/XOSC12M o tp t
17 P06 I/O GPIO
ADC1
SPI1DI: SPI1 Data Inp t
SPI0DI1:SPI0 Data Inp t
18 P07 I/O GPIO
IR Inp t
Port Interr pt/Wake p
T1CAP: Timer1 Capt re
Pin
19 VSSCORE P Digital Gro nd
20 VDDCORE P Digital Power
21 AVDD P IO Power
22 P13 I/O GPIO DP: Deb g Pin
23 IRTOSCI I IRTC 32K Oscillator Inp t
24 IRTOSCO O IRTC 32K Oscillator O tp t
25 P32 I/O GPIO SDDATA0: SD Data 0
26 P31 I/O GPIO SDCMD: SD Command
27 P30 I/O GPIO SDCLK: SD Clock
28 P34 I/O GPIO
XOSC12I
Port Interr pt/Wake p
T0PWM: Timer0 PWM
O tp t
UARTRX0:UART Data In 0
SPI0CLK2: SPI0 Clock2
© 2011 AppoTech Ltd 9

AX2210 8-bit CMOS Microcontroller Preliminary Rev 0.0.1
USER MANUA
3 Characteristics
3.1 LDO Parameters
Table 24-1
Sym Characteristics Min Typ Max Unit Conditions
Vin LDO inp t voltage 3.2 5.0 5.5 V
Vo t1.8 1.8V o tp t voltage - 1.75 - V
Vo t3.3 3.3V o tp t voltage - 3.3 - V
Io t1.8 1.8V o tp t c rrent - - 100 mA
Io t3.3 3.3V o tp t c rrent - - 200 mA
Temperat re: -40oC~85 oC
3.2 PLL Parameters
Table 24-2
Sym Characteristics Min Typ Max Unit Conditions
FIFreq ency inp t - 32.768 - KHz
FOUT1 Freq ency o tp t - 48 - MHz
TLOCK PLL locked time s
Temperat re: -40oC~85 oC
3.3 I/O Parameters
Table 24-3
Symbol Description Min Typ Max Units Conditions
VIL Low-Level inp t voltage - - 45% * VDDIO V VDDIO = 3.3V
VIH High-level inp t voltage 60% * VDDIO - - V VDDIO = 3.3V
RPUP0 Internal p ll- p resister 0 10 KΩ VDDIO = 3.3V
RPUP1 Internal p ll- p resister 1 500 Ω VDDIO = 3.3V
RPDN0 Internal p ll-down resister 0 10 KΩ VDDIO = 3.3V
RPDN1 Internal p ll-down resister 1 3.3 KΩ VDDIO = 3.3V
RPDN2 Internal p ll-down resister 2 200 Ω VDDIO = 3.3V
RPDN3 Internal p ll-down resister 3 500 Ω VDDIO = 3.3V
10 © 2011 AppoTech Ltd

Preliminary Rev 0.0.1 AX2210 8-bit CMOS Microcontroller
USER MANUA
ILEVEL0 Level0 c rrent driving - - 8 mA
ILEVEL1 Level1 c rrent driving - - 24 mA
Temperat re: 25 oC
3.4 OSC Parameters
Table 24-4
Sym Characteristics Min Typ Max Unit Conditions
FINRT32K RT32KOSC inp t - 32.768 - KHz
FOUTRC RC o tp t - 1 - MHz
Temperat re: -40oC~85 oC
3. Audio DAC Parameters
Table 24-
Sym Characteristics Min Typ Max Unit Conditions
SNR - 78 - dB
THD+N - -60 - dB No loading
PWRAB ClassAB AMP power
o tp t
- - 20 mW 16ohm, single channel
VPP Maxim m o tp t
voltage
- - 2.2 V
Temperat re: 25 oC
3.6 Audio ADC Parameters
Table 24-
Sym Characteristics Min Typ Max Unit Conditions
SNR - 62 - dB 1.4V VPP
Temperat re: 25 oC
3.7 Audio Recording Parameters
Table 24-
Sym Characteristics Min Typ Max Unit Conditions
SNR - 70 - dB
THD+N - 63 -
© 2011 AppoTech Ltd 11

AX2210 8-bit CMOS Microcontroller Preliminary Rev 0.0.1
USER MANUA
Sample rate 22.05 44.1 - K
Bit rate - - 128 KBps
Freq ency
range
0 16 - K
Temperat re: 25 oC, Recording s pported format: MPEG 1/2/2.5, layer III
3.8 Current Parameters
Table 24-6
Sym Characteristics Min Typ Max Unit Conditions
Istop Stop c rrent - 220 - A Temperat re: 25 oC
Isleep Sleep c rrent - 220 - A Temperat re: 25 oC
Ipd VDDLDO power
down c rrent
- 5.5 7.0 A Temperat re:
-40oC~85 oC
3.9 USB PHY Parameters
Table 24-6
Sym Characteristics Min Typ Max Unit Conditions
RDMPUP DM p ll- p resistor - 120 - KΩ
RDPPUP DP p ll- p resistor - 1.5 - KΩ
RDMPDN DM p ll- p resistor - 15 - KΩ
RDPPDN DP p ll- p resistor - 15 - KΩ
12 © 2011 AppoTech Ltd

Preliminary Rev 0.0.1 AX2210 8-bit CMOS Microcontroller
USER MANUA
4 Appendix I Revision History
Date Version Comment Revised by
2011-09-05 0.0.1 First version Erica Cheong
The information in this document is believed to be accurate in all respects at the time of publication but is
subject to change without notice. AppoTech assumes no responsibility for errors and omissions, and disclaims
responsibility for any consequences resulting from the use of information included herein. Additionally,
AppoTech assumes no responsibility for the functioning of undescribed features or parameters. AppoTech
reserves the right to make changes without further notice. AppoTech makes no warranty, representation or
guarantee regarding the suitability of its products for any particular purpose, nor does AppoTech assume any
liability arising out of the application or use of any product or circuit, and specifically disclaims any and all
liability, including without limitation consequential or incidental damages. AppoTech products are not designed,
intended, or authorized for use in applications intended to support or sustain life, or for any other application in
which the failure of the AppoTech product could create a situation where personal injury or death may occur.
Should uyer purchase or use AppoTech products for any such unintended or unauthorized application, uyer
shall indemnify and hold AppoTech harmless against all claims and damages.
In case of any q estions or comments abo t this doc mentation, please feel free to contact AppoTech at
© 2011 AppoTech Ltd 13
Table of contents
Other APPOTECH Microcontroller manuals
Popular Microcontroller manuals by other brands

GigaDevice Semiconductor
GigaDevice Semiconductor GD32H7 Series manual

Texas Instruments
Texas Instruments LaunchPad LP-CC1352P7-1 manual

Epson
Epson S1C31W74 Technical manual

Microsemi
Microsemi IGLOO2 FPGA DSP FIR Filter user guide

NXP Semiconductors
NXP Semiconductors MC9S12ZVMB-Family Reference manual

Infineon
Infineon XMC4000 series Application guide