CAN CSA-ISO IEC 14443-4D-2015 Identification cards - Contactless integrated circuit cards - Proximity cards - Part 4 Transmission protocol AMENDMENT 4 Frame with error correction.pdf

上传人:diecharacter305 文档编号:590405 上传时间:2018-12-15 格式:PDF 页数:22 大小:2.39MB
下载 相关 举报
CAN CSA-ISO IEC 14443-4D-2015 Identification cards - Contactless integrated circuit cards - Proximity cards - Part 4 Transmission protocol AMENDMENT 4 Frame with error correction.pdf_第1页
第1页 / 共22页
CAN CSA-ISO IEC 14443-4D-2015 Identification cards - Contactless integrated circuit cards - Proximity cards - Part 4 Transmission protocol AMENDMENT 4 Frame with error correction.pdf_第2页
第2页 / 共22页
CAN CSA-ISO IEC 14443-4D-2015 Identification cards - Contactless integrated circuit cards - Proximity cards - Part 4 Transmission protocol AMENDMENT 4 Frame with error correction.pdf_第3页
第3页 / 共22页
CAN CSA-ISO IEC 14443-4D-2015 Identification cards - Contactless integrated circuit cards - Proximity cards - Part 4 Transmission protocol AMENDMENT 4 Frame with error correction.pdf_第4页
第4页 / 共22页
CAN CSA-ISO IEC 14443-4D-2015 Identification cards - Contactless integrated circuit cards - Proximity cards - Part 4 Transmission protocol AMENDMENT 4 Frame with error correction.pdf_第5页
第5页 / 共22页
亲,该文档总共22页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

1、 ISO/IEC 2014. CSA Group 2015. All rights reserved. Unauthorized reproduction is strictly prohibited.Amendment 4:2015 (IDT) toCAN/CSA-ISO/IEC 14443-4:09(ISO/IEC 14443-4:2008, IDT)National Standard of CanadaAmendment 4:2015 (IDT) to CAN/CSA-ISO/IEC 14443-4:09Identification cards Contactless integrate

2、d circuit cards Proximity cards Part 4: Transmission protocolAMENDMENT 4: Frame with error correction(ISO/IEC 14443-4:2008, IDT)Standards Update ServiceAmendment 4:2015 (IDT) to CAN/CSA-ISO/IEC 14443-4:09December 2015Title: Identification cards Contactless integrated circuit cards Proximity cards Pa

3、rt 4: Transmission protocolAMENDMENT 4: Frame with error correctionTo register for e-mail notification about any updates to this publication go to shop.csa.ca click on CSA Update ServiceThe List ID that you will need to register for updates to this publication is 2424065.If you require assistance, p

4、lease e-mail techsupportcsagroup.org or call 416-747-2233.Visit CSA Groups policy on privacy at www.csagroup.org/legal to find out how we protect yourpersonal information.Identification cards Contactless integrated circuit cards Proximity cards Part 4: Transmission protocolAMENDMENT 4: Frame with er

5、ror correctionCartes didentification Cartes circuit(s) intgr(s) sans contact Cartes de proximit Partie 4: Protocole de transmissionAMENDEMENT 4: Trame avec correction derreur ISO/IEC 2014INTERNATIONAL STANDARDISO/IEC14443-4Second edition2008-07-15Reference numberISO/IEC 14443-4:2008/Amd.4:2014(E)AME

6、NDMENT 42014-01-15ISO/IEC 14443-4:2008/Amd.4:2014(E)ii ISO/IEC 2014 All rights reservedCOPYRIGHT PROTECTED DOCUMENT ISO/IEC 2014All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized otherwise in any form or by any means, electronic or mechanical,

7、including photocopying, or posting on the internet or an intranet, without prior written permission. Permission can be requested from either ISO at the address below or ISOs member body in the country of the requester.ISO copyright officeCase postale 56 CH-1211 Geneva 20Tel. + 41 22 749 01 11Fax + 4

8、1 22 749 09 47E-mail copyrightiso.orgWeb www.iso.orgAmendment 4:2015 (IDT) toCAN/CSA-ISO/IEC 14443-4:13ISO/IEC 14443-4:2008/Amd.4:2014(E)ForewordISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide

