Smartcard Presence Detect; Smartcard Automatic Powerdown; Figure 25-13 Two Methods Of Smartcard Hookup To Mc9328Mx1 Sim Port - Motorola DragonBall MC9328MX1 Reference Manual

Integrated portable system processor
Table of Contents

Advertisement

MC9328MX1
MC9328MX1
Figure 25-13. Two Methods of SmartCard Hookup to MC9328MX1 SIM Port

25.4.2 SmartCard Presence Detect

The SIMPD input allows for detection of the insertion or removal of a SmartCard. The SPDS control bit in
the PORT_DETECT register allows the software to configure which edge of the SIMPD pin causes a
presence detect event. A maskable interrupt can be generated when a SIMPD event occurs.

25.4.3 SmartCard Automatic Powerdown

When interfacing to the SmartCard, a particular sequence must be followed when powering up and down.
The SIM port controller block contains hardware that provides the correct sequence to power down a
SmartCard (see Figure 25-14). The power up sequence must be performed through software control over
the pin control bits supplied in the PORT_CNTL registers.
The powerdown sequence is specified in ISO 7816 as:
1. RST transitions from high to low.
2. CLK is turned off to a low.
3. I/O transitions from tri-state to low.
4. SIM Vcc is turned off.
MOTOROLA
Method 1
SVEN
RST
CLK
DATA_RCV/XMT
SIMPD
Method 2
SVEN
RST
CLK
DATA_XMT
DATA_RCV
SIMPD
*Requires MC9328MX1 SIM Port I/O programmed to 2.7V
SmartCard Interface Module (SIM)
SmartCard Vcc
GCAP
SmartCard RST
LS3_TX
SmartCard CLK
SmartCard DATA
LS3_RX
SIM Port Controller
3 Volt
SmartCard*
5 Volt
SmartCard
25-15

Advertisement

Table of Contents
loading

Table of Contents