(T=0, T=1)
– Automatic retry on parity error
– Programmable baud rate from 372 to
11.625 clock pulses (D=32/F=372)
– Card insertion/removal detection
■ Smartcard power supply
– Selectable card V
Table 1.Device summary
Features
: 1.8 V, 3 V, and 5 V
CC
ST7GEME4
and EMV/non-EMV interface
24
1
VFQFPN24
– Internal Step-up converter for 5V supplied
Smartcards (with a cu rr en t of up to 55mA)
using only two external components.
– Programmable smartcard internal voltage
regulator (1.8 to 3.0 V) with current
overload protection and 4 kV ESD
protection (Human Body Model) for all
smartcard interface I/Os
■ Development tools
– Application note on PCB recommendations
and component bill of materials
– Full hardware/software kit for pe rformance
evaluation
Description
The ST7GEME4 is an 8-bit microcontroller
dedicated to smartcard reading applications. It
has been developed to be the core of smartcard
readers communicating through a serial or USB
link. It is pre-programmed using Gemplus
software, and offers a single integrated circuit
solution with very few external components.
Order codes
ST7GEME4M1ST7GEME4U1
SO24(9U)
Program memory 16K ROM
User RAM + USB data buffer (bytes)512 + 256
PeripheralsUSB Full-Speed (7 Ep), TBU, Watchdog timer, ISO 7816-3 Interface
Operating Supply4.0 to 5.5V
PackageSO24VFQFPN24
CPU Frequency4 or 8 MHz
Operating temperature0 to +70 °C
The ST7GEME4 device is a member of the ST7 microcont roller family designed for USB
applications. All devices are based on a common industry-standard 8-bit core, featuring an
enhanced instruction set.
The ST7GEME4 is factory-programmed ROM devices and as such ar e not
reprogrammable.
It operates at a 4 MHz external oscillator frequency.
Under software control, all devices can be placed in Halt mode, reducing power
consumption when the application is in idle or stand-by state.
The enhanced instruction set and addressing modes of the ST7 offer both power and
flexibility to software developers, enabling the design of highly efficient and compact
application code. In addition to standard 8-bit data management, all ST7 microcontrollers
feature true bit manipulation, 8x8 unsigned multiplication and indirect addressing modes.
The ST7GEME4 includes an ST7 Core, up to 16 Kbytes of program memory, up to 512
bytes of user RAM and the following on-chip peripherals:
●USB full speed interface with 7 endpoints, programmable in/out configuration and
embedded 3.3 V voltage regulator and transceivers (no external components are
needed).
●ISO 7816-3 UART interface with programmable baud rate from 372 clock pulses up to
11.625 clock pulses
●Smartcard supply block able to provide programmable supply voltage and I/O voltage
levels to the smartcards
●Low voltage reset ensuring proper power-on or power-off of the device (selectable by
●Output level: HS = 10mA high sink (on N-buffer only)
●Port and control configuration:
–Input: float = floating, wpu = weak pull-up, int = interrupt, ana = analog
–Output: OD = open drain, PP = push-pull
Table 2.Pin description
Pin number
Pin name
SO24
VFQFPN24
Type
Level
Input
supplied
Output
CARD
V
Port / Control
Input Output
int
wpu
OD
Main
function
(after reset)
PP
25CRDRSTOCTXX Smartcard reset
36CRDCLKOC
47C4O C
58CRDIOI/OC
69C8O C
710CRDDETI
811
912
PA0/WAKUP2/
ICCDATA
PA1/WAKUP2/
ICCCLK
1114OSCIN
C
T
I/OC
I/OC
C
T
1215OSCOUTC
1316V
PP
1417PA6I
SMust be held low in normal operating mode.
C
T
XX Smartcard clock
T
XX Smartcard C4
T
XXXSmartcard I/O
T
XX Smartcard C8
T
XSmartcard detection
T
T
XXX XPort A0
XXX XPort A1
Input/output oscillator pins. These pins
connect a 4 MHz parallel-resonant crystal, or
T
an external source to the on-chip oscillator.
PA6
Interrupt, In-circuit
communication data input
Interrupt, In-circuit
communication clock input
1518LED0OHSXConstant current output
1619DMI/OC
1720DPI/OC
T
T
1821USBVCCOC
1922V
2023V
DDA
DD
SPower Supply voltage 4-5.5 V
SPower Supply voltage 4-5.5 V
2124SELFOC
T
T
USB Data Minus line
USB Data Plus line
3.3 V output for USB
An external inductance must be connected to
these pins for the step up converter
Alternate function
221DIODESC
T
8/28
An external diode must be connected to this
pin for the step up converter
ST7GEME4Pin description
Table 2.Pin description (continued)
Pin number
Pin name
SO24
VFQFPN24
Type
Level
Input
Output
supplied
CARD
V
Port / Control
Input Output
int
wpu
OD
Main
function
(after reset)
PP
232GNDAS
Ground
243GNDS
14CDRVCCOC
XSmartcard supply pin
T
Figure 4.Smartcard interface reference application - 24-pin SO package
V
DD
C1
L1
D1
C4
C3
C5
C6
DIODE
GNDA
GND
CRDVCC
CRDRST
CRDCLK
C4
CRDIO
C8
CRDDET
PA0
PA1
SELF
V
DD
V
DDA
USBVcc
DP
DM
LED0
PA6
V
PP
OSCOUT
OSCIN
NC
R
LED
V
DD
C2
D+
D-
V
DD
C
L1
C
L2
Alternate function
1. Mandatory values for the external components:
C1 = 4.7 µF; C2 = 100 nF. C1 and C2 must be located close to the chip (refer to Section 4.4.2.).
C3 = 1 nF;
C4 = 4.7 µF ESR 0.5 Ω.
C5 : 470 pF;
C6 :