9、standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the respective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fiel

10、ds of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1.International Standards are drafted in

11、 accordance with the rules given in the ISO/IEC Directives, Part 2.The main task of the joint technical committee is to prepare International Standards. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as an Internationa

12、l Standard requires approval by at least 75 % of the national bodies casting a vote.Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights.Amendment

13、4 to ISO/IEC 14443-4:2008 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 17, Cards and personal identification. ISO/IEC 2014 All rights reserved iiiAmendment 4:2015 (IDT) toCAN/CSA-ISO/IEC 14443-4:13Identification cards Contactless integrated circuit

14、 cards Proximity cards Part 4: Transmission protocolAMENDMENT 4: Frame with error correctionPage 2, NOTE in 3.4Replace NOTE with“NOTE The PICC independent from its type may use the frame with error correction defined in clause 10. Alternatively the PICC Type A may use one of the standard frames defi

15、ned for Type A and the PICC Type B may use the frame defined for Type B. This Type B frame is called standard frame, too, within this specification.“Page 2, Clause 4Add new symbols and abbreviations in alphabetic order“A Hamming control bits generation matrix (6 rows, 56 columns)CRC_32 Cyclic Redund

16、ancy Check error detection code used within enhanced blockcnHamming control bit nd vector containing 56 data bitsdndata bit nH matrix needed to calculate Hamming syndrome s (6 rows, 62 columns)hm,nelement in row m and column n of matrix HnullHnull matrix needed to get matrix A (6 rows, 62 columns)hn

17、ullncolumn vector of matrix HnullI6x66 by 6 Identity matrixLEN two bytes LENgth field used within enhanced blockn column indexm row indexSYNC SYNChronization sequences 6-bit vector containing Hamming syndromeISO/IEC 14443-4:2008/Amd.4:2014(E) ISO/IEC 2014 All rights reserved 1Amendment 4:2015 (IDT)

18、toCAN/CSA-ISO/IEC 14443-4:13ISO/IEC 14443-4:2008/Amd.4:2014(E)s error position codes error positiony 62-bit vector (ynull with no padding bits)y 64-bit vector containing received modified Hamming sub-blockynreceived bit n in each modified Hamming sub-block“Page 14, 7.1Replace first paragraph with“Th

19、e block format depends on the frame format used for its transmission.The standard block format as specified in Figure 14 shall be used in standard frames as defined in ISO/IEC 14443-3 and consists of: a prologue field (mandatory); an information field (optional); a two-byte epilogue field (mandatory

20、).The enhanced block format specified in Figure 15 shall be used in frames with error correction as defined in Clause 10 and consists of: a length field (mandatory); a prologue field (mandatory); an information field (optional); a four-byte epilogue field (mandatory).“Page 15, after Figure 14Add a n

21、ew Figure 15, renumber all figures, add new subclause 7.1.1 and renumber all subsequent subclauses.“NOTE The items in brackets indicate optional requirements.2 ISO/IEC 2014 All rights reservedAmendment 4:2015 (IDT) toCAN/CSA-ISO/IEC 14443-4:13ISO/IEC 14443-4:2008/Amd.4:2014(E)PCB CID NAD1 byte 1 byt

22、e 1 bytePrologue field Information fieldINFEpilogue fieldEDC4 bytesFSD / FSCLength fieldLEN2 bytesError Detection Code Figure 15 Enhanced block format7.1.1 Length fieldThe two-byte length field shall contain the total number of bytes contained in the following fields: Length field; Prologue field; I

23、nformation field.Least significant byte is transmitted first, then most significant byte.“Page 18, 7.1.3 (renumbered to 7.1.4)Replace 7.1.4 with“7.1.4 Epilogue fieldThe epilogue field contains the EDC of the transmitted block. A transmitted block shall be considered correct if it is received with a

24、valid EDC value.The EDC of standard blocks shall be the CRC defined in ISO/IEC 14443-3. Type A PICCs shall use CRC_A and Type B PICCs shall use CRC_B in both directions.The EDC of enhanced blocks shall be CRC_32 as defined below.The CRC_32 uses polynomial = 04C11DB7 with initial value = FFFFFFFF and

