ECMA 390-2012 Front-End Configuration Command for NFC-WI (NFC-FEC) (2nd Edition).pdf

上传人:ownview251 文档编号:704823 上传时间:2019-01-03 格式:PDF 页数:12 大小:229.41KB
下载 相关 举报
ECMA 390-2012 Front-End Configuration Command for NFC-WI (NFC-FEC) (2nd Edition).pdf_第1页
第1页 / 共12页
ECMA 390-2012 Front-End Configuration Command for NFC-WI (NFC-FEC) (2nd Edition).pdf_第2页
第2页 / 共12页
ECMA 390-2012 Front-End Configuration Command for NFC-WI (NFC-FEC) (2nd Edition).pdf_第3页
第3页 / 共12页
ECMA 390-2012 Front-End Configuration Command for NFC-WI (NFC-FEC) (2nd Edition).pdf_第4页
第4页 / 共12页
ECMA 390-2012 Front-End Configuration Command for NFC-WI (NFC-FEC) (2nd Edition).pdf_第5页
第5页 / 共12页
点击查看更多>>
资源描述

1、 Reference numberECMA-123:2009Ecma International 2009ECMA-390 2ndEdition / June 2012 Front-End Configuration Command for NFC-WI (NFC-FEC) COPYRIGHT PROTECTED DOCUMENT Ecma International 2012 Ecma International 2012 iContents Page 1 Scope 1 2 Conformance . 1 3 Normative references 1 4 Terms and defin

2、itions . 1 5 Conventions and notations 1 6 Acronyms . 1 7 States 1 7.1 Escape state . 2 7.2 Command Ready state 2 7.3 Command Busy state 2 7.4 Quit state 2 8 Commands and Responses . 2 8.1 Command and response Format . 2 8.2 Checksum 3 8.3 Commands . 3 8.4 Responses . 4 9 Information-Transfer . 5 9.

3、1 Transceiver Frames . 5 9.2 Front-end Frames 5 ii Ecma International 2012 Ecma International 2012 iiiIntroduction ECMA-373 specifies a two-wire interface for which this Standard defines commands, responses and their transmission, allowing the exchange of control and state information between the tr

4、ansceiver and the front-end as specified in ECMA-373. Such exchange may include: indication of the presence of the RF field and control information to change data rates and communication modes of the Front-end. This 2ndedition is fully aligned with the 1stedition of ISO/IEC 16353:2011. This Ecma Sta

5、ndard has been adopted by the General Assembly of June 2012. iv Ecma International 2012“COPYRIGHT NOTICE This document may be copied, published and distributed to others, and certain derivative works of it may be prepared, copied, published, and distributed, in whole or in part, provided that the ab

6、ove copyright notice and this Copyright License and Disclaimer are included on all such copies and derivative works. The only derivative works that are permissible under this Copyright License and Disclaimer are: (i) works which incorporate all or portion of this document for the purpose of providin

7、g commentary or explanation (such as an annotated version of the document), (ii) works which incorporate all or portion of this document for the purpose of incorporating features that provide accessibility, (iii) translations of this document into languages other than English and into different form

8、ats and (iv) works by making use of this specification in standard conformant products by implementing (e.g. by copy and paste wholly or partly) the functionality therein. However, the content of this document itself may not be modified in any way, including by removing the copyright notice or refer

9、ences to Ecma International, except as required to translate it into languages other than English or into a different format. The official version of an Ecma International document is the English language version on the Ecma International website. In the event of discrepancies between a translated v

10、ersion and the official version, the official version shall govern. The limited permissions granted above are perpetual and will not be revoked by Ecma International or its successors or assigns. This document and the information contained herein is provided on an “AS IS“ basis and ECMA INTERNATIONA

11、L DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.“ Front-End Configuration Command for NFC-WI (NFC-F

12、EC) 1 Scope This Standard specifies commands for NFC-WI (ECMA-373). The commands allow exchange of control and state information between the Transceiver and the Front-end. 2 Conformance To conform to this Standard, an NFC-FEC device shall conform to all mandatory parts specified herein and all manda

13、tory parts of ECMA-373 (NFC-WI). 3 Normative references The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) ap

14、plies. ECMA-373, Near Field Communication Wired Interface (NFC-WI) 4 Terms and definitions For the purposes of this Standard, the terms and definitions in ECMA-373 apply. 5 Conventions and notations For the purposes of this Standard the conventions and notations in ECMA-373 apply. 6 Acronyms For the

15、 purposes of this Standard the acronyms in ECMA-373 apply. 7 States NFC-FEC extends the compound NFC-WI Command state with the Escape, Quite, “Command Ready” and “Command Busy” sub-states as specified in Figure 1. Ecma International 2012 1Command BusyQuitEscapeCommand ReadyACT_REQCMD_QUITRES_ACKRES_

