Features
•
Smart Card Interface
– Compliance with Standards
• ISO/IEC 7816-1, 2, 3 and 4
• EMV 2000
• CB
• Mondex
®
, Proton, ZKA, Other: Contact Gemplus
®
– Supported Smart Cards
• Number of Smart Cards Supported: 1
• Asynchronous Cards: T=0 and T=1
• Synchronous/Memory Cards Using a Command Interpreter
• EMV or Non EMV Cards
Electrical Interface
• Transmission Speed: 9.6 Kbps to 115 Kbps
• Card Power Supply: 1.8V/3V/5V
• ESD Protection On Card Pins: 4 KV - Human Body Model
• Card Presence or Insertion Detection
• Short Circuit Current Limitation
Host Interface
– Physical Layer
• Serial Asynchronous Link
• Programmable Transmission Speed From 1,200 bps to 115,200 bps
• Format: 8 bits, No Parity, 1 Stop Bit
• Adjustable Signal Voltage
– Protocol
• Gemplus Block Protocol (GBP)
• GBP Interface Library Kit Source Code
Chip Power Supply
– Voltage: V
CC
- 2.85V to 5.4V
– Consumption: 8 mA Typical, 150 mA Max - Smart Card Powered
– Power Down Mode
• 100 µA Max Power Down Current
• Power-down/Power-up by Host Command
Additional Features
– Operating Temperature Range: 0° to +70° (-40° to +85°
C
C
C
C)
– Package: SS0P24, QFN32
– LED Management: The LED is On When the Card is Powered On
•
GemCore Serial
Lite PRO
AT83C21GC
Summary
•
•
•
Description
AT83C21GC is designed to simplify the integration of smart card interfaces in elec-
tronic devices.
It manages the electrical interface and communication with ISO 7816 –1/2/3/4 com-
patible smart cards and memory cards.
Figure 1.
Basic Architecture of a Smart Card Reader
Host
Processor
AT83C21GC
Smart Card
Smart Card
Connector
4247DS–SCR–03/07
This is a summary Document. A complete document is
available on the Gemplus Web site. www.gemplus.com
The connection with the host processor is achieved via a serial asynchronous link; the rate can
be selected from a range from 1200 to 115,200 bps.
The software inside the GemCore chip handles a communication protocol with the host system
called the Gemplus Block Protocol (GBP).
A complete set of documentation is available on the Gemplus web site:
http://www.gemplus.com.
A GBP Interface Library Kit can be provided, upon request. It consists of the source code of the
GBP communication layer between the host and GemCore. It is written in the C language. See
the Gemplus developers’ site at www.gemplus.com. Enquiries can also be posted to
cardreader@atmel.com.
For general information on the device, please refer to the AT83C5121 datasheet available on
the Atmel web site, www.atmel.com.
2
AT83C21GC
4247DS–SCR–03/07
AT83C21GC
Ordering
information
Part Number
AT83C21GCxxx-ICSIL
AT83C21GCxxx-ICRIL
AT83C21GCxxx-ICSUL
AT83C21GCxxx-ICRUL
AT83C21GCxxx-PUTUL
AT83C21GCxxx-PURUL
Temperature Range
Industrial
Industrial
Industrial & Green
Industrial & Green
Industrial & Green
Industrial & Green
Package
SSOP24
SSOP24
SSOP24
SSOP24
QFN32
QFN32
Packing
Stick
Tape & Reel
Stick
Stick
Tray
Tape & Reel
xxx : Firmware version
3
4247DS–SCR–03/07
Pin Description
Figure 2.
24-pin SSOP Pinout
CVSS
LI
C
V
CC
P1.5/CRST
P1.4/CCLK
P1.3/CC4
P1.2/CPRES
P1.1/CC8
P1.0/CIO
RST
XTAL2
1
2
3
4
5
6
7
8
9
10
11
12
SSOP24
24
23
22
21
20
19
18
17
16
15
14
13
V
CC
E
V
CC
D
V
CC
VSS
P3.0/RxD
P3.1/TxD
P3.3/INT1/OE
P3.4/T0
P3.2/INT0
P3.5/CIO1/T1
P3.6/CCLK1/LED0
P3.7/CRST1/LED1
XTAL1
Figure 3.
32-pin QFN Pinout
CVss
Vcc
EVcc
DVcc
N/C
LI
N/C
32 31 30 29 28 27 26 25
CVcc
P1.5/CRST
P1.4/CCLK
P1.3/CC4
P1.2/CPRES
P1.1/CC8
P1.0/CIO
RST
1
2
3
4
5
6
7
8
N/C
N/C
QFN32
24
23
22
21
20
19
18
17
Vss
Vss
P3.0/RxD
P3.1/TxD
P3.3/INT1/OE
P3.4/T0
P3.2/INT0
P3.5/CIO1/T1
9 10 11 12 13 14 15 16
P3.7/CRST1/LED1
P3.6/CCLK1/LED0
N/C
N/C
XTAL2
XTAL1
N/C
Table 1.
Port Signal Description
Internal
Port
P1.0
Signal
Name
CIO
Power
Supply
CV
CC
ESD
4 kV
Type
I/O
Description
Smart Card Interface Function
Card I/O – Pull-up medium is lower than 20KΩ
Smart Card Interface Function
Card contact 8 – Pull-up medium must be less than 20KΩ
Smart Card Interface Function
Card presence
P1.1
CC8
CV
CC
4 kV
I/O
P1.2
CPRES
V
CC
4 kV
I
4
AT83C21GC
4247DS–SCR–03/07
AT83C21GC
Table 1.
Port Signal Description (Continued)
Internal
Port
P1.3
Signal
Name
CC4
Power
Supply
CV
CC
ESD
4 kV
Type
I/O
Description
Smart Card Interface Function
Card contact 4 – Pull-up medium must be less than 20KΩ
Smart Card Interface Function
Card clock
Smart Card Interface Function
Card reset – Pull-up medium must be less than 20KΩ
UART Function
Receive data input
UART Function
Transmit data output.
Input/Output Function
P3.2 is a bi-directional I/O port with internal pull-ups.
Input/Output Function
P3.3 is a bi-directional I/O port with internal pull-ups.
Input/Output Function
P3.4 is a bi-directional I/O port with internal pull-ups.
Alternate Card Function
Card I/O: Pull-up medium must be less than 20K
LED function
P3.6
CCLK1
DV
CC
O
These pins can be directly connected to the cathode of the standard LED without
external current limiting resistors. The typical current of each output can be
programmed by software to 2, 4 or 10 mA (LEDCON register).
Input/Output Function
P3.7 is a bi-directional I/O port with internal pull-ups.
Reset Input
Holding this pin low for 64 oscillator periods while the oscillatoris running resets the
device. The Port pins are driven to their reset conditions when a voltage lower than V
IL
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. Asserting RST when the chip is in Idle mode or Power-down mode returns
the chip to normal operation. The output is active for at least 12 oscillator periods when
an internal reset occurs.
XTAL1
V
CC
I
Input to the on-chip Inverting 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.
XTAL2
V
CC
O
Output of the on-chip Inverting Oscillator Amplifier
To use the internal oscillator, a crystal/resonator circuit is connected
to this pin. If an external oscillator is used, XTAL2 may be left unconnected.
V
CC
PWR
Supply Voltage
V
CC
is used to power the internal voltage regulators and internal I/O’s.
LI
PWR
DC/DC Input
LI must be tied to V
CC
through an external coil (typically 4, 7
µH)
and provide the
current for the pump charge of the DC/DC converter.
P1.4
CCLK
CV
CC
4 kV
O
P1.5
CRST
CV
CC
4 kV
O
P3.0
RxD
EV
CC
I
P3.1
TxD
EV
CC
O
P3.2
INT0
DV
CC
I/O
P3.3
INT1
EV
CC
I/O
P3.4
EV
CC
I/O
P3.5
CIO1
DV
CC
I/O
P3.7
RST
CRST1
DV
CC
V
CC
I/O
I/O
5
4247DS–SCR–03/07