25、 reflected bit order (LSB first). The final CRC value is bit-inverted before transmission and the least significant byte is transmitted first. Refer to ISO/IEC 13239 for further details. A code sample and an example are given in Annex E.“Page 23, 7.5.6Replace first sentence with“When at least one er

26、ror is detected (after the optional error recovery mechanism see 10.4.7) the following recovery rules shall be applied.”Page 25, before Annex AAdd a new clause 10 with the following: ISO/IEC 2014 All rights reserved 3Amendment 4:2015 (IDT) toCAN/CSA-ISO/IEC 14443-4:13ISO/IEC 14443-4:2008/Amd.4:2014(

27、E)“10 Frame with error correction10.1 GeneralFrames with error correction as specified in 10.2 and 10.3 shall be used after their activation as specified in 10.5. An example is given in Annex F.10.2 Type A PCD frame format for bit rates up to fc/16 and higher than fc/2 and Type A PICC frame format f

28、or all bit ratesFrames with error correction, as defined in Figure 27, shall be used for data exchange and consist of, in the following order: start of communication; SYNC; enhanced block with error correction (see 10.4); end of communication.SYNC consists of 6 dedicated bytes with the value 5555747

29、47474 transmitted in this order.SYNC and enhanced blocks with error correction shall be transmitted as bytes consisting of 8 bits.NOTE Parity bits (see ISO/IEC 14443-3, 6.2.3.2) are not used.SYNC Enhanced block with error correction ESFigure 27 Frame with error correction10.3 Type A PCD frame format

30、 for bit rates of fc/8, fc/4 and fc/2 and Type B PCD and PICC frame format for all bit ratesFrames with error correction, as defined in Figure 28, shall be used for data exchange and consist of, in the following order: SOF as defined in ISO/IEC 14443-3, 7.1.4; SYNC as defined in 10.2 transmitted as

31、characters as defined in ISO/IEC 14443-3, 7.1.1; enhanced block with error correction (see 10.4) transmitted as characters as defined in ISO/IEC 14443-3, 7.1.1; EOF as defined in ISO/IEC 14443-3, 7.1.5.No character separation shall be applied in frames with error correction.SOF, EOF, start bit, stop

32、 bit and SYNC may be suppressed in accordance with 10.5.SYNC Enhanced block with error correction EOFSOFFigure 28 Frame with error correction4 ISO/IEC 2014 All rights reservedAmendment 4:2015 (IDT) toCAN/CSA-ISO/IEC 14443-4:13ISO/IEC 14443-4:2008/Amd.4:2014(E)10.4 Enhanced block with error correctio

33、n10.4.1 GeneralEnhanced block with error correction shall be composed of one or several 8-byte modified Hamming sub-blocks, each of them being calculated from 7-byte sub-blocks from enhanced block (see Figure 29).Enhanced block (see Figure 15)Enhanced block with error correctionData bytes 1n CRC 32P

34、rologue LengthModified Hamming Sub-block i1 2 hh-1 .Figure 29 Enhanced block with error correction10.4.2 Modified Hamming Sub-block formatEach modified Hamming sub-block shall consist of 7 bytes from enhanced block, followed by one Hamming control byte used to correct one single-bit error on the Ham

35、ming sub-block.Modified Hamming sub-blocks shall always be complete. If necessary, FF bytes shall be added to complete the last bytes from enhanced block to get 7 bytes.10.4.3 Hamming control byteThe Hamming control byte shall contain the Hamming control bits cnand logical “1” padding bits in the fo

36、llowing order: 1 logical “1” padding bit; 6 Hamming control bits cnin the order c1, c2, c3, c4, c5, c6; 1 logical “1” padding bit.An example for Hamming control byte calculation in C language is given in Annex F.2.10.4.4 Hamming control generation matrix AHamming control bits generation matrix A (se

37、e Figure 32) shall be generated by following steps: generate Matrix Hnull (see Figure 31) using equation in Figure 30; remove column vectors hnulln, with n = 1, 2, 4, 8, 16 and 32, of Hnull.1,1 for ( 2) 00 otherwisewith 16 and 162mmnnhmn=Figure 30 Matrix Hnull generationNOTE stands for a bitwise AND