16、ACKESC_REQDEAC_RESDEAC_REQACT_RESRES_ACKRES_NACKCMD_xxxNFC-WI statesNFC-FEC statesFigure 1 NFC-WI states and NFC-FEC sub-states 7.1 Escape state NFC-FEC shall move from the NFC-WI ON state to Escape by the Escape sequence (ESC_REQ) as defined in ECMA-373, 9.5.1. NFC-FEC shall move from Escape to Com

17、mand Ready after receiving RES_ACK or after expiry of the timeout specified in 8.4. 7.2 Command Ready state NFC-FEC allows transmission of commands in the Command Ready state. After submission of a command, NFC-FEC shall move to Command Busy state. CMD_QUIT or expiry of the timeout specified in 8.4

18、shall move NFC-FEC to the Quit state. 7.3 Command Busy state When a response is transmitted, or after expiry of the timeout specified in 8.4, NFC-FEC shall move back to Command Ready state. 7.4 Quit state Reception of RES_ACK or after expiry of the timeout specified in 8.4, NFC-FEC shall move to ON.

19、 8 Commands and Responses 8.1 Command and response Format The command and response format is specified in Figure 2, the data field is optional and of arbitrary length. 2 Ecma International 20128 bit header Data 8 bit checksum Figure 2 Command and Response format 8.2 Checksum The checksum shall be th

20、e bytewise exclusive OR of the Initialization Vector (11111111) and the Header and the Data. The receiver shall respond with RES_NACK if it receives a wrong checksum. 8.3 Commands Table 1 specifies the coding of commands. Undefined commands are RFU and their use is prohibited. Ecma International 201

21、2 3Table 1 Coding of Commands Command Header Name Description Expected Response 0001 1111 CMD_QUIT Quit ACK or NACK 0000 0000 CMD_NOP No operation ACK or NACK 0000 0001 CMD_IMP_106 Set Initiator passive communication mode 106kbps ACK or NACK 0000 0010 CMD_IMP_212 Set Initiator passive communication

22、mode 212kbps ACK or NACK 0000 0011 CMD_IMP_424 Set Initiator passive communication mode 424kbps ACK or NACK 0000 1001 CMD_IMA_106 Set Initiator active communication mode 106kbps ACK or NACK 0000 1010 CMD_IMA_212 Set Initiator active communication mode 212kbps ACK or NACK 0000 1011 CMD_IMA_424 Set In

23、itiator active communication mode 424kbps ACK or NACK 0000 1100 CMD_IMA_847 Set Initiator active communication mode 847kbps ACK or NACK 0000 1101 CMD_IMA_1695 Set Initiator active communication mode 1695kbps ACK or NACK 0000 1110 CMD_IMA_3390 Set Initiator active communication mode 3390kbps ACK or N

24、ACK 0000 1111 CMD_IMA_6780 Set Initiator active communication mode 6780kbps ACK or NACK 0000 0100 CMD_TM Set Target communication mode ACK or NACK 0000 0101 CMD_RF_OFF Switch RF field OFF ACK or NACK 0000 0110 CMD_RF_ON Switch RF field on ACK or NACK 0001 0000 CMD_WR Write register, followed by two

25、data bytes (register address, value) ACK or NACK 0001 0010 CMD_RR Read register, followed by one data byte (address); 1 byte 0001 0001 CMD_WB Write block, followed by six data bytes (2 bytes address, 4 bytes value) ACK or NACK 0001 0011 CMD_RB Read block, followed by two data byte (address); 4 bytes

26、 0001 0100 CMD_GS Get status; reply shall be four data bytes 4 bytes 8.4 Responses Table 2 specifies the coding of responses. Undefined responses are RFU and their use prohibited. Table 2 Coding of Responses Header Name Description 1010 0101 RES_ACK ACK (no data) 1010 1010 RES_NACK NACK 1010 1001 RE

27、S_DATA Data In case the expected response is ACK or NACK, then any response different to ACK shall be handled as NACK. For all commands the response timeout is 2 ms. 4 Ecma International 2012 Ecma International 2012 59 Information-Transfer The commands and responses as specified in 8 shall be transm

28、itted between a “Start of communication” and “End of communication” symbol specified in 9.1 and 9.2 respectively. The odd parity bit P shall be set such that the number of ONEs is odd in (bit 1 to bit 8, P). 9.1 Transceiver Frames The transceiver shall use Manchester encoding as defined in ECMA-373,

29、 10.1 and the bit coding for fCLK/128 as defined in ECMA-373, 10.3.2. Transceiver frames shall use the following framing. - Start of communication: ONE. - n *(8 data bits (ZERO or ONE) + odd parity bit with n=1). The LSB of each byte is transmitted first. - End of communication: HIGH for one bit dur

30、ation. 9.2 Front-end Frames The RF Front-end shall use Modified Miller encoding as defined in ECMA-373, 10.2 and the bit coding for a bit rate of . fCLK/128 as defined in ECMA-373, 10.3.1. Front-end frames shall use the following framing. - Start of communication: ZERO. - n *(8 data bits (ZERO or ONE) + odd parity bit with n=1). The LSB of each byte is transmitted first. - End of communication: ZERO followed by no gating for two bit durations. Ecma International 2012

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

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

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