![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
Features * * * * * * 80C51 Core with 12 or 6 Clocks Per Instruction 768 bytes RAM AT83C5122 with 32 Kbytes ROM AT85C5122 with 32 Kbytes Code RAM AT89C5122 with 32 Kbytes Flash RAM Multi-protocol Smart Card Interface - Certified According to ISO7816, EMV2000, GIE-CB and WHQM Standards - Asynchronous Protocols T = 0 and T = 1, with Direct and Inverse Modes - Step-Up/Down Converter with Programmable Voltage Output: 5V and 3V (60 mA), 1.8V (20 mA) - 4 kV ESD Protection (MIL/STD 833 Class 3) Alternate Card Support with CLK, IO and RST USB Module 7 Endpoints Programmable with In or Out Directions and with ISO, Bulk or Interrupt Transfers Keyboard Interrupt Interface on Port 5 (8 bits) UART with Integrated Baud Rate Generator (BRG) SPI Interface (Master Slave) 8 MHz on-chip Oscillator (Possible Operation at 8 MHz without External Capacitors) - Analog PLL for 96 MHz Synthesis. Possible 48 MHz Clock Input Two 16-bit Timer/Counters: T0 and T1 Five 8-bit I/O Ports, One 6-bit Seven LED Outputs with Programmable Current Sources: 2-4-10 mA Hardware Watchdog and Power-fail Detector (PFD) Idle and Power-down Modes Self Powered USB Low Power - 30 mA Maximum Operating Current (at 32 MHz X1) - 100 A Maximum Power-down Current at 5.4V (without Smart Card and USB) Voltage Ranges - 3.6 to 5.5V (-M Version) Commercial and Industrial Temperature Ranges Packages: VQFP64, PLCC28 * * * * * * * * * * * * * * * * C51 Microcontroller with USB and Smart Card Reader Interfaces AT83C5122 AT85C5122 AT89C5122 Preliminary Summary Description AT8xC5122 is a high-performance CMOS derivative of the 80C51 8-bit microcontrollers optimized for USB keyboard with smart card reader applications. AT8xC5122 retains the features of the Atmel 80C51 with 32 Kbytes ROM capacity, 768 bytes of internal RAM, a 4-level interrupt system, two 16-bit timer/counters (T0/T1), a full duplex enhanced UART (EUART) with baud rate generator (BRG) and an on-chip oscillator. In addition, AT8xC5122 has a USB 2.0 full speed function controller with seven Endpoints, a multi-protocol smart card interface, a dual data pointer, seven programmable LED current sources (2-4-10 mA) and a hardware watchdog. AT89C5122 Flash RAM version and AT85C5122 Code RAM version with 32 Kbytes memory can be loaded by In-System Programming (ISP) software residing in the onchip ROM from USB or UART. AT8xC5122 have 2 software-selectable modes of reduced activity for further reduction in power consumption. Rev. 4198AS-SCR-11/02 Note: This is a summary document. For more information, please contact cardreader@nto.atmel.com. Block Diagram CVSS RxD TxD P5 LI DC/DC EUART BRG XTAL1 XTAL2 PLLF Xtal Osc RAM 256 x8 (2) XRAM KB ROM CRAM 512 32K x8 32K x8 x8 Converter CVCC CC4 CC8 CIO CRST CCLK CPRES CIO1 CCLK1 CRST1 VSS VCC AVSS AVCC PLL C51 CORE IB-bus Level SCIB Shifters CPU Alternate Card RST Volt. Reg. EA PSEN ALE (1) External Memory and Ports Timer 0 Timer 1 INT Ctrl KB Parallel I/O Ports Watchdog POR 8 6 8 8 PFD I/Os I/Os I/Os I/Os USB LED Out SPI VREF RST D+ D- 1. Only on high-pin count version 2. Only on ROM/RAM version 2 AT8xC5122 4198AS-SCR-11/02 LED0-6 MISO MOSI SCK SS P0 P2 P1 P3 P4 INT0 INT1 P5 T0 T1 AT8xC5122 Pin Configurations Figure 1. VQFP64 Pinout EA P1.7/CCLK1 VREF P2.2/A10 AVCC PLLF 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 DVCC P1.2/CPRES P1.1/CC8 P5.7/KB7 P5.6/KB6 P1.5/CRST P5.5/KB5 P5.4/KB4 P1.3/CC4 P5.3/KB3 P5.2/KB2 P1.4/CCLK P5.1/KB1 P5.0/KB0 PSEN VSS 1 2 3 4 5 6 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 P0.7/AD7 P0.6/AD6 P0.5/AD5 P0.4/AD4 P3.7/RD/LED3 P0.3/AD3 P0.2/AD2 P0.1/AD1 P0.0/AD0 XTAL1 XTAT2 CVCC LI CVSS 48 47 46 45 44 43 42 P3.1/TxD P1.6/SS P2.7/A15 P3.0/RxD P3.5/T1/CRST1 P3.2/INT0/LED0/CIO1 P4.0/MISO P3.3/INT1 P4.1/MOSI P3.4/T0/LED1 P4.2/SCK P4.3/LED4 P3.6/WR/LED2 P4.4/LED5 RST P4.5/LED6 P2.4/A12 P2.5/A13 P2.0/A8 P2.1/A9 P2.3/A11 P2.6/A14 41 40 39 38 37 36 35 34 33 P1.0/CIO VQFP64 Figure 2. PLCC28 Pinout P1.0/CIO VREF DAVCC PLLF AVSS VCC ALE 4 3 2 1 28 27 26 DVCC P1.2/CPRES P1.1/CC8 P1.5/CRST P1.3/CC4 P1.4/CCLK VSS D+ AVSS D+ D- 5 6 7 8 9 10 11 12 13 14 15 1617 18 CVSS P3.7/LED3 XTAL1 XTAT2 CVCC LI PLCC28 25 24 23 22 21 20 19 P3.1/TxD P3.0/RxD P3.2/INT0/LED0 P3.3/INT1 P3.4/T0/LED1 P3.6/LED2 RST VCC 3 4198AS-SCR-11/02 Pin Description Table 1. Pin Description Pin Number VQFP64 30 29 28 27 25 24 23 22 64 3 2 9 12 6 47 Pin Number PLCC28 4 7 6 9 10 8 - All the AT8xC5122 signals are detailed in Table 1: Internal Power Supply VCC VCC VCC VCC VCC VCC VCC VCC CVCC CVCC VCC CVCC CVCC CVCC VCC ESD 2 kV 2 kV 2 kV 2 kV 2 kV 2 kV 2 kV 2 kV 4 kV 4 kV 2 kV 4 kV 4 kV 4 kV 2 kV I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O O O I/O Reset Level Float Float Float Float Float Float Float Float 0 0 1 0 0 0 1 Alt AD0 AD1 AD2 AD3 AD4 AD5 AD6 AD7 CIO CC8 CPRES CC4 CCLK CRST SS Reset Config P0 P0 P0 P0 P0 P0 P0 P0 Port51 Port51 Port51 Port51 Push-pull Push-pull Port51 Conf 1 Conf 2 KB_OUT KB_OUT KB_OUT KB_OUT KB_OUT KB_OUT KB_OUT KB_OUT Conf 3 Push-pull Push-pull Push-pull Push-pull Push-pull Push-pull Push-pull Push-pull Led Port P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7 P1.0 P1.1 P1.2 P1.3 P1.4 P1.5 P1.6 CVCC inactive at reset CVCC inactive at reset Weak & medium pull-ups can be deconnected CVCC inactive at reset CVCC inactive at reset CVCC inactive at reset P1.7 62 - VCC 2 kV I/O 1 CCLK1 Port51 Input WPU Input WPU Input WPU Input WPU Input WPU Input WPU Input WPU Input WPU P2.0 58 - VCC 2 kV I/O 1 A8 Port51 Push-pull KB_OUT P2.1 57 - VCC 2 kV I/O 1 A9 Port51 Push-pull KB_OUT P2.2 56 - VCC 2 kV I/O 1 A10 Port51 Push-pull KB_OUT P2.3 52 - VCC 2 kV I/O 1 A11 Port51 Push-pull KB_OUT P2.4 51 - VCC 2 kV I/O 1 A12 Port51 Push-pull KB_OUT P2.5 50 - VCC 2 kV I/O 1 A13 Port51 Push-pull KB_OUT P2.6 49 - VCC 2 kV I/O 1 A14 Port51 Push-pull KB_OUT P2.7 46 - VCC 2 kV I/O 1 A15 Port51 Push-pull KB_OUT 4 AT8xC5122 4198AS-SCR-11/02 AT8xC5122 Table 1. Pin Description (Continued) Pin Number VQFP64 45 Pin Number PLCC28 24 Internal Power Supply VCC ESD 2 kV I/O I/O Reset Level 1 Alt RxD Reset Config Port51 Conf 1 Push-pull Conf 2 KB_OUT Conf 3 Input WPU Input WPU LED0 Push-pull KB_OUT Input WPU Input WPU LED1 Led Port P3.0 P3.1 P3.2 P3.3 48 43 41 25 23 22 VCC VCC VCC 2 kV 2 kV 2 kV I/O I/O I/O 1 1 1 TxD INT0 INT1 Port51 Port51 Port51 Push-pull KB_OUT P3.4 39 21 VCC 2 kV I/O 1 T0 Port51 Push-pull KB_OUT P3.5 44 - VCC 2 kV I/O 1 T1 Port51 P3.6 36 20 VCC 2 kV I/O 1 WR Port51 LED2 P3.7 26 16 VCC 2 kV I/O 1 RD Port51 LED3 P4.0 42 - VCC 2 kV I/O 1 MISO Port51 P4.1 40 - VCC 2 kV I/O 1 MOSI Port51 P4.2 38 - VCC 2 kV I/O 1 SCK Port51 Input MPU Input MPU Input MPU Input WPU Input WPU Input WPU Input WPU Input WPU Input WPU Input WPU P4.3 37 - VCC 2 kV I/O 1 Port51 Push-pull KB_OUT LED4 P4.4 35 - VCC 2 kV I/O 1 Port51 Push-pull KB_OUT LED5 P4.5 33 - VCC 2 kV I/O 1 Port51 Push-pull KB_OUT Input MPU Input MPU Input MPU Input WPD Input WPD Input WPD Input WPD LED6 P5.0 14 - VCC 2 kV I/O 1 KB0 Port51 Push-pull P5.1 13 - VCC 2 kV I/O 1 KB1 Port51 Push-pull P5.2 11 - VCC 2 kV I/O 1 KB2 Port51 Push-pull P5.3 10 - VCC 2 kV I/O 1 KB3 Port51 Push-pull P5.4 8 - VCC 2 kV I/O 1 KB4 Port51 Push-pull P5.5 7 - VCC 2 kV I/O 1 KB5 Port51 Push-pull P5.6 5 - VCC 2 kV I/O 1 KB6 Port51 Push-pull 5 4198AS-SCR-11/02 Table 1. Pin Description (Continued) Pin Number VQFP64 4 Pin Number PLCC28 Internal Power Supply VCC ESD 2 kV I/O I/O Reset Level 1 Alt KB7 Reset Input Holding this pin low for 64 oscillator periods while the oscillator is running resets the device. The Port pins are driven to their reset conditions when a voltage lower than VIL is applied, whether or not the oscillator is running. RST 34 19 VCC I/0 This pin has an internal pull-up resistor which allows the device to be reset by connecting a capacitor between this pin and VSS. Asserting RST when the chip is in Idle mode or Power-down mode returns the device to normal operation. The output is active for at least 12 oscillator periods when an internal reset occurs. D+ D60 59 2 1 DVCC DVCC I/O I/O USB Positive Data Upstream Port This pin requires an external 1.5 k pull-up to VREF for full speed USB Negative Data Upstream Port USB Voltage Reference : 3.0 < VREF < 3.6V VREF 61 3 AVCC O VREF can be connected to D+ with a 1.5 k resistor. The VREF voltage is controlled by software. Input to the on-chip invertor oscillator amplifier To use the internal oscillator, a crystal/resonator circuit is connected to this pin. If an external oscillator is used, its output is connected to this pin. Output of the on-chip invertor oscillator amplifier To use the internal oscillator, a crystal/resonator circuit is connected to this pin. If an external oscillator is used, leave XTAL2 unconnected. External Access Enable EA 63 VCC I EA must be strapped to ground in order to enable the device to fetch code from external memory locations 0000h to FFFFh. If security level 1 is programmed, EA will be latched on reset. Address Latch Enable/Program Pulse: Output pulse for latching the low byte of the address during an access to external memory. In normal operation, ALE is emitted at a constant rate of 1/6 (1/3 in X2 mode) the oscillator frequency, and can be used for external timing or clocking. Note that one ALE pulse is skipped during each access to external data memory. This pin is also the program pulse input (PROG) during Flash programming. ALE can be disabled by setting SFR's AUXR.0 bit. With this bit set, ALE will be inactive during internal fetches Program Strobe Enable: The read strobe to external program memory. When executing code from the external program memory, PSEN is activated twice each machine cycle, except that two PSEN activations are skipped during each access to external data memory. PSEN is not activated during fetches from internal program memory. PLL Low Pass Filter input Receives the RC network of the PLL low pass filter. Analog Supply Voltage AVCCis used to supply the on-chip PLL and the USB drivers. VCC Supply Voltage VCC is used to power the internal voltage regulators and internal I/O's. Reset Config Port51 Conf 1 Push-pull Conf 2 Input WPD Conf 3 Input WPU Led Port P5.7 XTAL1 31 17 VCC I XTAL2 32 18 VCC O ALE 21 - VCC O PSEN 15 - VCC O PLLF 54 27 AVCC O AVCC 55 28 PWR VCC 20 15 PWR 6 AT8xC5122 4198AS-SCR-11/02 AT8xC5122 Table 1. Pin Description (Continued) Pin Number VQFP64 Pin Number PLCC28 Internal Power Supply ESD I/O Reset Level Alt DC/DC Input LI 18 13 PWR LI must be tied to VCC through an external coil (typically 4.7 H) and provide the current for the pump charge of the DC/DC converter Card Supply Voltage CVCC 17 12 PWR CVCC is the programmable voltage output for the card interface. It must be connected to an external decoupling capacitor. Digital Supply Voltage DVCC 1 5 PWR DVCC is used to supply the digital core and internal I/O's. It is internally connected to the output of a 3.3V voltage regulator and must be connected to an external decoupling capacitor. DC/DC Ground CVSS is used to sink high shunt currents from the external coil. Digital Ground VSS is used to supply the buffer ring and the digital core. Analog Ground AVSS is used to supply the on-chip PLL and the USB drivers. Reset Config Conf 1 Conf 2 Conf 3 Led Port CVSS 19 14 GND VSS 16 11 GND AVSS 53 26 GND 7 4198AS-SCR-11/02 Typical Application Figure 3. Typical Application Schematic Digital Power Supply Analog Power Supply VCC 100 nF (Note 1) GND VCC EA 100 nF (Note 1) AVSS AVCC CVSS GND CVCC (Note 1) Master Card Ground 10 KW VCC 10 H (Note 1) LI VCC LEDX 100 nF (Note 1) CVSS + 10 uF (Note 1) Master Card Power Supply CVSS CIO CC8 CC4 I/O C8 C4 CLK RST Card Presence Switch 1 MW (optional resistor) Master Card (Note 1) 1.5 kW 27 W 27 W LINE D- VREF CCLK CRST USB Host LINE D+ D+ DCPRES Scan Output Scan Output Keyboard Scan Output Scan Input P0 P2 P4 P5 CIO1 CRST1 CCLK1 I/O RST Alternate Card CLK Alternate Card Power Supply VCC GND RESET (optional capacitor) + GND RST DVCC 100 nF (Note 1) VSS PLLF XTAL1 XTAL2 AVSS GND 8 MHz (Note 1) 2.2 nF 100 W 10 nF Note 1 : As close as possible from MCU GND GND GND 22 pF GND 22 pF GND (Note 1) 8 AT8xC5122 4198AS-SCR-11/02 AT8xC5122 Ordering Information Part-Number AT83C5122xxx-RDTIM AT83C5122xxx-RDRIM AT83C5122xxx-SISIM AT83C5122xxx-SIRIM AT85C5122-RDTIM AT85C5122-RDRIM AT85C5122-SISIM AT85C5122-SIRIM AT89C5122-RDTIM AT89C5122-RDRIM AT89C5122-SISIM AT89C5122-SIRIM CodeMemory Size (bytes) 32K ROM 32K ROM 32K ROM 32K ROM 32K RAM 32K RAM 32K RAM 32K RAM 32K FLASH RAM 32K FLASH RAM 32K FLASH RAM 32K FLASH RAM Supply Voltage (V) 3.6 - 5.5 3.6 - 5.5 3.6 - 5.5 3.6 - 5.5 3.6 - 5.5 3.6 - 5.5 3.6 - 5.5 3.6 - 5.5 3.6 - 5.5 3.6 - 5.5 3.6 - 5.5 3.6 - 5.5 Temperature Range Industrial Industrial Industrial Industrial Industrial Industrial Industrial Industrial Industrial Industrial Industrial Industrial Max Frequency (MHz) 32 32 32 32 32 32 32 32 32 32 32 32 Package VQFP64 VQFP64 PLCC28 PLCC28 VQFP64 VQFP64 PLCC28 PLCC28 VQFP64 VQFP64 PLCC28 PLCC28 Packing Tray Reel Stick Reel Tray Reel Stick Reel Tray Reel Stick Reel 9 4198AS-SCR-11/02 Packaging Information PLCC28 10 AT8xC5122 4198AS-SCR-11/02 AT8xC5122 VQFP64 11 4198AS-SCR-11/02 Atmel Headquarters Corporate Headquarters 2325 Orchard Parkway San Jose, CA 95131 TEL 1(408) 441-0311 FAX 1(408) 487-2600 Atmel Operations Memory 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 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906 TEL 1(719) 576-3300 FAX 1(719) 540-1759 Europe Atmel Sarl Route des Arsenaux 41 Case Postale 80 CH-1705 Fribourg Switzerland TEL (41) 26-426-5555 FAX (41) 26-426-5500 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 Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimhatsui East Kowloon Hong Kong TEL (852) 2721-9778 FAX (852) 2722-1369 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 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 Scottish Enterprise Technology Park Maxwell Building East Kilbride G75 0QR, Scotland TEL (44) 1355-803-000 FAX (44) 1355-242-743 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 literature@atmel.com Web Site http://www.atmel.com (c) Atmel Corporation 2002. 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 (R) is a registered trademark of Atmel. Other terms and product names may be the trademarks of others. Printed on recycled paper. 4198AS-SCR-11/02 /0M |
Price & Availability of AT89C5122NBSP
![]() |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |