ST2201U Integrated Microcontroller Datasheet Version 0.4 2009/08/17 Note: Sitronix Technology Corp. reserves the right to change the contents in this document without prior notice. This is not a final specification. Some parameters are subject to change. ST2201U 1 FEATURES n 8-bit RISC CPU n Watchdog Timer (WDT) n ROM: 128K x 8-bit n Four external Interrupt via I/O pin n RAM: 2K x 8-bit n Clock n Low Voltage Reset (LVR) n Prioritized interrupts with dedicated n Stack: Up to 128-level deep n Operation voltage: 5.0V ~ 6.8V n Dual clock sources with warm-up timer n Operation frequency: n LCD Controller – 4/6/8MHz n Serial Peripheral Interface (SPI) n Low Voltage Detector (LVD) n On-chip ICE debug interface n USB 2.0 full speed device (12Mbps) n Smart Card interface n Memory configuration n Power management n General-Purpose I/O (GPIO) ports 2 exception vectors GENERAL DESCRIPTION The ST2201U is an 8-bit integrated microcontroller designed with CMOS silicon gate technology. The true static CPU core, power down modes and dual oscillators design makes the ST2201U suitable for power saving and long battery life designs. The ST2201U integrates various logic to support functions on-chip which are needed by system designers. This is also important for lower system complexity, small board size and, of course, shorter time to market and less cost. The ST2201U features the capacity of memory access of maximum 28M bytes which is needed by products with large data bases. Two chip selects are equipped for direct connection to external ROM, SRAM, or other devices. Maximum one single device of 8M bytes is possible. One DMA channel makes fast data transfer possible and easy. Both source and destination pointers can refer to the whole memory space with 15-bit pointers and bank register. The ST2201U has 36 I/Os grouped into 5 ports, Port-A ~ Port-D and Port-L. Each pin can be programmed to input or output. There are two options: pull-up/down for inputs of Port-C and only pull-up for inputs of the other ports. In case of output, there are open-drain/CMOS options for outputs of Port-C and only CMOS for other ports. Port-A is designed for keyboard scan with de-bounce and transition triggered interrupt, while Port-B/C/D are shared with other system functions. All the properties of I/O pins are still programmable when they are assigned to another function. This enlarges the flexibility of the usage of function signals. The internal 2K bytes RAM helps to drive large LCD panels. The ST2201U can rich display information and the diversity of contents as well. This is done with no need of external display RAM because of the special internal memory sharing design. The ST2201U equips serial communication ports of one SPI to perform different communications. Communication via USB is becoming more and more popular. The ST2201U features one PLL, a 3.3V regulator, and a USB 2.0 full speed device engine to satisfy the strong demand of fast data transfer from market. Three classes of HID, Smart card and Mass storage classes are supported as well as the firmware libraries and the Windows drivers. Smart card interface is another important feature of ST2201U. The ST2201U supports international Ver 0.4 Page 2/12 2009/08/17 ST2201U standards including ISO7816-3, EMV for smart card standard. The interface may communication with computer uses CCID protocol through USB. The ST2201U has one Low Voltage Detector (LVD) for power management. The status of external power can be detected and reported to the management software. Watch Dog Timer (WDT) is also built-in and is an essential function for a good design. Power consumption is another big issue for a battery-powered device. The ST2201U has different power down modes and clock switch scheme to make the consuming power as low as possible. The ST2201U equips an ICE debug interface for efficient development flow. Besides hardware emulator, a software simulator is also supported to save programmers setting up the system and makes programming be at anywhere. With these integrated functions inside, the ST2201U single chip microcontroller is a right solution for Smart Card reader, PDA, translator, databank and other consumer products. Ver 0.4 Page 3/12 2009/08/17 ST2201U 3 SIGNAL DESCRIPTIONS PAD # Description Name Function1 Ver 0.4 Function2 1 TEST1 Test pin 2 A16 Address[16] 3 PL0 Port L[0] d[0] of lcd driver 4 PL1 Port L[1] d[1] of lcd driver 5 PL2 Port L[2] d[2] of lcd driver 6 PL3 Port L[3] d[3] of lcd driver 7 PL4 Port L[4] cp of lcd dricer 8 PL5 Port L[5] ac of lcd driver 9 PL6 Port L[6] lp1 of lcd dricer 10 PL7 Port L[7] flm of lcd driver 11 POFFB 12 BLANKB 13 USB_TEST test pin 14 PB0 Port B[0] cs1 15 PB1 Port B[1] cs2 16 PB2 Port B[2] cs3 17 PB3 Port B[3] 18 PB4 Port B[4] led[0] 19 PB5 Port B[5] led[1] 20 PB6 Port B[6] led[2] 21 PB7 Port B[7] led[3] 22 USBVSS USB pins 23 PULLR 24 D+ D+ pin of USB function 25 D- D- pin of USB function 26 USBVDD AVDD for USB 27 PLLVSS GND for USB VCO 28 PLLVDD VDD for USB VCO Function3 Lcd pin, connect to the /POFF pin of LCD driver Lcd pin, connect to the /Blank pin of LCD driver tco, timer0 output D+ pull-up control; connect a 1.5K Ohm resistor to D+ pin Page 4/12 2009/08/17 ST2201U Ver 0.4 29 AVSS2 GND for USB 30 VOUT3.3 31 VBUS 5V USB bus-power input pin 32 VU5_3 Regulator 1 output 33 VBT6_3 Regulator 2 output 34 VBTIN Battery input 35 VBT6_5 Regulator 3 output 36 VBT_GND Connected to GND of battery 37 OTPKEY 38 PBK1 Reserved, must be connected to VBTIN 39 SC_DET Smart card detection pin 40 SC_VSS GND of smart card function 41 SC_GND Smart card GND pin 42 SC_VCC Smart card 5V power pin 43 SC_VDD VDD of smart card function 44 SC_RST Smart card RESET pin 45 SC_RX Smart card Rx pin 46 SC_IO Smart card I/O pin 47 SC_CLK Smart card clock pin 48 PD3 Port D[3] timer2 output 49 PD2 Port D[2] timer1 output 50 PD1 Port D[1] 51 PD0 Port D[0] 52 AVDD VDD pin of analog module 53 VIN 54 AVSS GND pin of analog module 55 OSCXI 32k crystal 56 OSCXO 32k crystal 57 RESETB /RESET pin 58 XIO 4,6,8MHz crystal connection pin 59 OSCI 4,6,8MHz crystal connection pin 3.3V regulator output pin; connect a Cap to AVSS2 pin Dedicated input key to wake up ST2201U from power-down mode external edge trigger external edge trigger sc_clk output or external edge Load2 trigger system source external edge clock trigger Voltage input pin of low-voltage-detection function Page 5/12 2009/08/17 ST2201U 60 ICE_RDY (xmd) 61 ICE2 Ice_pin(ice) 62 ICE1 Ice_pin(rz) 63 PC0 Port C[0] SPI,ss pin EEPROM, spin 64 PC1 Port C[1] SPI, sck pin EEPROM sck pin 65 PC2 Port C[2] SPI, MISO pin EEPROM di pin 66 PC3 Port C[3] SPI, MOSI pin EEPROM do pin 67 PC4 Port C[4] SPI,readyb pin 68 PC5 Port C[5] 69 PC6 Port C[6] 70 PC7 Port C[7] 71 VSS GND pin 72 VDD VDD pin 73 PA0 Port A[0] 74 PA1 Port A[1] 75 PA2 Port A[2] 76 PA3 Port A[3] 77 PA4 Port A[4] 78 PA5 Port A[5] 79 PA6 Port A[6] 80 PA7 Port A[7] Internal/external memory selection; 81 MMD/CS0 connected to low to select internal ROM, connected to the /CS pin of a memory device to select an external memory. Ver 0.4 82 ICE5 Ice_pin(ice_mcsb) 83 ICE4 Ice_pin(syncbpad) 84 ICE3 Ice_pin (cpu_a15) 85 WRB /WR pin 86 RDB /RD pin 87 IOVSS GND pin of I/O function 88 D7 Data[7] 89 D6 Data[6] 90 D5 Data[5] 91 D4 Data[4] 92 D3 Data[3] 93 D2 Data[2] 94 D1 Data[1] Page 6/12 2009/08/17 ST2201U Ver 0.4 95 D0 Data[0] 96 IOVDD VDD pin of I/O function 97 A0 Address[0] 98 A1 Address[1] 99 A2 Address[2] 100 A3 Address[3] 101 A4 Address[4] 102 A5 Address[5] 103 A6 Address[6] 104 A7 Address[7] 105 A17 Address[17] 106 A18 Address[18] 107 A19 Address[19] 108 A20 Address[20] 109 A21 Address[21] 110 A22 Address[22] 111 A8 Address[8] 112 A9 Address[9] 113 A10 Address[10] 114 A11 Address[11] 115 A12 Address[12] 116 A13 Address[13] 117 A14 Address[14] 118 A15 Address[15] Page 7/12 2009/08/17 ST2201U 4 Ver 0.4 PAD DIGRAM Page 8/12 2009/08/17 ST2201U 5 DEVICE INFORMATION 1. Pad size : 80um x 80um 2. Pad pitch : min: 100um corner: 110um 3. Chip size : 2720um x 4130um 4. Substrate: GND PAD No. Ver 0.4 Symbol X Y PAD No. Symbol X Y 1290 1970 29 AVSS2 -1290 1262.3 1 TEST1 2 A16 1079.75 1995 30 VOUT3.3 -1290 1101.88 3 PL0 959.75 1995 31 VBUS -1290 1001.88 4 PL1 839.75 1995 32 VU5_3 -1290 901.88 5 PL2 739.75 1995 33 VBT6_3 -1290 801.87 6 PL3 639.75 1995 34 VBTIN -1290 701.87 7 PL4 539.75 1995 35 VBT6_5 -1290 502.5 8 PL5 439.75 1995 36 VBT_GND -1290 402.5 9 PL6 339.75 1995 37 OTPKEY -1290 302.5 10 PL7 239.75 1995 38 PBK1 -1290 202.5 11 POFFB 139.75 1995 39 SC_DET -1290 102.5 12 BLANKB 39.75 1995 40 SC_VSS -1290 2.5 13 USB_TEST -60.25 1995 41 SC_GND -1290 -97.5 14 PB0 -160.25 1995 42 SC_VCC -1290 -197.5 15 PB1 -260.25 1995 43 SC_VDD -1290 -297.5 16 PB2 -360.25 1995 44 SC_RST -1290 -397.5 17 PB3 -460.25 1995 45 SC_RX -1290 -497.5 18 PB4 -560.25 1995 46 SC_IO -1290 -597.5 19 PB5 -660.25 1995 47 SC_CLK -1290 -697.5 20 PB6 -760.25 1995 48 PD3 -1290 -807.4 21 PB7 -860.25 1995 49 PD2 -1290 -907.4 22 USBVSS -1053 1995 50 PD1 -1290 -1007.4 23 PULLR -1271.1 1995 51 PD0 -1290 -1107.4 24 D+ -1290 1794.7 52 AVDD -1290 -1207.4 25 D- -1290 1674.7 53 VIN -1290 -1320.1 26 USBVDD -1290 1562.3 54 AVSS -1290 -1430 27 PLLVSS -1290.2 1462.3 55 OSCXI -1290 -1530 28 PLLVDD -1290.2 1362.3 56 OSCXO -1290 -1630 Page 9/12 2009/08/17 ST2201U PAD No. Ver 0.4 Symbol X Y PAD No. Symbol X Y 57 RESETB -1290 -1730 90 D5 1290 -1030 58 XIO -1290 -1850 91 D4 1290 -930 59 OSCI -1290 -1970 92 D3 1290 -830 60 MMD/CS0 -1090 -1995 93 D2 1290 -730 61 ICE2 -970 -1995 94 D1 1290 -630 62 ICE1 -850 -1995 95 D0 1290 -530 63 PC0 -750 -1995 96 IOVDD 1290 -370 64 PC1 -650 -1995 97 A0 1290 -270 65 PC2 -550 -1995 98 A1 1290 -170 66 PC3 -450 -1995 99 A2 1290 -70 67 PC4 -350 -1995 100 A3 1290 30 68 PC5 -250 -1995 101 A4 1290 130 69 PC6 -150 -1995 102 A5 1290 230 70 PC7 -50 -1995 103 A6 1290 330 71 VSS 50 -1995 104 A7 1290 430 72 VDD 250 -1995 105 A17 1290 530 73 PA0 350 -1995 106 A18 1290 630 74 PA1 450 -1995 107 A19 1290 730 75 PA2 550 -1995 108 A20 1290 830 76 PA3 650 -1995 109 A21 1290 930 77 PA4 750 -1995 110 A22 1290 1030 78 PA5 850 -1995 111 A8 1290 1130 79 PA6 970 -1995 112 A9 1290 1230 80 PA7 1090 -1995 113 A10 1290 1330 81 TEST2 1290 -1970 114 A11 1290 1430 82 ICE5 1290 -1850 115 A12 1290 1530 83 ICE4 1290 -1730 116 A13 1290 1630 84 ICE3 1290 -1630 117 A14 1290 1730 85 WRB 1290 -1530 118 A15 1290 1850 86 RDB 1290 -1430 87 IOVSS 1290 -1330 88 D7 1290 -1230 89 D6 1290 -1130 Page 10/12 2009/08/17 ST2201U 6 Ver 0.4 APPLICATION CIRCUIT Page 11/12 2009/08/17 ST2201U 7 REVISION REVISION DESCRIPTION PAGE 0.1 First release 0.2 (1) Change Operation Voltage from 4.5V~6.8V DATE 2006/08/30 2 2007/10/25 to 5.0V~6.8V. (2) Change Operation frequency 2 0.3 Feature Change 1 2008/9/17 0.4 Fix error 2 2009/8/17 The above information is the exclusive intellectual property of Sitronix Technology Corp. and shall not be disclosed, distributed or reproduced without permission from Sitronix. Sitronix Technology Corp. reserves the right to change this document without prior notice and makes no warranty for any errors which may appear in this document. Sitronix products are not intended for use in life support, critical care, medical, safety equipment, or similar applications where products failure could result in injury, or loss of life, or personal or physical harm, or any military or defense application, or any governmental procurement to which special terms or provisions may apply. Ver 0.4 Page 12/12 2009/08/17