1、ETSI TS 102 190 1.1.1 (2003-03) Technical Specificafion Near Field Communication (NFC) IP-1; Interface and Protocol (NFCIP-1) 2 ETSI TS 102 190 V1.l.l (2003-03) Reference DTS/ECMA-00281 Keywords intetface, protocol ETSI 650 Route des Lucioles F-O6921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92 94
2、 42 O0 Fax: +33 4 93 65 47 16 Siret No 348 623 562 00017 - NAF 742 C Association but non lucratif enregistre la Sous-prfecture de Grasse (06) No 7803/88 Important notice Individual copies of the present document can be downloaded from: http:lwmv.etsi .arq The present document may be made available i
3、n more than one electronic version or in print. In any case of existing or perceived difference in contents between such versions, the reference version is the Portable Document Format (PDF). In case of dispute, the reference shall be the printing on ETSI printers of the PDF version kept on a specif
4、ic network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or change of status. Information on the current status of this and other ETSI documents is available at ha p:/pa rta I. etsi I a rgltbistat uslstatus .as p If you find
5、 errors in the present document, send your comment to: Cori vriaht Notifica tion No part may be reproduced except as authorized by written permission. The copyright and the foregoing restriction extend to reproduction in all media. O European Telecommunications Standards Institute 2003. All rights r
6、eserved. DECTTM, PLUGTESTSTMand UMTSTMare Trade Marks of ETSI registered for the benefit of its Members. TIPHONTM and the TIPHON logo are Trade Marks currently being registered by ETSI for the benefit of its Members. 3GPPTM is a Trade Mark of ETSI registered for the benefit of its Members and of the
7、 3GPP Organizational Partners. ETSI 3 ETSI TS 102 190 V1.l.l (2003-03) Contents Intellectual Property Rights . .7 Foreword . 7 Brief History .7 1 2 3 4 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 4.10 4.11 4.12 4.13 4.14 4.15 4.16 4.17 4.18 4.19 4.20 4.21 4.22 4.23 4.24 4.25 5 5.1 5.2 6 7 8 8.1 8.2 9 9.1 9.
8、2 9.2. I Scope 8 Conformance . .8 References . .8 Definitions . .8 Active communication mode 8 ASK modulation . 8 Binary Coded Decimal (BCD) . 8 Collision . 9 Frame 9 Initiator . 9 Load modulation 9 lsb fist 9 LSB first . 9 Manchester coding . 9 Modulation index . 9 msb first 9 MSB first 9 NFCIP- 1
9、device. . 9 NFC IDentifier (NFCIDn) 10 Passive communication mode 10 RF Collision Avoidance (RFCA) . SEL-PAR . . . . Subcarrier . . Target . . Time Period . Time Slot . transaction . Conventions and notations . 11 Representation of numbers . 11 Names . 11 Acronyms . 11 General .12 RF field . 13 13 1
10、3 Passive Communication Mode . Active Communication Mode RF Signal Interface. . .13 Bit duration . . Active communic . 106 kbos . 9.2.1.1 . 9.2.1.2 . 9.2.1.3 9.2.2 212 kbps and 424 kbps 9.2.2.1 9.2.1.4 Byte encoding . ETSI 4 ETSI TS 102 190 V1.l.l (2003-03) 9.2.2.2 9.2.2.3 9.2.2.4 9.3 9.3.1 9.3.1.1
11、9.3.1.2 9.3.1.3 9.3.1.4 9.3.2 9.3.2.1 9.3.2.2 9.3.2.3 9.3.2.4 9.3.2.5 9.3.2.6 9.3.3 9.3.3.1 9.3.3.2 9.3.3.3 9.3.3.4 9.3.4 9.3.4.1 9.3.4.2 9.3.4.3 9.3.4.4 Modulation 15 Bit representation and coding 16 Byte encoding . 16 Passive communication mode 17 106 kbps Initiator to Target 17 Bit rate . 17 Modu
12、lation 17 Bit representation and coding 17 Byte encoding . 17 106 kbps Target to Initiator 17 Bit rate . 17 Bit representation and coding 18 Byte encoding . 18 10 General Protocol flow 19 1 1 Initialization . 20 11.1 11.1.1 11.1.2 11.2 11.2.1 11.2.1.1 11.2.1.2 11.2.1.3 11.2.1.4 11.2.1.5 11.2.1.5.1 1
13、1.2.1.5.2 11.2.1.5.3 11.2.1.6 11.2.1.7 11.2.1.8 11.2.1.9 11.2.1.10 11.2.1.11 11.2.1.12 11.2.1.13 11.2.1.14 11.2.1.15 11.2.1.16 11.2.1.17 11.2.1.18 11.2.1.19 11.2.1.20 11.2.1.21 11.2.1.22 11.2.1.23 11.2.1.24 RF Collision Avoidance . 20 Initial RF Collision Avoidance . 21 Response RF Collision Avoidan
14、ce . 21 Passive communication mode 22 Initialization and Single Device Detection at 106 kbps 22 Frame format and timing . 22 Frame Response Time Initiator to Target 22 Frame Response time Target to Initiator . 23 Sense Guard Time . 23 Frame formats . 23 Short frame 23 Standard frame . 23 Bit oriente
15、d Single Device Detection frame 24 CRC for 106 kbps . 25 Target States 25 POWER-OFF State . 25 SENSE State . 25 RESOLUTION State . 25 SELECTED State 26 SLEEP State 26 RESOLUTION* State . 26 SELECTED* State 26 Command Set 26 SENS-REQ and ALL-REQ Command 27 27 27 28 Coding of SEL-CM 28 Coding of SEL-P
16、AR 28 Coding of SEL-RES 29 29 Select sequence flowchart 30 ETSI 5 ETSI TS 102 190 V1.l.l (2003-03) 11.2.1.25 11.2.1.26 11.2.1.27 1 1.2.2 1 1.2.2.1 11.2.2.2 11.2.2.3 11.2.2.4 11.2.2.5 11.2.2.6 11.3 11.3.1 11.3.2 11.3.2.1 SDD loop within each cascade 30 31 SLP-REQ Command 33 33 Start and end of commun
17、ication 33 Frame format . . .33 Single Device Detection at 202 kbps and 424 kbps . .34 NFCID2 contents 35 Polling Request Frame format. 35 Polling Response Frame format 35 36 Initialization at 106 kbps, 212 kbps and 424 kbps 36 Active communication mode RF Collision Avoidance .36 Collision Avoidance
18、 for Active communication mode .36 NFCID1 contents and cascade Initialization and SDD at 212 kbps and 424 kbps Active communication mode 12 Transport Protocol 37 12.1 Transport Data 37 12.2 Passive communication mode Activation flow 37 12.3 Active communication mode Activation flow 40 12.4 Commands
19、. .42 12.5 Activation of the motocol . . .42 12.5.1 12.5.1.1 12.5.1.1.1 12.5.1.2 12.5.1.2.1 12.5.1.3 12.5.1.3.1 12.5.1.3.2 12.5.1.4 12.5.1.4.1 12.5.1.4.2 12.5.1.5 12.5.1.5.1 12.5.2 12.5.2.1 12.5.2.1.1 12.5.2.2 12.5.2.2.1 12.5.2.3 12.5.2.3.1 12.5.2.3.2 12.5.3 12.5.3.1 12.5.3.1.1 12.5.3.2 12.5.3.2.1 1
20、2.5.3.3 12.5.3.3.1 12.5.3.3.2 Attribute Request and Response Commands . .42 . .42 . .42 . .44 . .44 46 Initiator rules . 46 Target rules 46 . .46 46 46 . .46 Attribute Request (ATR-REQ) . Definition of the ATR-REQ Handling of ATR-REQ and ATR- Handling of timeout TO Handling of DID Handling of DID in
21、 active Wakeup Request and Response C Wakeup Request (WUP-RE Definition of the WUP- Wakeup Response (WUP Definition of the WU Handling of WUP-REQ Parameter Selection Reques Parameter Selection Re Definition of the PSL-REQ bytes . Parameter Selection Response (PSL-RES). Definition of the PSL-RES byte
22、s Handling of PSL-REQ and PSL-RES Initiator rules . Target rules - 12.6 Data Exchange Protocol . 51 12.6.1 Data Exchange Protocol Request and Response . 51 12.6.1.1 51 12.6.1.1.1 51 53 12.6.1.2 12.6.1.2.1 Initiator rules . . .53 12.6.1.2.2 Target rules 53 12.6.1.3 Handling of Blocks . 53 General rul
23、es 53 12.6.1.3.1 12.6.1.3.2 Initiator rules . 53 12.6.1.3.3 Target rules . .54 12.6.2 Response timeout extension . .54 Data Exchange Protocol Request (DEP-REQ) and Response (DEPRES). . Definition of the Data Exchange Protocol Header bytes . Handling of Pdu number information . ETSI 6 ETSI TS 102 190
24、 V1.l.l (2003-03) 12.6.3 Attention - Target present . 54 Protocol operation . . . 54 12.6.4 Multi Activation 55 12.6.5 More information (Chaining). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
25、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55 12.6.6 12.7 Deactivation of the protocol . 56 12.7.1 Deselect Request and Response command . . . 56 Deselect request (DSL-REQ) . 56 12.7.1.1 12.7.1.1.1 Definition of DSL-REQ bytes 56 12.7.1.2 Deselect response (DSL 12.7.1.2.
26、1 Definition of Deselect Response bytes . . 57 12.7.1.3 Handling of DSL-REQ and DSL-RES . 57 12.7.1.3.1 57 12.7.1.3.2 57 . 12.7.2 Release Request and Response commands 57 12.7.2.1 Release Request (RLS 57 12.7.2.1.1 Definition of RLS- 58 12.7.2.2 Release response RLS- 58 12.7.2.2.1 Definition of RLS-
27、RES bytes 58 12.7.2.3 Handling of RLS-REQ and RLS- 58 12.7.2.3.1 58 12.7.2.3.2 58 Annex A (normative): CRC calculation . 59 A. 1 CRC for Active and Passive communication mode at 106 kbps 59 A.2 Example of CRC calculation at 106 kbps . 59 A.3 CRC for Active and Passive communication mode at 212 kbps
28、and 424 kbps 60 A.4 Example of CRC calculation at 2 12 kbps and 424 kbps 60 History . . . .6 1 ETSI 7 ETSI TS 102 190 V1.l.l (2003-03) Intellectual Property Rights IPRs essential or potentially essential to the present document may have been declared to ETSI. The information pertaining to these esse
29、ntial IPRs, if any, is publicly available for ETSI members and non-members, and can be found in ETSI SR O00 314: “Intellectual Property Rights (7PRs); Essential, orpotentially Essential, IPRs notlJied to ETSI in respect ofETSI standards“, which is available from the ETSI Secretariat. Latest updates
30、are available on the ETSI Web server (5). All published ETSI deliverables shall include information which directs the reader to the above source of information. Foreword This Technical Specification (TS) has been produced by ECMA on behalf of its members and those of the European Telecommunications
31、Standards Institute (ETSI). Brief History The present document specifies the interface and protocol for simple wireless communication between close coupled devices. These Near Field Communication (NFC) devices communicate with transfer rates of 106 kbps ,212 kbps and 424 kbps. The present document a
32、llows, but does not speciSl, applications in network products and consumer equipment. ETSI 8 ETSI TS 102 190 V1.l.l (2003-03) 1 Scope The present document defines communication modes for Near Field Communication Interface and Protocol (NFCIP-1) using inductive coupled devices operating at the centre
33、 frequency of 13,56 MHz for interconnection of computer peripherals. It also defines both the Active and the Passive communication modes of Near Field Communication Interface and Protocol (NFCIP-1) to realize a communication network using Near Field Communication devices for networked products and a
34、lso for consumer equipment. The present document specifies, in particular, modulation schemes, codings, transfer speeds, and frame format of the RF interface, as well as initialization schemes and conditions required for data collision control during initialization. Furthermore, the present document
35、 defines a transport protocol including protocol activation and data exchange methods. Information interchange between systems also requires, at a minimum, agreement between the interchange parties upon the interchange codes and the data structure. 2 Conformance A system implementing the Active and
36、the Passive communication mode shall be in conformance with the present document if it meets all the mandatory requirements specified herein. 3 Re fe re nces The following standards contain provisions which, through reference in this text, constitute provisions of the present document. All standards
37、 are subject to revision, and parties to agreements based on the present document are encouraged to investigate the possibility of applying the most recent editions of the standards indicated below. In the case of references to ECMA Standards that are aligned with ISO/IEC International Standards, th
38、e number of the appropriate ISO/IEC International Standard is given in brackets after the ECMA reference. Referenced documents which are not found to be publicly available in the expected location might be found at http:/docbox.ctsi.ora/Wefe-enci. ITU-T Recommendation V.41 (1 988): “Code-independent
39、 error-control system“. 4 Defi n it ions For the purposes of the present document, the following terms and definitions apply: 4.1 Active communication mode Both the Initiator and the Target use their own RF field to enable the communication. This is the scheme of the Active communication mode. 4.2 A
40、SK modulation ASK stands for Amplitude Shift Keying. The amplitude of the carrier frequency is modulated according to the logic of the data to be transmitted. The degree of modulation is expressed by (a - b)/(a + b) x 100 %I, where a and b respectively represent the maximum and minimum amplitudes of
41、 the modulated signal waveform. 4.3 Binary Coded Decimal (BCD) A system for representing each of the decimal numbers O to 9 by a four-bit binary code. The bits, from left to right, are worth 8,4,2 and 1 respectively in decimal, so for example the number 6 in BCD is O1 10. ETSI 9 ETSI TS 102 190 V1.l
42、.l (2003-03) 4.4 Collision Transmission by two or more Targets or Initiators during the same time period, such that the Initiator or the Target is unable to distinguish from which Target the data originated. 4.5 Frame Sequence of data bits and optional error detection bits, with frame delimiters at
43、start and end. 4.6 Initiator Generates the RF field and starts the NFCIP-1 communication. 4.7 Load modulation Process of amplitude modulating a radio frequency field by varying the properties of a resonant circuit placed within the radio frequency field. 4.8 Isb first least significant bit fiist. In
44、dicates a serial data transmission system that sends lsb before all other bits. 4.9 LSB first Least Significant Byte first. Indicates a serial data transmission system that sends LSB before all other bytes. 4.1 O Manchester coding Method of bit coding whereby a logic level during a bit duration is r
45、epresented by a sequence of two defined physical states of a communication medium. The order of the physical states within the sequence defines the logical state. The coding system which divides into half at the changing point in the middle point of bit self-sustaining time, and makes the direction
46、of the changes correspond to two logic value. 4.1 1 Modulation index Defined as (a - b)/(a + b) where a and b are the peak and the minimum signal amplitude respectively with the value of the index possibly expressed as a percentage. When the maximum amplitude of the modulated signal waveform is set
47、to a and the minimum value is set to b, the degree of abnormal conditions is usually expressed as a percent. 4.12 msb first most significant bit. Indicates a serial data transmission system that sends the msb before all other bits. 4.1 3 MSB first Most Significant Byte. Indicates a serial data trans
48、mission system that sends the MSB before all other bytes. 4.14 NFCIP-1 device General term for either an Initiator or a Target communicating in the Active or the Passive communication mode. ETSI 10 ETSI TS 102 190 V1.l.l (2003-03) 4.15 NFC IDentifier (NFCIDn) NFCIDn is a randomly generated number us
49、ed by the RF Collision Avoidance and Single Device Detection sequence for both the Active and the Passive communication modes. 4.16 Passive communication mode The Initiator is generating the RF field and the Target responds to an Initiator command in a load modulation scheme. 4.17 RF Collision Avoidance (RFCA) Method to detect the presence of a RF field based on the carrier frequency and method to detect and resolve collisions on protocol level