38、 operation. ISO/IEC 2014 All rights reserved 5Amendment 4:2015 (IDT) toCAN/CSA-ISO/IEC 14443-4:13ISO/IEC 14443-4:2008/Amd.4:2014(E)1010 0100110 00100011110000 1110000 1110000 111=H. . . . . .Figure 31 Matrix Hnull1101 0101011 0010 111 1110000 1110000 1110000 111=A. . . . .Figure 32 Hamming control g

39、eneration matrix A10.4.5 Hamming control bits calculationHamming control bits cm(m = 16) shall be calculated over data dn(n = 156) using equation in Figure 33. d1is bit b1 of the first byte and d56is bit b8 of the seventh byte of any 7-byte sub-block from enhanced block.=cAdFigure 33 Hamming control

40、 bits generation10.4.6 Hamming control check matrix HThe Hamming control check matrix H (illustrated in Figure 34) is a concatenation of matrix A and matrix I6x6.1101 01010001011 00101000 111 11100 000000 11100 000000 11100 100000 11100 01=|HAI. . . . . . . . .Figure 34 Hamming control check matrix

41、H10.4.7 Error correctionHamming control bits shall be used to detect and correct any single bit error in modified Hamming sub-blocks.The so called syndrome s shall be calculated using equation in Figure 35. To get y from y, the padding bits of the received data ynon position 57 and 64 shall be remov

42、ed. y1is bit b1 of the first received byte and y64is bit b8 of the eighth received byte of any 8-byte sub-block from enhanced block with error correction.6 ISO/IEC 2014 All rights reservedAmendment 4:2015 (IDT) toCAN/CSA-ISO/IEC 14443-4:13ISO/IEC 14443-4:2008/Amd.4:2014(E)=sHyFigure 35 Syndrome calc

43、ulationThe numerical interpretation s of the syndrome s shall be used for error correction: if s = 0, 1, 2, 4, 8, 16, 32 or 63 no change in received bits y1to y56 else calculate error position s by reducing s by the amount of powers of 2 (1, 2, 4, 8, 16, 32) which are smaller than s invert the recei

44、ved bit ysNOTE More than one bit error cannot be corrected by this method. EDC will detect these multiple errors with very high probability.10.5 Activation of frame with error correction in the PROTOCOL stateS(PARAMETERS) blocks shall be used to negotiate the used frame and communication parameters

45、in PROTOCOL state. The following rules shall be applied to negotiate those parameters: The information field shall contain tags and values as defined in Tables 4 and 6 and Figures 36 and 37. The PCD shall send an S(PARAMETERS) block to request frame format parameters. If the PICC supports S(PARAMETE

46、RS) blocks, the PICC shall respond with an S(PARAMETERS) block containing values for all supported frame format parameters. If the PICC does not support S(PARAMETERS) it shall stay mute. The PICC shall always indicate the same framing options independent of which tag is used.After the PICC has sent

47、its response and has indicated its parameters the PCD may activate the desired options for each communication direction with following rules: The information field shall contain tags and values as defined in Tables 4 and 6 and Figures 36 and 37. The PCD shall send an S(PARAMETERS) block to activate

48、selected frame format parameters. The PICC shall acknowledge the activated frame format parameters with an S(PARAMETERS) block and then shall activate the negotiated frame format parameters. The PCD shall activate the negotiated frame format parameters.NOTE 1 S(PARAMETERS) block is defined in ISO/IE

49、C 14443-4:2008/Amd.1:2012. ISO/IEC 2014 All rights reserved 7Amendment 4:2015 (IDT) toCAN/CSA-ISO/IEC 14443-4:13ISO/IEC 14443-4:2008/Amd.4:2014(E)Table 6 Frame format function tags identifier definitionTags (Hex)DescriptionLength (Hex)ValueA5 Frame Format Request0 -A6 Frame Format Indi-cationL Tags (Hex)Length (Hex)Value80 01 List of supported frames PCD to PICC (see Figure 36) a8

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 标准规范 > 国际标准 > 其他

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1