NEW DATABASE - 350 MILLION DATASHEETS FROM 8500 MANUFACTURERS
T89C5121 T85C5121 4186E T89C5121-SK1 RS-232 SSOP24 DIL24 RS232 MAX232 AT24C128 - Datasheet Archive
. User Guide Table of Contents Section 1 Introduction
T8xC5121 Starter Kit for T8xC5121 Products . User Guide Table of Contents Section 1 Introduction . 1-1 1.1 Features .1-1 Section 2 Getting Started. 2-3 2.1 2.2 2.3 2.4 2.5 2.6 Package Contents.2-3 PC System Requirements.2-3 Quick Start .2-3 Connecting the Microcontroller .2-3 Hardware Connection .2-5 Power Supply .2-5 Section 3 Hardware Description . 3-7 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 3.10 Description of Jumpers .3-8 Description of Switches.3-8 Reset.3-9 Clock .3-9 EA Switch.3-9 INT1 Switch.3-9 Serial Port .3-9 LEDs .3-9 Smart Card Interface.3-9 SIM Card Interface .3-10 Section 4 Microcontroller Programming. 4-11 4.1 4.2 4.3 FLIP Software .4-11 Programming the T89C5121 T89C5121.4-11 Programming the T85C5121 T85C5121.4-13 Section 5 Software Description. 5-15 5.1 5.2 Programming Using FLIP.5-15 Running the Demonstration Program.5-17 Section 6 Appendix A . 6-19 6.1 6.2 6.3 T8xC5121 Starter Kit User Guide Schematics .6-21 References.6-26 Acronyms .6-26 1 4186E 4186ESCR05/04 Section 1 Introduction The T89C5121-SK1 T89C5121-SK1 Starter Kit allows you to fully evaluate the T89C5121 T89C5121 microcontrollers. You can run either the included demonstration program or your own application. The board can also be used as a programmer for the T89C5121 T89C5121 product. The T8xC5121 Demonstration Board supports communication through RS-232 RS-232 serial communication mode. This user's guide describes the hardware of the Demonstration Board as well as documentation about the demonstration software. 1.1 Features · The Demonstration Board Contains Either: · · · · · · · · · · · T8xC5121 Starter Kit User Guide Stand-alone Mode With the On-chip EEPROM Program Memory (T89C5121 T89C5121 Product Version) or, On-board EEPROM Program Memory In-System Programmable (ISP) via the ROM Bootloader that Downloads HEX Files Into Internal RAM Memory Smart Card Connector SIM Connector 2 LEDS On-board Voltage Regulator with Voltage Setting Sockets: SSOP24 SSOP24, DIL24 DIL24 for Package Adapter RS-232 RS-232 Serial Port Interrupt (INT1) Input Manual Reset Switch Data, Address and Control Lines Conveniently Brought Out on Connectors Prototyping Area 1-1 Rev. 4186E 4186ESCR05/04 Introduction Figure 1. T89C5121-SK1 T89C5121-SK1 Starter Kit 1-2 4186E 4186ESCR05/04 T8xC5121 Starter Kit User Guide Section 2 Getting Started 2.1 Package Contents T8xC5121 Demonstration Board T85C5121 T85C5121 and T89C5121 T89C5121 Microcontrollers MPCOS EMV smart card SSOP24 SSOP24 Adapter CD-ROM with Software and Documentation FLIP software for In-System Programming Quickterm Software for Demonstration Note: 2.2 PC System Requirements A direct serial cable (DB9) and a power supply are not provided. 486 processor 16 MB RAM 12 MB Free disk Space Windows 98®, Windows NT®, XP or Windows 2000® 2.3 Quick Start The T89C5121-SK1 T89C5121-SK1 Starter Kit includes a T85C5121 T85C5121 and a T89C5121 T89C5121 microcontroller. The demonstration board and accompanying software allow you to read data from a smartcard and display it on a host PC. You can also load your own application (in .hex file format) to retrieve data from a smartcard or a credit card. 2.4 Connecting the Microcontroller The T8xC5121 Demonstration Board is designed to support two different microcontrollers, T85C5121 T85C5121 and T89C5121 T89C5121. The microcontrollers are connected either on the bottom or top of the board, respectively. The T89C5121 T89C5121 requires the use of the SSOP24 SSOP24 Adapter which must be plugged into the DIL support. Alternatively, the T89C5121 T89C5121 can be soldered on the board. T8xC5121 Starter Kit User Guide 2-3 Rev. 4186E 4186ESCR05/04 Figure 2-1. T8xC5121 Demonstration Board with T89C5121 T89C5121 Microcontroller (Top View) Figure 2-2. T8xC5121 Demonstration Board with T85C5121 T85C5121 Microcontroller (Bottom View) Getting Started 2.5 Hardware Connection 1. A 9 - 12V power supply must be connected to the J3 connector. 2. A serial cable must first be attached between COM PC port and J2 DB9 connector of the demonstration board. 3. Ensure the T89C5121 T89C5121 or the T85C5121 T85C5121 microcontroller is connected to the board. 4. The ON/OFF Switch (SW3) must be ON. See Figure 3-1. The Board is delivered with one 14.7456 MHz quartz (Y2). 2.6 Power Supply 2.6.1 Board Supply The Board can be powered from: "9V DC IN" J3 Power connector "9V DC IN" JR1 connector for battery connection "3 - 5V DC IN" JH2 connector connected to VCC/V SS Signals RS-232 RS-232 Connector using Pin 9 and JP3 Connector In the first two configurations the potentiometer R23 is used to adjust the VCC level. In the last two configurations VCC is directly connected to the board. Table 2-1 outlines the isolated Power Supply control for the demonstration board and microcontroller. Table 2-1. Power Supply Control Settings Reference Test Point Jumpers Board Power Supply SW3 TP11 JP1 Vcc Internal Voltages Switch On/Off Vcc 2.6.2 Designation Microcontroller Power Supply JP17 Three test points are provided to monitor the internal voltages. Table 2-2. Test Points Table Reference Test Point DVCC Core regulated voltage (3V) TP14 EVCC UART power supply TP10 CVCC T8xC5121 Starter Kit User Guide Designation Smart Card Supply TP2 2-5 4186E 4186ESCR05/04 Section 3 Hardware Description Figure 3-1. T8xC5121 Demonstration Board Components SW3 JP6 JP1 JP17 SSOP24 SSOP24 JP13 JP14 JP5 PLCC (1) DIL24 DIL24 Socket Y2 JP3 LED LED Smart Card Slot JP2 JP18 JP7 JP19 SW2 Reset JP23 U1 JP4 JP11 JP8 JP15 JP16 JP9 Note: 1. On solder side. T8xC5121 Starter Kit User Guide 3-7 Rev. 4186E 4186ESCR05/04 Hardware Description 3.1 Description of Jumpers The following table sums up the configuration jumpers available on the board. Their location is detailed in Figure 3-1. Table 3-1. Configuration Jumpers Reference Type Designation Configuration JP1 Jumper Board Vcc ON Demonstration board VCC Jumper JP2 Solder P3.2 ON External I2C SDA = P3.2 (1.2.0 Bootloader): Default Configuration JP3 Solder V CC PC - Demonstration board VCC power from RS232 RS232 Connection JP4 Solder P3.2 - External I2C SCL = P3.2 (1.0.1 Bootloader) JP5 Jumper Rx ON Isolate MAX232 MAX232 to test EVCC control JP6 Jumper Tx ON Isolate MAX232 MAX232 to test EVCC control JP7 Jumper R+ CPRES - Connect external CPRES pull-up resistor (internal by default) JP8 Jumper + CPRES - VCC CPRES connection (CPRES high level detect) JP9 Jumper - CPRES ON VSS CPRES connection JP11 Jumper RST ON Isolate External Reset Switch JP13 Jumper LED0 ON Isolate LED0 JP14 Jumper LED1 ON Isolate LED1 JP15 Jumper R- CPRES - Connect external pull-down resistor (CPRES high level detect) JP16 Jumper Vpp - Card Vpp option connected to VCC JP17 Jumper MCU Vcc ON Microcontroller VCC Jumper JP18 Solder P3.7 ON External I2C SCL=P3.7 (1.2.0 Bootloader): Default Configuration JP19 Solder CLK EXT - External Clock connected to XTAL1 JP23 Solder P3.3 - External I2C SDA=P3.3 (1.0.1 Bootloader) 3.2 Description of Switches Function The following table sums up the switches available on the board. Their location is detailed in Figure 3-1. Table 3-2. Switches Reference Designation SW2 RESET External Reset pushbutton SW3 ON/OFF Board ON/OFF Switch SW4 Smart Card Reader Connector SW5 EA/INT1 SW7 4186E 4186ESCR05/04 INT1 SW6 3-8 Function CPRES INT1 pushbutton - EA switch = 0 or 1 - INT1 switch to enable/disable INT1 pushbutton Optional CPRES manual switch T8xC5121 Starter Kit User Guide Hardware Description 3.3 Reset The on-chip Power-on Reset function generates an internal Reset at power-up. The external reset push button is provided to easily generate a warm reset during the ISP process. See Figure 3-1. 3.4 Clock Crystal can be installed on the Y2 socket. To use an external Clock, the input must connected to the optional J1 connector and a jumper must be placed at JP19. See Figure 3-1. 3.5 EA Switch EA switch inside the SW6 Dip switch is by default connected to Vcc. Figure 3-2. Default Configuration: switches opened SW6 0 1 EA EA=1 INT1 INT1 switch opened 3.6 INT1 Switch The INT1 configuration switch (SW6 dip switch) selects whether or not the INT1 push button is connected to port pin P3.3 on the microcontroller. See Figure 3-1. 3.7 Serial Port The Board supports a MAX232 MAX232 at U5 (See Figure 3-1) to convert RS-232 RS-232 voltage levels. The serial I/O P3.0/RXD, P3.1/TXD can be disconnected using the JP5, JP6 jumpers. 3.8 LEDs 3.9 Smart Card Interface 3.9.1 Card Detection The JP13 and JP14 jumpers placed in series with the LED0 and LED1 can be used to monitor the LED current or to disconnect the LEDs. Card detection, by default, uses the on-chip internal pull-up register and the jumper JP9 connected to Vss. This configuration detects the low level input. Another configuration can be used to detect a high level input when the card is inserted. This is done using the jumpers JP8 and JP15. In this case, it is necessary to first disconnect the internal pull-up resistor, using accompanying software. See Section "Software Description". T8xC5121 Starter Kit User Guide 3-9 4186E 4186ESCR05/04 Hardware Description 3.9.2 Card I/O The following test points are provided to monitor the Smart Card I/O signals: Table 3-3. Smart Card I/O Signals Test Points Reference Designation Test Point CVCC Card power supply TP2 CRST Card Reset TP3 CCLK Card Clock TP4 Card I/O TP5 Card power ground TP6 CIO CVSS The JP16 Jumper can be used to connect VPP to the card. 3.10 SIM Card Interface The following test points are provided to monitor the SIM Card I/O signals: Table 3-4. SIM Card I/O Test Points Reference Designation Test Point CRST1 Card Reset TP7 CCLK1 Card Clock TP8 Card I/O TP9 CIO1 3-10 4186E 4186ESCR05/04 T8xC5121 Starter Kit User Guide Section 4 Microcontroller Programming The CD-ROM includes: The demonstration software designed to read cards The software tool for ISP: FLIP (Flexible In-system Programmer) The terminal software: Quickterm - to interface the card access on host The SCI library including software drivers in C language FLIP is software that runs on Windows 98®, Windows NT®, XP or Windows 2000®. FLIP supports in-system programming of Flash C51 devices through RS232 RS232. The latest version of FLIP software is available on the Atmel web site, www.atmel.com. 4.1 FLIP Software 4.2 Programming the The on-chip internal EEPROM of the T89C5121 T89C5121 version can be programmed using either: T89C5121 T89C5121 (SSOP24 SSOP24 External EEPROM Atmel AT24C128 AT24C128 Package) Serial RS-232 RS-232 4.2.1 Programming from External EEPROM Source After Reset, if an AT24C128 AT24C128 EEPROM is detected at U1 (see Figure 4-1), the on-chip ROM Bootloader downloads the external EEPROM content (16K bytes) in the on-chip EEPROM and in the Code RAM. Figure 4-1. EEPROM at U1 of Demonstration Board T8xC5121 Starter Kit User Guide 4-11 Rev. 4186E 4186ESCR05/04 Microcontroller Programming When the download is achieved, the Bootloader runs the program. This process has duration of 7.5 seconds at 14.7456 MHz. Figure 4-2. Bootloader Diagram T89C5121 T89C5121 External Serial EEPROM AT24C128 AT24C128 TWI Internal on-chip EEPROM Code RAM 16K bytes As specified in the T89C5121 T89C5121 datasheet, the two highest addresses of the 16K bytes code must contain the program CRC and the bootloader compares with computed CRC to launch (or not) the program execution. The CRC value can be calculated with FLIP Software: the user must load the Hex file and press the button: CRC. The updated buffer can then be saved as a new Hex file including the two CRC bytes. CAUTION: The Jumper JP14 (LED1) must be removed. Otherwise the TWI Clock signal will not be at the correct levels. 4.2.2 Programming from RS-232 RS-232 source A serial cable must first be attached between COM PC port and J2 DB9 connector of the Demonstration board. After Reset, if a AT24C128 AT24C128 EEPROM has not been detected at U1, the on-chip ROM Bootloader tests if the UART receives `U' (0x55) characters. Then, commands can be sent to the microcontroller, using FLIP software. The programming sequence is detailed in Section 5. When the Program command is processed, the Internal EEPROM is programmed at the same time as CRAM. The program execution can be launched from FLIP (RUN Application Button). Figure 4-3. Serial Programming Diagram T89C5121 T89C5121 Internal on-chip EEPROM Code RAM 16K bytes J2 RS-232 RS-232 4-12 4186E 4186ESCR05/04 T8xC5121 Starter Kit User Guide Microcontroller Programming 4.2.3 Using Preprogrammed Parts If neither AT24C128 AT24C128 External EEPROM nor RS-232 RS-232 programming has been detected, the on-chip ROM Bootloader downloads the internal EEPROM content (16K bytes) in the Code RAM and runs the corresponding program. Note: This assumes that, previously, the T89C5121 T89C5121 microcontroller has been programmed. After reset, execution of the program takes 4 seconds at 14.7456 MHz. T89C5121 T89C5121 Internal on-chip EEPROM 4.3 Code RAM 16K bytes Programming the The T85C5121 T85C5121 version can be loaded in CRAM with the application program and executed once connected to the Demonstration Board. See Figure 2-2. T85C5121 T85C5121 The processes are the same as for T89C5121 T89C5121 (RS-232 RS-232 and External EEPROM) except that there is not an internal EEPROM and so the standalone configuration is not valid. 4.3.1 Programming from External EEPROM Source for SSPO24 SSPO24 package After Reset, if an AT24C128 AT24C128 EEPROM has been detected at U1 (see Figure 4-4), the on-chip ROM Bootloader downloads the external EEPROM content (16K bytes) in the Code RAM. Figure 4-4. EEPROM at U1 of Demonstration Board 4.3.2 Programming from External EEPROM Source for PLCC52 PLCC52 package The PLCC52 PLCC52 Package Product can be programmed using either : External EEPROM Atmel AT24C128 AT24C128 at U6 location External EEPROM Atmel AT24C128 AT24C128 at U1 location Serial RS-232 RS-232 The two last processes are the same as for T89C5121 T89C5121 (RS-232 RS-232 and External EEPROM). The first process can use an external EEPROM which is seen by the Bootloader as the Internal EEPROM of the AT89C5121 AT89C5121 Product version. T8xC5121 Starter Kit User Guide 4-13 4186E 4186ESCR05/04 Microcontroller Programming After Reset, if an AT24C128 AT24C128 EEPROM has been detected at U6 (see Figure 4-1), the on-chip ROM Bootloader downloads the external EEPROM content (16K bytes) in the Code RAM. CAUTION: If the ROM code marked on the package is DRW (Bootloader 1.2.2 version) or higher, an hardware modification must be done on the 1.2.0 version Demoboard. The wires to pins 5 and 6 of U6 must be cut. In place, the following wires must be added Pin 26 of PLCC52 PLCC52 (P2.3) must be connected to U6.6 Pin 29 of PLCC52 PLCC52 (P2.0) must be connected to U6.5 Figure 4-5. EEPROM at U6 of Demonstration Board U6 4-14 4186E 4186ESCR05/04 T8xC5121 Starter Kit User Guide Section 5 Software Description The included demonstration software allows you to: 1. Program the microcontroller connected to the demonstration board. 2. Read data from a SmartCard or a Credit Card. 3. Display the data on the host PC (Quickterm). The demonstration including device programming is described with ISP via RS-232 RS-232 communication to host. 5.1 Programming Using FLIP This section allows you to program the microcontroller through the RS-232 RS-232 cable using FLIP software. 1. Run FLIP. 2. From the Device Menu, choose Select and select the device (T89C5121 T89C5121) that is connected on your demonstration board. T8xC5121 Starter Kit User Guide 5-15 Rev. 4186E 4186ESCR05/04 Software Description 3. Click the `Set Communication' button and indicate the COM port settings and Baud Rate. The autobaud feature of the boot loader will configure the device according to the baud rate. Device Selection Set Communication 4. Initialize the communication by selecting the "Connect" button in RS232 RS232 pop-up window. 5. Reset the demonstration board (SW2 push button) see Figure 3-1. The "Rs232 Communication Synchronized" message is displayed at the bottom of the FLIP status window. 6. Load the HEX file. This is the program that performs the demonstration data exchange. In the File menu select Load HEX and choose the demonstration program `Demo_CVCC5V.hex' for 5V cards or `Demo_CVCC3V.hex'' for 3V cards, located in the directory: Starterkits\T89C5121-SK1 T89C5121-SK1\Software Note: The T8xC5121 card reader can adapt to 3V or 5V smart cards. Select the corresponding demonstration software depending on your card. The message `HEX file exchange.hex loading done' is displayed at the bottom of the FLIP window. 7. Ensure the following check boxes are selected in the Operations Flow section of FLIP: - Erase - Program - Verify These are the operations that will be performed on the microcontroller. 8. Press the `Run' button. Programming is executed. The "Memory Verify Pass" message confirms programming is successful and that the microcontroller has been programmed. 5-16 4186E 4186ESCR05/04 T8xC5121 Starter Kit User Guide Software Description 5.1.1 Verifying the Application Once programming is complete, press the "Start Application" button on the FLIP window. The LED0 blinks until a card is introduced. This indicates the device has been programmed. Exit from FLIP. Switch Off the demonstration board. 5.2 Running the Demonstration Program 5.2.1 Running Quickterm PC Software Run Quickterm. Software is located in the directory: Starterkits\T89C5121-SK1 T89C5121-SK1\QuickT_demo 1. Execute the `quickterm-1_0_7.exe' file. 2. In the Quickterm File Menu, select the "Read TRM." command and locate "T89C5121 T89C5121.trm" file. 3. Turn On the demonstration board. Note: Help is available in the menu and F11 can be used to clear the display. For the T89C5121 T89C5121 version, after Reset, LED0 is off during the download of program from EEPROM to Code RAM (4 seconds at 14.7456 MHz). When this sequence is achieved, the program is automatically executed and the LED0 blinks again while waiting for a card. The message "Insert a card" is displayed in the Quickterm window. Figure 5-1. Quickterm Card Reader Window Insert a card into the reader with the chip side facing the bottom of the board, the LED0 turns on. Two types of cards can be read when inserted: T8xC5121 Starter Kit User Guide 5-17 4186E 4186ESCR05/04 Software Description 1. MPCOS-EMV card, use the following sequence to read the serial number of the card: Select a directory (mandatory first command). The response 90 00, indicates that the command has been successful. select a file (mandatory second command) read the serial number The serial number is displayed. 2. CREDIT card you can choose to read the: name of the card end of validity of the card the card number A reset of the reader occurs if the card is removed. To program the chip using a new application load a different HEX file and return to Section 5.1. 5-18 4186E 4186ESCR05/04 T8xC5121 Starter Kit User Guide Section 6 Appendix A Figure 6-1. Board Components View Diagram T8xC5121 Starter Kit User Guide 6-19 Rev. 4186E 4186ESCR05/04 Appendix A Table 6-1. Bill of Materials Table Identifier C1, C3, C4, C12, C22, C24 C8 C23 C10, C7 C11, C13, C14, C17, C18, C20, C21A, C21B, C21C C19 C5, C6, C25, C26 C27 C28 D1 D8 D3, D4 D10 D5, D6 JR1 J3 J1 J2 J5 JH2 L1 R1, R2 R5, R25 R7 R6, R17 R9, R15 R24 R18 R22 R23 SW4 SW3 SW2 SW5 SW7 SW6 SIM TP2 à TP11, TP13, TP14 U1 U6 U2A U2C U5 U7 U11 Y2 6-20 4186E 4186ESCR05/04 Designation Capacitor Tantalum CM S 293D Capacitor Tantalum CM S 293D Capacitor Tantalum CM S 293D Capacitor Tantalum CM S 293D Capacitor CMS0805 CMS0805 100nF A B B B 1µF/16V F/16V 10µF/10V F/10V 10µF/10V F/10V 10µF/10V F/10V Capacitor CMS1206 CMS1206 10µF/10V F/10V Capacitor CMS0805 CMS0805 22pF Capacitor CMS0805 CMS0805 10pF Capacitor CMS0805 CMS0805 Led CM S Red Led CM S Red Led : Red diameter 5mm Diode 1N4001 1N4001 Diode 1N4001 1N4001 Connector male M olex Connector: jack Diam2,5mm (Pow er Supply) Connector SM B Connector SubD 9pts female Connector DIN41612 DIN41612 Female Connector Phoenix MKDS1/2-3,81 Coil M urata LQH32CN4R7M11 LQH32CN4R7M11 Resistor CMS0805 CMS0805 Optional Resistor CMS0805 CMS0805 500K Resistor CMS0805 CMS0805 500K Resistor CMS0805 CMS0805 10K Resistor CMS0805 CMS0805 10K Resistor CMS0805 CMS0805 0ohm Resistor CMS0805 CMS0805 1K Resistor CMS0805 CMS0805 1K Resistor CMS0805 CMS0805 240 ohms Potentiometer 1K Bourns 3296W Card reader ITT CCM01 CCM01 ON/OFF Sw itch SECME 1K2 Push-button type KSA trad. Push-button type KSA trad. Push-button type KSA trad. Dipsw itch 2 w ays Card reader ITT CCM03 CCM03 Test points AT24C128 AT24C128 DIP8 AT24C128 AT24C128 DIP8 PLCC52 PLCC52 Socket DIP24 DIP24 Socket MAX232CSE MAX232CSE SO16 74HC14 74HC14 SO14 LM317 LM317_ Quartz Qty 6 1 1 2 9 1 4 1 1 1 2 1 2 1 1 1 1 1 1 1 0 1 1 1 2 2 1 1 1 1 1 1 1 1 1 1 1 12 1 1 1 1 1 1 1 1 T8xC5121 Starter Kit User Guide EA INT1_SW6 5 P3.3/INT1/OE EVcc TP10 P1.2/CPRES P1.4/CCLK P1.5/CRST P1.0/CIO P3.2/INT0 P3.3/INT1/OE P3.4/T0 P3.5/CIO1/T1 TP13 1 2 R17 V CC SW6 C18 4 3 C6 C5 JP19 + C19 1 Y2 EA L1 4 DVcc P1.3/CC4 P1.1/CC8 V CC C20 2 3 51 6 2 18 17 16 9 8 7 35 37 36 34 20 22 23 10 1 TP14 C17 LI EVcc CVcc CVss P1.0/CIO P1.1/CC8 P1.2/CPRES P1.3/CC4 P1.4/CCLK P1.5/CRST P3.2/INT0 P3.3/INT1/OE P3.4/T0 P3.5/CIO1/T1 RST XTAL2 XTAL1 EA 1.24 Vcc C4 3 + V CC C3 C1 P3.7/CRST1/RD P3.6/WR PSEN ALE/ P3.1/TXD P3.0/RXD P2.0 P2.1 P2.2 P2.3 P2.4 P2.5 P2.6 P2.7 P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7 3 31 32 11 12 43 44 29 28 27 26 19 15 14 13 42 41 40 39 33 21 38 30 + A B C 2 /RST 1 D 1 1 DVcc 46 Vss 25,45 2 1 4 JP6 C22 1 3 4 5 2 6 13 8 11 10 U5 Date: Size A Title C+ C1C2+ C2V+ V- R1IN R2IN T1IN T2IN 1 2 12 9 14 7 C 21C 1 JP17 2 2 W ednesday, December 18, 2002 D o c ument Number T8XC5121 T8XC5121 Demonstration Board + C24 R1OUT R2OUT T1OUT T2OUT C21B MAX232 MAX232 JP5 C21A 2 Vcc 5 Vss 15 + 16 1 2 3 4 5 J2 6 7 8 9 6 7 8 9 R24 JP3 1 1 of 5 C O NN DSUB 9-Female Sheet 1 2 3 4 5 ALE D1 P0 ( 7:0 ) Vcc R ev 1.2.0 V CC P2 ( 7:0 ) P3.7/R\D\/CRST1/LED1 P3.6/W\R\/CCLK1/LED0 PSEN ALE 1 2 T8xC5121 Starter Kit User Guide 1 A B C D 6.1 + J1 Appendix A Schematics Figure 6-2. Demonstration Board (1 of 5) 6-21 4186E 4186ESCR05/04 A B C D P2.0 P2.1 P3.2 Vss 5 1 Vcc CPRES 1 JP15 JP9 JP8 R25 2 2 JP7 R5 V CC 1 2 SW7 JP4 V CC WP SCL A0 A1 WP SCL A0 A1 AT24C128 AT24C128 7 6 1 2 U6 AT24C128 AT24C128 7 6 1 2 4 5 8 Vcc 4 5 V CC 4 SIM Connector Optional Vss SDA 8 1 JP23 V CC External Vss SDA Vcc 1 2 JP18 2 1 3 JP2 R2 1 V CC JP16 optional 2 optional R1 3 Vpp 2 V CC V CC 1 SW4 Date: Size A Title 1 2 C26 C27 TP2 TP8 TP5 TP4 TP3 C25 + C28 TP9 2 W ednesday, December 18, 2002 D o c ument Number T8XC5121 T8XC5121 Demonstration Board TP7 Card Reader 0 2 4 1 P3.3/INT1/OE 2 1 2 1 1 1 1 4186E 4186ESCR05/04 1 6-22 1 5 1 Sheet TP6 2 Vss CIO1 CCLK1 CRST1 DVcc CVss CIO CCLK CRST CVcc CC8 CC4 P3.7 P3.2 1 1 of 5 R ev 1.2.0 A B C D Appendix A Figure 6-3. Demonstration Board (2 of 5) T8xC5121 Starter Kit User Guide T8xC5121 Starter Kit User Guide A B C D V CC + C8 5 1 LED1 JP14 JP13 SW2 Reset 1 SW5 INT1 R7 4 4 LED0 5 2 2 C7 dummy resistor 0 ohm R9 dummy resistor 0 ohm R15 + R6 V CC D4 D3 3 D VC C 1 3 LED 1 LED 0 74HC14 74HC14 U7 A 2 3 1 T8XC5121 T8XC5121 Demonstration Board RST JP11 2 W ednesday, December 18, 2002 Size A Date: D o c ument Number Title 74HC14 74HC14 U7B 4 2 2 Sheet 3 1 1 of INT1_SW6 RST 5 R ev C A B C D Appendix A Figure 6-4. Demonstration Board (3 of 5) 6-23 4186E 4186ESCR05/04 4186E 4186ESCR05/04 A B C D J R1 1 2 1 2 1 5 Battery connector 9V DC IN 9V DC IN J3 1 2 1 2 D6 10 11 12 4 5 6 7 8 9 1 2 3 RST XTAL2 XTAL1 2 + Vcc EVcc DVcc Vss D10 SSOP24 SSOP24 4 P3.54/CIO1/T1 54/CIO1/T1 P3.6/CCLK1/LED0 P3.7/CRST1/LED1 P3.0/Rx P3.1/Tx P3.3/INT1/OE P3.4/T0 P3.2/INT0 U2_B ON/OFF P1.5/CRST P1.4/CCLK P1.3/CC4 P1.2/CPRES P1.1/CC8 P1.0/CIO CVss LI CVcc D5 1 SW3 4 15 14 13 20 19 18 17 16 24 23 22 21 C23 VIN U11 VOUT ADJ LM317 LM317_T 3 3 R23 R22 C10 + TP11 1 6-24 2 J H2 3-5V DC IN 5 Date: Size A Title 10 11 12 4 5 6 7 8 9 1 2 3 C11 + U2_C C12 Vcc EVcc DVcc Vss C13 DIL24 DIL24 P3.54/CIO1/T1 54/CIO1/T1 P3.6/CCLK1/LED0 P3.7/CRST1/LED1 P3.0/Rx P3.1/Tx P3.3/INT1/OE P3.4/T0 P3.2/INT0 2 15 14 13 20 19 18 17 16 24 23 22 21 C14 2 W ednesday, December 18, 2002 D o c ument Number T8XC5121 T8XC5121 Demonstration Board RST XTAL2 XTAL1 P1.5/CRST P1.4/CCLK P1.3/CC4 P1.2/CPRES P1.1/CC8 P1.0/CIO CVss LI CVcc Vcc JP1 V CC 1 2 Sheet R18 4 D8 POWER ON Vcc 1 1 of 5 R ev C A B C D Appendix A Figure 6-5. Demonstration Board (4 of 5) T8xC5121 Starter Kit User Guide T8xC5121 Starter Kit User Guide A B C D Vss P0 ( 7:0 ) 5 5 P3.0 P3.1 P3.2 INT1 P3.4 T1 WR RD Vcc 4 1 2 3 4 5 6 P0.7 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 DIN 41612 female connector J5_A 4 Vss EA ALE RST PSEN Vcc P3.2 P3.4 3 1 2 3 4 5 6 7 8 9 10 11 P3 ( 7:0 ) 12 13 14 15 16 17 18 19 P2 ( 7:0 ) 20 21 22 23 24 25 26 27 28 29 30 31 32 DIN 41612 female connector J5_B 3 P0 ( 7:0 ) Date: Size A Title 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 2 W ednesday, December 18, 2002 D o c ument Number T8XC5121 T8XC5121 Demonstration Board 1 2 3 4 5 6 P2 ( 7:0 ) 7 8 9 10 P1.3/CC4 11 P1.1/CC8 12 P3.7 13 14 15 16 17 18 19 P3.0 20 P2.7 21 22 23 P3 ( 7:0 ) 24 25 26 27 28 29 30 31 32 DIN 41612 female connector J5_C 2 16 15 14 13 12 11 10 9 16 15 14 13 12 11 10 9 P3 16 15 14 13 12 11 10 9 P2 Sheet 8 7 6 5 4 3 2 1 JR4 8 7 6 5 4 3 2 1 JR3 P0 8 7 6 5 4 3 2 1 JR2 5 16 15 14 13 12 11 10 9 16 15 14 13 12 11 10 9 16 15 14 13 12 11 10 9 1 1 of 5 R ev C A B C D Appendix A Figure 6-6. Demonstration Board (5 of 5) 6-25 4186E 4186ESCR05/04 Appendix A 6.2 References T89C5121 T89C5121 Product Datasheet. 6.3 Acronyms ISP: In-System programming FLIP: FLexible In-system Programming 6-26 4186E 4186ESCR05/04 T8xC5121 Starter Kit User Guide Atmel Headquarters Atmel Operations Corporate Headquarters Memory 2325 Orchard Parkway San Jose, CA 95131 TEL 1(408) 441-0311 FAX 1(408) 487-2600 Europe Atmel Sarl Route des Arsenaux 41 Case Postale 80 CH-1705 CH-1705 Fribourg Switzerland TEL (41) 26-426-5555 FAX (41) 26-426-5500 Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimhatsui East Kowloon Hong Kong TEL (852) 2721-9778 FAX (852) 2722-1369 Japan 9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 Japan TEL (81) 3-3523-3551 FAX (81) 3-3523-7581 2325 Orchard Parkway San Jose, CA 95131 TEL 1(408) 441-0311 FAX 1(408) 436-4314 RF/Automotive Theresienstrasse 2 Postfach 3535 74025 Heilbronn, Germany TEL (49) 71-31-67-0 FAX (49) 71-31-67-2340 Microcontrollers 2325 Orchard Parkway San Jose, CA 95131 TEL 1(408) 441-0311 FAX 1(408) 436-4314 La Chantrerie BP 70602 44306 Nantes Cedex 3, France TEL (33) 2-40-18-18-18 FAX (33) 2-40-18-19-60 ASIC/ASSP/Smart Cards Zone Industrielle 13106 Rousset Cedex, France TEL (33) 4-42-53-60-00 FAX (33) 4-42-53-60-01 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906 TEL 1(719) 576-3300 FAX 1(719) 540-1759 Biometrics/Imaging/Hi-Rel MPU/ High Speed Converters/RF Datacom Avenue de Rochepleine BP 123 38521 Saint-Egreve Cedex, France TEL (33) 4-76-58-30-00 FAX (33) 4-76-58-34-80 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906 TEL 1(719) 576-3300 FAX 1(719) 540-1759 Scottish Enterprise Technology Park Maxwell Building East Kilbride G75 0QR, Scotland TEL (44) 1355-803-000 FAX (44) 1355-242-743 e-mail literature@atmel.com Web Site http://www.atmel.com Disclaimer: Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company's standard warranty which is detailed in Atmel's Terms and Conditions located on the Company's web site. The Company assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein. No licenses to patents or other intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel's products are not authorized for use as critical components in life support devices or systems. © Atmel Corporation 2004. All rights reserved. ATMEL® is a registered trademark of Atmel. Windows 98®, Windows XP ®, Windows NT ®, and Windows 2000® are registered trademarks of Microsoft Corporation. Other terms and product names may be the trademarks of others. Printed on recycled paper. 4186E 4186ESCR05/04 /xM