전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN2284 데이터시트(PDF) 19 Page - STMicroelectronics

부품명 AN2284
상세설명  Smart Card Interface with the STR71xx
PDF  40 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2284 데이터시트(HTML) 19 Page - STMicroelectronics

Back Button AN2284 Datasheet HTML 15Page - STMicroelectronics AN2284 Datasheet HTML 16Page - STMicroelectronics AN2284 Datasheet HTML 17Page - STMicroelectronics AN2284 Datasheet HTML 18Page - STMicroelectronics AN2284 Datasheet HTML 19Page - STMicroelectronics AN2284 Datasheet HTML 20Page - STMicroelectronics AN2284 Datasheet HTML 21Page - STMicroelectronics AN2284 Datasheet HTML 22Page - STMicroelectronics AN2284 Datasheet HTML 23Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 19 / 40 page
background image
AN2284
7 ISO 7816-3 - Electronic Signal and Transmission Protocol
19/40
7.1
ISO 7816-4 - Smart Card Commands
The previous chapter discussed the answer-to-reset (ATR) mechanism, which establishes a
basic communication channel between the smart card and the reader. This channel is a half-
duplex physical channel. This chapter investigates the use of more complex protocols on top of
this physical channel.
A link-level communication protocol resides directly on top of the physical channel, providing
error-free communication between the reader and the smart card. Once this link level protocol
is established, application-level protocols can be defined. ISO 7816-4 defines two such
application-level protocols:
●
File system API providing a set of functions to manipulate files (e.g. read, write, select etc.)
●
Security service API allowing the smart card and the reader to mutually authenticate
themselves and also to encrypt data to be exchanged between the card and the reader.
ISO 7816-4 defines a protocol message structure to support the application protocol APIs. This
message structure consists of application protocol data units (APDUs) which are exchanged
between the reader application and the smart card application by the link level protocol. This
chapter will provide an overview of the file access and security APIs. A more detailed
description can be found in Appendix A, "The ISO 7816-4 Command set".
7.1.1
The T0 Protocol
The T=0 protocol is a byte-oriented protocol where a character is transmitted across the
channel between the reader and the card. In addition, error handling is performed on each byte
by looking at the parity bit. If the actual parity bit does not correspond to the parity of the
transmitted data, then an error must have occurred. In the T=0 protocol, the receiving side
signals that it requires the byte to be retransmitted in the case of detecting a parity error. This is
done by holding the I/O line low (normally the I/O line is set high preceding the transfer of a
byte). When the transmitting side detects this, it resends the byte that was previously received
in error.
The reader and the smart card exchange data structures known as transmission protocol data
units (TPDUs). It consists of two distinct structures:
●
a command that is sent from the reader to the card
●
a response that is sent from the card to the reader
The command header includes the following five fields each of one byte in length:
●
CLA: class designation of the command set to establish a collection of instructions
●
INS: specifies a specific instruction from within the set of instructions
●
P1: used to specify the addressing used by the [CLA, INS] instruction
●
P2: also used to specify the addressing used by the [CLA, INS] instruction
●
P3: specifies the number of data bytes transferred to or from the card as part of the [CLA,
INS] instruction execution.
Each value of CLA defines an application-specific set of instructions. Table 5. below lists values
for some sets of instructions.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com