AT85C5122-RDRIM [MICROCHIP]
Microcontroller, 8-Bit, 32MHz, CMOS, PQFP64;型号: | AT85C5122-RDRIM |
厂家: | MICROCHIP |
描述: | Microcontroller, 8-Bit, 32MHz, CMOS, PQFP64 微控制器 |
文件: | 总12页 (文件大小:220K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
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)
C51
– 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
Microcontroller
with USB and
Smart Card
Reader
• Five 8-bit I/O Ports, One 6-bit
Interfaces
• 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
AT83C5122
AT85C5122
AT89C5122
– 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
Preliminary
Summary
Description
AT8xC5122 is a high-performance CMOS derivative of the 80C51 8-bit microcontrol-
lers 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 End-
points, 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 on-
chip 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
XTAL1
XTAL2
DC/DC
Converter
Xtal
Osc
CVCC
RAM
256 x8
XRAM KB
512
x8
CRAM(2)
32K x8
ROM
32K x8
EUART
BRG
CC4
CC8
CIO
PLLF
Level
Shifters
C51
CORE
PLL
SCIB
CRST
CCLK
CPRES
CIO1
IB-bus
CPU
Alternate
Card
CCLK1
CRST1
RST
VSS
VCC
AVSS
AVCC
Volt.
Reg.
(1)
KB
EA
PSEN
ALE
Timer 0
Timer 1
INT
Ctrl
External
Memory
and Ports
Parallel I/O Ports
Watchdog
POR
PFD
LED
Out
USB
SPI
8
I/Os
6
8
8
I/Os
I/Os
I/Os
1. Only on high-pin count version
2. Only on ROM/RAM version
2
AT8xC5122
4198AS–SCR–11/02
AT8xC5122
Pin Configurations
Figure 1. VQFP64 Pinout
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
DVCC
1
2
P3.1/TxD
P1.6/SS
48
47
46
45
P1.2/CPRES
P2.7/A15
P3.0/RxD
3
P1.1/CC8
P5.7/KB7
P5.6/KB6
4
5
P3.5/T1/CRST1
44
P1.5/CRST
P5.5/KB5
P5.4/KB4
P1.3/CC4
6
7
8
9
P3.2/INT0/LED0/CIO1
P4.0/MISO
43
42
P3.3/INT1
41
40
39
38
37
VQFP64
P4.1/MOSI
P3.4/T0/LED1
P4.2/SCK
P5.3/KB3 10
P5.2/KB2 11
P4.3/LED4
P1.4/CCLK 12
P5.1/KB1 13
P5.0/KB0 14
P3.6/WR/LED2
P4.4/LED5
RST
36
35
34
PSEN 15
VSS 16
P4.5/LED6
33
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
Figure 2. PLCC28 Pinout
4
3 2 1 28 27 26
P3.1/TxD
P3.0/RxD
25
DVCC
5
6
7
8
24
23
22
21
20
19
P1.2/CPRES
P3.2/INT0/LED0
P3.3/INT1
P1.1/CC8
P1.5/CRST
PLCC28
P3.4/T0/LED1
P1.3/CC4
9
P3.6/LED2
RST
P1.4/CCLK
VSS
10
11
12 13 14 15 1617 18
3
4198AS–SCR–11/02
Pin Description
All the AT8xC5122 signals are detailed in Table 1:
Table 1. Pin Description
Internal
Pin
Pin
Power
Number Number
VQFP64 PLCC28
Reset
Level
Reset
Config
Port
P0.0
P0.1
P0.2
P0.3
P0.4
P0.5
P0.6
P0.7
P1.0
P1.1
Supply
ESD
2 kV
2 kV
2 kV
2 kV
2 kV
2 kV
2 kV
2 kV
4 kV
4 kV
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
Alt
Conf 1
Conf 2
Conf 3
Led
30
29
28
27
25
24
23
22
64
3
-
-
VCC
VCC
VCC
VCC
VCC
VCC
VCC
VCC
CVCC
CVCC
Float
Float
Float
Float
Float
Float
Float
Float
0
AD0
AD1
AD2
AD3
AD4
AD5
AD6
AD7
CIO
CC8
P0
P0
KB_OUT Push-pull
KB_OUT Push-pull
KB_OUT Push-pull
KB_OUT Push-pull
KB_OUT Push-pull
KB_OUT Push-pull
KB_OUT Push-pull
KB_OUT Push-pull
-
P0
-
P0
-
P0
-
P0
-
P0
-
P0
4
7
Port51
Port51
CVCC inactive at reset
0
CVCC inactive at reset
Weak & medium pull-ups can be
deconnected
P1.2
2
6
VCC
2 kV
I/O
1
CPRES
Port51
P1.3
P1.4
P1.5
9
12
6
9
10
8
CVCC
CVCC
CVCC
4 kV
4 kV
4 kV
I/O
O
0
0
0
CC4
CCLK
CRST
Port51
CVCC inactive at reset
CVCC inactive at reset
CVCC inactive at reset
Push-pull
Push-pull
O
P1.6
P1.7
P2.0
P2.1
P2.2
P2.3
P2.4
P2.5
P2.6
P2.7
47
62
58
57
56
52
51
50
49
46
-
-
-
-
-
-
-
-
-
-
VCC
VCC
VCC
VCC
VCC
VCC
VCC
VCC
VCC
VCC
2 kV
2 kV
2 kV
2 kV
2 kV
2 kV
2 kV
2 kV
2 kV
2 kV
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
1
1
1
1
1
1
1
1
1
1
SS
CCLK1
A8
Port51
Port51
Port51
Port51
Port51
Port51
Port51
Port51
Port51
Port51
Input
Push-pull KB_OUT
WPU
Input
Push-pull KB_OUT
WPU
A9
Input
Push-pull KB_OUT
WPU
A10
A11
A12
A13
A14
A15
Input
Push-pull KB_OUT
WPU
Input
Push-pull KB_OUT
WPU
Input
Push-pull KB_OUT
WPU
Input
Push-pull KB_OUT
WPU
Input
Push-pull KB_OUT
WPU
4
AT8xC5122
4198AS–SCR–11/02
AT8xC5122
Table 1. Pin Description (Continued)
Internal
Pin
Pin
Power
Number Number
VQFP64 PLCC28
Reset
Level
Reset
Config
Port
Supply
ESD
I/O
Alt
Conf 1
Conf 2
Conf 3
Led
Input
WPU
P3.0
45
24
VCC
2 kV
I/O
1
RxD
Port51
Push-pull KB_OUT
Push-pull KB_OUT
Input
WPU
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
LED0
LED1
Input
WPU
Push-pull KB_OUT
Push-pull KB_OUT
Input
WPU
P3.4
P3.5
P3.6
P3.7
P4.0
P4.1
P4.2
P4.3
P4.4
P4.5
P5.0
P5.1
P5.2
P5.3
P5.4
P5.5
P5.6
39
44
36
26
42
40
38
37
35
33
14
13
11
10
8
21
-
VCC
VCC
VCC
VCC
VCC
VCC
VCC
VCC
VCC
VCC
VCC
VCC
VCC
VCC
VCC
VCC
VCC
2 kV
2 kV
2 kV
2 kV
2 kV
2 kV
2 kV
2 kV
2 kV
2 kV
2 kV
2 kV
2 kV
2 kV
2 kV
2 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
I/O
I/O
I/O
I/O
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
T0
T1
Port51
Port51
Port51
Port51
Port51
Port51
Port51
Port51
Port51
Port51
Port51
Port51
Port51
Port51
Port51
Port51
Port51
20
16
-
WR
LED2
LED3
RD
MISO
MOSI
SCK
-
-
Input
MPU
-
Push-pull KB_OUT
Push-pull KB_OUT
Push-pull KB_OUT
LED4
LED5
LED6
Input
MPU
-
Input
MPU
-
Input
Push-pull
Input
WPU
-
KB0
KB1
KB2
KB3
KB4
KB5
KB6
MPU
Input
Push-pull
Input
WPU
-
MPU
Input
Push-pull
Input
WPU
-
MPU
Input
Push-pull
Input
WPU
-
WPD
Input
Push-pull
Input
WPU
-
WPD
Input
Push-pull
Input
WPU
7
-
WPD
Input
Push-pull
Input
WPU
5
-
WPD
5
4198AS–SCR–11/02
Table 1. Pin Description (Continued)
Internal
Pin
Pin
Power
Number Number
VQFP64 PLCC28
Reset
Level
Reset
Config
Port
Supply
ESD
I/O
Alt
KB7
Conf 1
Conf 2
Conf 3
Led
Input
WPD
Input
WPU
P5.7
4
-
VCC
2 kV
I/O
1
Port51
Push-pull
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.
This pin has an internal pull-up resistor which allows the device to be
reset by connecting a capacitor between this pin and VSS.
RST
34
19
VCC
I/0
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.
USB Positive Data Upstream Port
D+
D-
60
59
2
1
DVCC
DVCC
I/O
I/O
This pin requires an external 1.5 k
USB Negative Data Upstream Port
USB Voltage Reference : 3.0 < VREF < 3.6V
Ω pull-up to VREF for full speed
VREF
XTAL1
XTAL2
61
31
32
3
AVCC
VCC
VCC
O
I
VREF can be connected to D+ with a 1.5 k
is controlled by software.
Ω resistor. The VREF voltage
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.
17
18
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.
O
External Access Enable
EA must be strapped to ground in order to enable the device to fetch
code from external memory locations 0000h to FFFFh.
EA
63
21
-
-
VCC
VCC
I
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
ALE
O
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.
PSEN
15
-
VCC
O
PLL Low Pass Filter input
Receives the RC network of the PLL low pass filter.
PLLF
AVCC
VCC
54
55
20
27
28
15
AVCC
O
Analog Supply Voltage
PWR
PWR
AVCCis used to supply the on-chip PLL and the USB drivers.
Supply Voltage
VCC
VCC is used to power the internal voltage regulators and internal I/O’s.
6
AT8xC5122
4198AS–SCR–11/02
AT8xC5122
Table 1. Pin Description (Continued)
Internal
Pin
Pin
Power
Number Number
VQFP64 PLCC28
Reset
Level
Reset
Config
Port
Supply
ESD
I/O
Alt
Conf 1
Conf 2
Conf 3
Led
DC/DC Input
LI
18
17
13
12
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
DVCC
PWR
PWR
CVCC is the programmable voltage output for the card interface. It must
be connected to an external decoupling capacitor.
Digital Supply Voltage
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.
1
5
DC/DC Ground
CVSS
VSS
19
16
53
14
11
26
GND
GND
GND
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.
AVSS
7
4198AS–SCR–11/02
Typical Application
Figure 3. Typical Application Schematic
Digital
Analog
Power Supply
Power Supply
VCC
100 nF
100 nF
(Note 1)
(Note 1)
GND
AVSS
10 KW
VCC
AVCC
Master Card
Ground
EA
CVSS
(Note 1)
GND
VCC
CVCC
Master Card
+
Power Supply
10 µH
(Note 1)
100 nF
(Note 1)
10 uF
(Note 1)
CVSS
CVSS
LI
VCC
I/O
CIO
LEDX
C8
CC8
Master
Card
CC4
CCLK
CRST
C4
VREF
CLK
RST
(Note 1)
1.5 kW
27 W
D+
D-
LINE D+
USB Host
27 W
Card Presence
Switch
LINE D-
CPRES
1 MW
(optional resistor)
Scan Output
P0
P2
P4
VCC
Scan Output
Keyboard
GND
Scan Output
CIO1
I/O
P5
Scan Input
CRST1
Alternate
Card
RST
CLK
CCLK1
RESET
RST
D
VCC
Alternate Card
Power Supply
+
(optional capacitor)
100 nF
(Note 1)
AVSS
VSS
PLLF
XTAL1 XTAL2
8 MHz
GND
GND
(Note 1)
(Note 1)
100 W
10 nF
2.2 nF
22 pF
GND
22 pF
GND
Note 1 : As close as possible from MCU
GND
GND GND
8
AT8xC5122
4198AS–SCR–11/02
AT8xC5122
Ordering Information
CodeMemory Size
Temperature
Range
Max Frequency
(MHz)
Part-Number
(bytes)
Supply Voltage (V)
3.6 - 5.5
Package
Packing
Tray
AT83C5122xxx-RDTIM
AT83C5122xxx-RDRIM
AT83C5122xxx-SISIM
AT83C5122xxx-SIRIM
AT85C5122-RDTIM
AT85C5122-RDRIM
AT85C5122-SISIM
AT85C5122-SIRIM
AT89C5122-RDTIM
AT89C5122-RDRIM
AT89C5122-SISIM
AT89C5122-SIRIM
32K ROM
Industrial
Industrial
Industrial
Industrial
Industrial
Industrial
Industrial
Industrial
Industrial
Industrial
Industrial
Industrial
32
32
32
32
32
32
32
32
32
32
32
32
VQFP64
VQFP64
PLCC28
PLCC28
VQFP64
VQFP64
PLCC28
PLCC28
VQFP64
VQFP64
PLCC28
PLCC28
32K ROM
3.6 - 5.5
Reel
Stick
Reel
Tray
32K ROM
3.6 - 5.5
32K ROM
3.6 - 5.5
32K RAM
3.6 - 5.5
32K RAM
3.6 - 5.5
Reel
Stick
Reel
Tray
32K RAM
3.6 - 5.5
32K RAM
3.6 - 5.5
32K FLASH RAM
32K FLASH RAM
32K FLASH RAM
32K FLASH RAM
3.6 - 5.5
3.6 - 5.5
Reel
Stick
Reel
3.6 - 5.5
3.6 - 5.5
9
4198AS–SCR–11/02
Packaging Information
PLCC28
10
AT8xC5122
4198AS–SCR–11/02
AT8xC5122
VQFP64
11
4198AS–SCR–11/02
Atmel Headquarters
Atmel Operations
Corporate Headquarters
2325 Orchard Parkway
San Jose, CA 95131
TEL 1(408) 441-0311
FAX 1(408) 487-2600
Memory
RF/Automotive
Theresienstrasse 2
Postfach 3535
74025 Heilbronn, Germany
TEL (49) 71-31-67-0
FAX (49) 71-31-67-2340
2325 Orchard Parkway
San Jose, CA 95131
TEL 1(408) 441-0311
FAX 1(408) 436-4314
Europe
Microcontrollers
Atmel Sarl
2325 Orchard Parkway
San Jose, CA 95131
TEL 1(408) 441-0311
FAX 1(408) 436-4314
1150 East Cheyenne Mtn. Blvd.
Colorado Springs, CO 80906
TEL 1(719) 576-3300
Route des Arsenaux 41
Case Postale 80
CH-1705 Fribourg
Switzerland
FAX 1(719) 540-1759
Biometrics/Imaging/Hi-Rel MPU/
High Speed Converters/RF Data-
com
Avenue de Rochepleine
BP 123
38521 Saint-Egreve Cedex, France
TEL (33) 4-76-58-30-00
FAX (33) 4-76-58-34-80
TEL (41) 26-426-5555
FAX (41) 26-426-5500
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
ASIC/ASSP/Smart Cards
Zone Industrielle
13106 Rousset Cedex, France
TEL (33) 4-42-53-60-00
FAX (33) 4-42-53-60-01
Japan
1150 East Cheyenne Mtn. Blvd.
Colorado Springs, CO 80906
TEL 1(719) 576-3300
9F, Tonetsu Shinkawa Bldg.
1-24-8 Shinkawa
Chuo-ku, Tokyo 104-0033
Japan
FAX 1(719) 540-1759
TEL (81) 3-3523-3551
FAX (81) 3-3523-7581
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
© 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® 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
相关型号:
©2020 ICPDF网 联系我们和版权申明