ST7GEME4
Full-speed USB MCU with smartcard firmware
and EMV/non-EMV interface
Features
24
■
Clock, reset and supply management
– Low voltage reset
– Halt power saving mode
– PLL for generating 48 MHz USB clock
using a 4 MHz crystal
USB (Universal Serial Bus) interface
– USB 2.0 compliant
– CCID V1.0
– Full speed, hubless
– Bus-powered, low consumption
Serial RS232 interface
– Transmission rate: 9.6 Kbps to 115 Kbps
– Format: 8-bit, no parity
– Auto baud rate
– CCID V1.0 on serial TTL link
ISO 7816-3 UART interface
– 4 Mhz clock generation
– Synchronous/Asynchronous protocols
(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
■
1
VFQFPN24
SO24(9U)
■
■
– Internal Step-up converter for 5V supplied
Smartcards (with a current 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 performance
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.
Smartcard power supply
– Selectable card V
CC
: 1.8 V, 3 V, and 5 V
Table 1.
Device summary
■
Order codes
Features
ST7GEME4M1
Program memory
User RAM + USB data buffer (bytes)
Peripherals
Operating Supply
Package
CPU Frequency
Operating temperature
SO24
4 or 8 MHz
0 to +70 °C
16K ROM
512 + 256
USB Full-Speed (7 Ep), TBU, Watchdog timer, ISO 7816-3 Interface
4.0 to 5.5 V
VFQFPN24
ST7GEME4U1
September 2007
Rev 2.0
1/28
www.st.com
1
Contents
ST7GEME4
Contents
1
2
3
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
ST7GEME4 implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.1
3.2
3.3
Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Smartcard interface features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
EMV versus PC/SC-ISO mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4
Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.1
4.2
4.3
4.4
Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Recommended operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Supply and reset characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Clock and timing characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.4.1
4.4.2
General timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Crystal resonator oscillators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.5
4.6
4.7
Memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Smartcard supply supervisor electrical characteristics . . . . . . . . . . . . . . 19
EMC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.7.1
4.7.2
4.7.3
Functional EMS (electromagnetic susceptibility) . . . . . . . . . . . . . . . . . . 21
Electromagnetic interference (EMI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Absolute maximum ratings (electrical sensitivity) . . . . . . . . . . . . . . . . . 23
4.8
Communication interface characteristics . . . . . . . . . . . . . . . . . . . . . . . . . 24
5
Package characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
5.1
Package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
2/28
ST7GEME4
List of tables
List of tables
Table 1.
Table 2.
Table 3.
Table 4.
Table 5.
Table 6.
Table 7.
Table 8.
Table 9.
Table 10.
Table 11.
Table 12.
Table 13.
Table 14.
Table 15.
Table 16.
Table 17.
Table 18.
Table 19.
Table 20.
Table 21.
Table 22.
Table 23.
Table 24.
Table 25.
Table 26.
Table 27.
Device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Technical features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
General operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Current injection on I/O port and control pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
I/O port pins characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
LED pins characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Low voltage detector and supervisor characteristics (LVDS) . . . . . . . . . . . . . . . . . . . . . . . 16
General timings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
External clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Crystal resonator oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Typical crystal resonator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Recommended values for 4 MHz crystal resonator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
RAM and hardware registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Smartcard supply supervisor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
EMS characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
EMI characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Electrical sensitivities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
USB DC electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
USB full speed electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
24-lead very thin fine pitch quad flat no-lead 5x5mm,0.65mm pitch, mechanical data. . . . 25
24-pin plastic small outline package- 300-mil width, mechanical data . . . . . . . . . . . . . . . . 26
Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3/28
List of figures
ST7GEME4
List of figures
Figure 1.
Figure 2.
Figure 3.
Figure 4.
Figure 5.
Figure 6.
Figure 7.
Figure 8.
Figure 9.
ST7GEME4 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
24-lead VFQFPN package pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
24-pin SO package pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Smartcard interface reference application - 24-pin SO package . . . . . . . . . . . . . . . . . . . . . 9
Typical application with an external clock source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Typical application with a crystal resonator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
USB data signal rise and fall time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
24-lead very thin fine pitch quad flat no-lead 5x5 mm 0.65 mm pitch, package outline . . . 25
24-pin plastic small outline package- 300-mil width, package outline. . . . . . . . . . . . . . . . . 26
4/28
ST7GEME4
Introduction
1
Introduction
The ST7GEME4 device is a member of the ST7 microcontroller 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 are 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
option)
8-bit timer (TBU)
●
●
●
●
5/28