Licence Agreement
You are about to download material which is subject to strict copyright conditions. Please read
these terms and conditions carefully. By accepting them, you are entering into a binding
contract. In all countries, there are civil and criminal penalties for copyright infringements.
The document you download is the copyright of ISO, and may not be stored, reproduced,
transferred or resold by any means, except as follows.
The document is a single-user, non-revisable Adobe Acrobat PDF file. You are purchasing a
single-user licence to store this file on your personal computer.
You may print out and retain ONE printed copy of the PDF file.
This single-user licence and permission to print one copy is valid for each purchased and paid
copy.
This printed copy is fully protected by national and international copyright laws, and may not be
photocopied or reproduced in any form. Under no circumstances may it be resold. Under no
circumstances may the electronic file you are licencing be copied, transferred, or placed on a
network of any sort.
If you have any difficulties concerning the above terms or if you have any
question regarding the ISO copyright, please contact us:
ISO copyright Office
Case postale 56
CH-1211 Geneva 20
Fax +41 22 749 09 47
E-mail copyright@iso.org
INTERNATIONAL
STANDARD
ISOAEC
7816-3
Second edition
1997-12-15
Information technology - Identification
cards - Integrated circuit(s) cards with
contacts -
Part 3:
Electronic signals and transmission protocols
Technologies de I’in formation - Carfes d’identification - Cartes ti circuit(s)
intkgrk(s) 2 contacts -
Parfie 3: Signaux glectroniques et protocoles de transmission
Reference number
ISO/I EC 7816-3: 1997(E)
Licensed to SPREADTRUM COMMUNICATIONS CORP/PING WU
ISO Store order #: 578426/Downloaded: 2004-01-15
Single user licence only, copying and networking prohibited
ISO/IEC 7816=3:1997(E)
Contents Page
Foreword . . . . . . . . . . , . . . . , . . . . , . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
Introduction , , . . . . . . . . . . , . . . . . . . . . . , . . . . . . . . . . . . , . . . . . . . . . . . . . . . . . , , , . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iv
Scope ........................................................................................ 1
Normative references .................................................................... 1
Terms and definitions .................................................................... 1
Electrical characteristics ................................................................ 2
4.1 General ................................................................................................................... ....... 2
42 Operating conditions ..................................................................................................... 2
4.3 Voltage and current values ........................................................................................... 3
Card operating procedure ............................................................... 6
5.1 General overview .......................................................................................................... 6
52 Activation ....................................................................................................................... 6
5.3 Information exchange ................................................................................................... 6
5.4 Deactivation .................................................................................................................. 7
Answer-to-Reset ........................................................................... 8
6.1 General configuration ................................................................................................... 8
62 Parameter T ................................................................................................................... 8
6.3 Asynchronous character ............................................................................................... 9
6.4 Answer-to-Reset structure ....................................................................................... 10
6.5 Content of the global interface bytes ........................................................................ 11
6.6 Modes of operation ..................................................................................................... 13
Protocol and parameters selection .................................................. 14
7.1 General ......................................................................................................................... 14
72 PPS protocol ................................................................................................................ 14
7.3 Structure and content of PPS request and response .............................................. 14
7.4 Successful PPS exchange .......................................................................................... 15
Protocol T=O, half-duplex transmission of asynchronous characters .... 15
8.1 Scope ............................................................................................................................ 15
82 Character level ............................................................................................................ 15
8.3 Structure and processing of commands ................................................................... 15
Protocol T=l , half-duplex asynchronous transmission of blocks .......... 17
9.1 Scope and principles ................................................................................................... 17
92 Terms and definitions ................................................................................................. 17
9.3 Character frame .......................................................................................................... 18
9.4 Block frame ................................................................................................................. 18
9.5 Protocol parameters ................................................................................................... 20
9.6 Character component operation at data link layer ................................................... 21
9.7 Block component operation at data link layer .......................................................... 21
Annex A (informative) Scenarios for T=l . , . . . , . . . . . . . , . . . . , . . . . . . . . . . . . . . . , . . . . . . . . 24
0 ISO/IEC 1997
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or
utilized in any form or by any means, electronic or mechanical, including photocopying and
microfilm, without permission in writing from the publisher.
lSO/lEC Copyright Office l Case postale 56 l CH-1211 Geneve 20 l Switzerland
Printed in Switzerland
ii
Licensed to SPREADTRUM COMMUNICATIONS CORP/PING WU
ISO Store order #: 578426/Downloaded: 2004-01-15
Single user licence only, copying and networking prohibited
0 lSO/IEC ISO/IEC 7816-3:1997(E)
Foreword
IS0 (the International Organization for Standardization) and IEC (the International
Electrotechnical Commission) form the specialized system for worldwide
standardization. National bodies that are members of IS0 or IEC participate in the
development of International Standards through technical committees esta-
blished by the respective organization to deal with particular fields of technical
activity. IS0 and IEC technical committees collaborate in fields of mutual interest.
Other international organizations, governmental and non-governmental, in liaison
with IS0 and IEC, also take part in the work.
In the field of information technology, IS0 and IEC have established a joint
technical committee, lSO/IEC JTC 1. Draft International Standards adopted by the
joint technical committee are circulated to national bodies for voting. Publication
as an International Standard requires approval by at least 75 % of the national
bodies casting a vote.
International Standard lSO/IEC 7816-3 was prepared by Joint Technical
Committee lSO/IEC JTC 1, Information technology, Subcommittee SC 17,
/den tifica tion cards and related devices.
This second edition cancels and replaces the first edition (lSO/IEC 7816-3:1989),
which has been technically revised. It also incorporates Amendment 1 :I992 and
Amendment 2: 1994.
lSO/IEC 7816 consists of the following parts, under the general title Information
technology - /den tifica tion cards - Integrated circuit(s) cards with contacts:
- Part I: Physical characteristics
- Part 2: Dimensions and location of the contacts
- Part 3: Electronic signals and transmission protocols
- Part 4: Interindustry commands for interchange
- Part 5: Numbering
identifiers
sys tern and registration procedure for application
- Part 6: Interindustry data elements
- Part 7: Interindustry commands for structured card query language
Annex A of this part of lSO/IEC 7816 is for information only.
. . .
III
Licensed to SPREADTRUM COMMUNICATIONS CORP/PING WU
ISO Store order #: 578426/Downloaded: 2004-01-15
Single user licence only, copying and networking prohibited
ISO/lEC 7816=3:1997(E) 0 ISO/IEC
Introduction
lSO/IEC 7816 is a series of International Standards describing the parameters
for integrated circuit(s) cards with contacts and the use of such cards for
international interchange.
The integrated circuit(s) cards with contacts are identification cards intended
for information exchange negotiated between the outside and the integrated
circuit within the card. During each information exchange, the card delivers
information (computation results, stored data) and/or modifies its content (data
storage, event memorization).
During the preparation of this International Standard, information was gathered
concerning relevant patents upon which application of this standard might
depend. Relevant patents were identified in France and USA, the patent holder
being Bull S.A. in each case. However, IS0 cannot give authoritative or
comprehensive information about the evidence, validity or scope of the patents
or similar rights.
The patent holder has stated that licenses will be granted in appropriate terms
to enable the application of this part of ISO/IEC 7816, provided that those who
seek licenses agree to reciprocate.
Further information is available from
BULL S.A.
BP 45
F 78430 Louveciennes
FRANCE
iv
Licensed to SPREADTRUM COMMUNICATIONS CORP/PING WU
ISO Store order #: 578426/Downloaded: 2004-01-15
Single user licence only, copying and networking prohibited
INTERNATIONAL STANDARD @ ‘SolEC ISO/IEC 7816=3:1997(E)
Information technology - Identification cards
- Integrated circuit(s) cards with contacts -
Part 3:
Electronic signals and transmission protocols
1 Scope
This part of lSO/IEC 7816 specifies the power and signal
structures, and information exchange between an
integrated circuit(s) card and an interface device such as
a terminal.
It also covers signal rates, voltage levels, current values,
parity convention, operating procedure, transmission
mechanisms and communication with the card.
It does not cover information and instruction content,
such as identification of issuers and users, services and
limits, security features, journaling and instruction
definitions.
2 Normative references
The following standards contain provisions which, through
reference in this text, constitute provisions of this part of
lSO/IEC 7816. At the time of publication, the editions
indicated were valid. All standards are subject to revision,
and parties to agreements based on this part of
lSO/IEC 7816 are encouraged to investigate the possibility
of applying the most recent editions of the standards
listed below. Members of IS0 and IEC maintain registers
of currently valid International Standards.
IS0 1177:1985, Information processing - Character
structure for start/s top and synchronous character
oriented transmission.
ISO/I EC 3309: 1993, lnforma tion technology - Tele-
communications and information exchange between
sys terns - High-level data link control (HDLC) procedures
- Frame structure,
lSO/IEC 7810:1995, Identification cards - Physical
characteris tics.
I) Currently under revision.
IS0 7816-l :1987? Identification cards - Integrated
circuit(s) cards with contacts - Part I: Physical
characteris tics.
IS0 7816-2:1988? Identification cards - Integrated
circuit(s) cards with contacts - Part 2: Dimensions and
location of the contacts.
ISO/I EC 7816-4: 1995, Information technology - Identifi-
cation cards - Integrated circuit(s) cards with contacts
- Part 4: In terindustry commands for interchange.
3 Terms and definitions
The term “identification card” is defined in lSO/lEC 7810.
For the purposes of this part of lSO/IEC 7816, the follow-
ing definitions apply.
3.1 devices
3.1.1
interface device
terminal, communication device or machine to which the
card is electrically connected during operation
3.1.2
operating card
card which can correctly carry out all its functions
3.2
etu (abbreviation for “elementary time unit”)
nominal duration of a moment on contact I/O
3.3 resets
3.3.1
cold reset
first reset occurring after activation
3.3.2
warm reset
any reset which is not a cold reset
Licensed to SPREADTRUM COMMUNICATIONS CORP/PING WU
ISO Store order #: 578426/Downloaded: 2004-01-15
Single user licence only, copying and networking prohibited
ISO/IEC 7816=3:1997(E) 0 ISO/IEC
For the purposes of this part of iSO/IEC 7816, the follow-
ing notations apply.
state H high state logic level
state L low state logic level
state Z mark or high state, as defined in IS0 1177
state A space or low state, as defined in IS0 1177
‘XY’ hexadecimal notation, equal to XY to the base 16
4 Electrical characteristics
4.1 General
4.1.1 Electrical circuits
Contact
porting
GND
vcc
I/O
CLK
RST
VPP
assignments are specified in IS0 7816-2, sup-
at least the following electrical circuits.
ground, reference voltage
power supply input
input or output for serial data
clock signal input
reset signal input
programming power input, optional use by the
card
4.1.2 Abbreviations
For the purpose
tions apply.
s of this clause, the following abbrevia-
GN
c OUT
I cc
I IH
I IL
/OH
/OL
I PP
tF
tR
kc
KH
KL
VOH
V OL
V PP
2
input capacitance
output capacitance
current at VCC
high level input current
low level input current
high level output current
low level output current
current at VPP
fall time, from 90 % to 10 % of signal amplitude
rise time, from 10 % to 90 % of signal amplitude
voltage at VCC
high level input voltage
low level input voltage
high level output voltage
low level output voltage
voltage at VPP
4.2 Operating conditions
4.2.1 Classes of operating conditions
This part of lSO/IEC 7816 defines two classes of operat-
ing conditions. Through contact VCC, the interface device
shall provide to the card the following nominal supply
voltage:
e 5 V under class A,
l 3 V under class B.
Consequently, cards and interface devices shall work
either in class A only, or in class B only, or in class A and
in class B, denoted as class AB later on.
Class A cards shall operate with class A and class AB
interface devices. Class AB cards shall operate with
class A, class B and class AB interface devices. Class B
cards shall operate with class B and class AB interface
devices; they shall be designed in such a way that they
will not be damaged under class A operating conditions
(by definition, a damaged card no longer operates as
specified or contains corrupt data).
4.2.2 Selection of the operating class
Figure 1 shows the decisions to be made by an interface
device in selecting the class of operating conditions to be
applied to a card. Decisions shown are based upon
information implicit in the interface device, except where
the word “card” is present.
When available in the interface device, the first operating
conditions to be applied to the card shall be class B.
Und er class A operating conditi ons, a class B card shall
not provide an Answer-to-Reset (see 6).
If the card does not provide an Answer-to-Reset, then the
interface device shall deactivate the card; after a delay of
at least 10 ms, the interface device shall apply the
operating conditions of the next available class.
If the card provides an Answer-to-Reset without a class
indicator (see 6.5.6), then the interface device shall apply
or maintain class A operating conditions when available,
or deactivate the card.
If the card provides an Answer-to-Reset with a class
indicator, and the interface device is applying a class of
operating conditions supported by the card, then normal
operation may continue.
If the Answer-to-Reset does
of operating conditions, but
the interface device, then
deactivate the card; after a
interface device shall apply
that class.
not indicate the current class
another class supported by
the interface device shall
delay of at least 10 ms, the
the operating conditions of
NOTE - Some cards conforming to ISO/lEC 781&3:1989 could be
damaged when operating under class B conditions and should be used
only in class A interface devices.
Licensed to SPREADTRUM COMMUNICATIONS CORP/PING WU
ISO Store order #: 578426/Downloaded: 2004-01-15
Single user licence only, copying and networking prohibited
admin
高亮
admin
高亮
admin
高亮
admin
高亮
admin
高亮
admin
高亮
admin
高亮
在进行卡类别辨别的时候,使用的是10ms的间隔时间
0 lSO/IEC ISO/IEC 7816-3:1997(E)
Start with lowe
available Volta,, ,
Apply next higher class
No
Delay
\/ I I De-activate I
/ Current classVes
/ Card indicates -es Current clas
De-activate
under class A
Figure 1 - Selection of the class of operating conditions by the interface device
4.3 Voltage and current values
4.3.1 Measurement conventions
All measurements are defined with respect to contact GND and in an ambient temperature range from 0” C to 50” C. All
currents flowing into the card are considered positive. All timings shall be measured with respect to the appropriate
threshold levels as defined in 4.32 to 4.3.6.
An electrical circuit is not active when the voltage with respect to contact GND remains between 0 V and 0,4 V for currents
less than 1 mA flowing into the interface device.
4.3.2 WC
This contact is used to provide the card with the power supply. In table 1, the current value is averaged over 1 ms. The
maximum current is defined for the card. The interface device shall be able to deliver this current within the range
specified for the voltage values and may deliver more.
Symbol
kc
Table 1 - Electrical characteristics of VCC under normal operating conditions
Conditions Minimum Maximum Unit
Class A 4,5 5,5
Class B 287 313
V
kc
Class A, at maximum allowed frequency
Class B, at maximum allowed frequency
When the clock is stopped (see 5.3.4)
60
50 mA
0,5
3
Licensed to SPREADTRUM COMMUNICATIONS CORP/PING WU
ISO Store order #: 578426/Downloaded: 2004-01-15
Single user licence only, copying and networking prohibited
admin
高亮
admin
高亮
admin
高亮
这里该怎么判断?
admin
高亮
下面的状态是在A CLASS下正常运行,但是这里已经去激活,怎么还能正常运行呢?
admin
高亮
admin
高亮
admin
高亮
lSO/lEC 7816=3:1997(E) 0 ISO/IEC
The power supply shall maintain the voltage value in the specified range despite transient power consumption as defined
in table 2.
Table 2 - Spikes on I&
Class Maximum charge a Maximum duration Maximum varia