没有合适的资源?快使用搜索试试~ 我知道了~
NFC controller interface
5星 · 超过95%的资源 需积分: 9 43 下载量 194 浏览量
2014-08-13
13:39:02
上传
评论 2
收藏 1.11MB PDF 举报
温馨提示
试读
158页
NFC froum 发布的 NCI标准文档。 Version 1.1 2014-07-18 NFC Forum TM
资源推荐
资源详情
资源评论
NFC Controller Interface (NCI)
Technical Specification
Version 1.1
2014-07-18
[NCI]
NFC Forum
TM
RESTRICTIONS ON USE
This specification is copyright © 2012-2014 by the NFC Forum, and was made available pursuant to a
license agreement entered into between the recipient (Licensee) and NFC Forum, Inc. (Licensor) and may
be used only by Licensee, and in compliance with the terms of that license agreement (License). If you are
not the Licensee, you may read this Specification, but are not authorized to implement or make any other
use of this specification. However, you may obtain a copy of this Specification and implementation rights
at the following page of Licensor's website:
http://nfc-forum.org/our-work/specifications-and-application-
documents/specifications/nfc-forum-technical-specifications/ after entering into and agreeing to such
license terms as Licensor is then requiring. On the date that this specification was downloaded by Licensee,
the non-implementation terms of that license were as follows:
1. LICENSE GRANT.
Licensor hereby grants Licensee the right, without charge, to copy (for internal purposes only, except with
respect to the elements listed on Exhibit A) and share this Specification with Licensee's members,
employees and (to the extent related to Licensees’ use of this Specification) consultants. This license grant
does not include the right to sublicense, modify or create derivative works based upon any portion of the
Specification, except for the elements listed in Exhibit A.
2. NO WARRANTIES.
THE SPECIFICATION IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, ACCURACY, COMPLETENESS AND
NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL LICENSOR, ITS
MEMBERS OR ITS CONTRIBUTORS BE LIABLE FOR ANY CLAIM, OR ANY DIRECT, SPECIAL,
INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
THE USE OR PERFORMANCE OF THE SPECIFICATION.
3. THIRD PARTY RIGHTS.
Without limiting the generality of Section 2 above, LICENSOR ASSUMES NO RESPONSIBILITY TO
COMPILE, CONFIRM, UPDATE OR MAKE PUBLIC ANY THIRD PARTY ASSERTIONS OF
PATENT OR OTHER INTELLECTUAL PROPERTY RIGHTS THAT MIGHT NOW OR IN THE
FUTURE BE INFRINGED BY AN IMPLEMENTATION OF THE SPECIFICATION IN ITS CURRENT,
OR IN ANY FUTURE FORM. IF ANY SUCH RIGHTS ARE DESCRIBED ON THE SPECIFICATION,
LICENSOR TAKES NO POSITION AS TO THE VALIDITY OR INVALIDITY OF SUCH
ASSERTIONS, OR THAT ALL SUCH ASSERTIONS THAT HAVE OR MAY BE MADE ARE SO
LISTED.
4. TERMINATION OF LICENSE.
In the event of a breach of this Agreement by Licensee or any of its employees or members, Licensor shall
give Licensee written notice and an opportunity to cure. If the breach is not cured within thirty (30) days
after written notice, or if the breach is of a nature that cannot be cured, then Licensor may immediately or
thereafter terminate the licenses granted in this Agreement.
5. MISCELLANEOUS.
All notices required under this Agreement shall be in writing, and shall be deemed effective five days from
deposit in the mails. Notices and correspondence to the NFC Forum address as it appears below. This
Agreement shall be construed and interpreted under the internal laws of the United States and the
Commonwealth of Massachusetts, without giving effect to its principles of conflict of law.
NFC Forum, Inc.
401 Edgewater Place, Suite 600
Wakefield, MA, USA 01880
Contents
NFC Controller Interface (NCI) Page i
Contents
1 Introduction .................................................................................................... 1
1.1 Objectives ...................................................................................................................... 1
1.2 Scope ............................................................................................................................. 1
1.3 Audience ........................................................................................................................ 2
1.4 Applicable Documents or References ........................................................................... 2
1.5 Administration ............................................................................................................... 3
1.6 Name and Logo Usage .................................................................................................. 4
1.7 Intellectual Property ...................................................................................................... 4
1.8 Special Word Usage ...................................................................................................... 4
1.9 Abbreviations ................................................................................................................ 4
1.10 Glossary ......................................................................................................................... 6
1.11 Coding Conventions ...................................................................................................... 9
2 NCI Architecture .......................................................................................... 11
2.1 Components ................................................................................................................. 11
2.2 Concepts ...................................................................................................................... 11
2.2.1 Control Messages .......................................................................................... 12
2.2.2 Data Messages .............................................................................................. 12
2.2.3 Interfaces ....................................................................................................... 13
2.2.4 RF Communication ....................................................................................... 13
2.2.5 NFCEE Communication ............................................................................... 13
2.2.6 Identifiers ...................................................................................................... 14
2.2.7 NFCC as Shared Resource ............................................................................ 14
3 NCI Core Framework ................................................................................... 15
3.1 Overview ..................................................................................................................... 15
3.2 NCI Control Messages ................................................................................................ 16
3.2.1 Flow Control for Control Messages .............................................................. 16
3.2.2 Exception Handling for Control Messages ................................................... 17
3.3 NCI Data Messages ..................................................................................................... 18
3.3.1 Flow Control for Data Packets ...................................................................... 19
3.3.2 Exception Handling for Data Messages ........................................................ 19
3.4 Packet Formats ............................................................................................................ 20
3.4.1 Common Packet Header ............................................................................... 20
3.4.2 Format of Control Packets ............................................................................ 21
3.4.3 Format of Data Packets ................................................................................. 22
3.5 Segmentation and Reassembly .................................................................................... 23
3.6 Logical Connections .................................................................................................... 24
4 NCI Core Control Messages ....................................................................... 26
4.1 Reset of NFCC ............................................................................................................ 26
4.2 Initialization of NFCC ................................................................................................. 28
4.2.1 Common Parameter ...................................................................................... 29
4.3 NFCC Configuration ................................................................................................... 32
4.3.1 Setting the Configuration .............................................................................. 32
4.3.2 Retrieve the Configuration ............................................................................ 33
4.4 Logical Connection Management ................................................................................ 34
4.4.1 Destination Type ........................................................................................... 34
4.4.2 Connection Creation ..................................................................................... 35
4.4.3 Connection Closure....................................................................................... 37
Contents
NFC Controller Interface (NCI) Page ii
4.4.4 Connection Credit Management ................................................................... 38
4.5 Generic Error ............................................................................................................... 39
4.6 Interface Error ............................................................................................................. 39
5 RF Communication ...................................................................................... 40
5.1 RF Interface Architecture ............................................................................................ 40
5.2 State Machine .............................................................................................................. 41
5.2.1 State RFST_IDLE ......................................................................................... 44
5.2.2 State RFST_DISCOVERY ........................................................................... 44
5.2.3 State RFST_W4_ALL_DISCOVERIES ...................................................... 45
5.2.4 State RFST_W4_HOST_SELECT ............................................................... 45
5.2.5 State RFST_POLL_ACTIVE ....................................................................... 46
5.2.6 State RFST_LISTEN_ACTIVE ................................................................... 47
5.2.7 State RFST_LISTEN_SLEEP ...................................................................... 48
5.3 RF Field Information ................................................................................................... 48
6 RF Communication Configuration ............................................................. 50
6.1 Configuration Parameters ............................................................................................ 50
6.1.1 Poll A Parameters ......................................................................................... 50
6.1.2 Poll B Parameters.......................................................................................... 51
6.1.3 Poll F Parameters .......................................................................................... 52
6.1.4 Poll ISO-DEP Parameters ............................................................................. 52
6.1.5 Poll NFC-DEP Parameters ............................................................................ 53
6.1.6 Listen A Parameters ...................................................................................... 54
6.1.7 Listen B Parameters ...................................................................................... 55
6.1.8 Listen F Parameters ...................................................................................... 56
6.1.9 Listen ISO-DEP Parameters ......................................................................... 59
6.1.10 Listen NFC-DEP Parameters ........................................................................ 61
6.1.11 Common Parameters ..................................................................................... 61
6.2 RF Interface Mapping Configuration .......................................................................... 63
6.3 Listen Mode Routing Configuration ........................................................................... 64
6.3.1 Listen Mode Routing Table Design .............................................................. 64
6.3.2 Configure Listen Mode Routing ................................................................... 67
6.3.3 Read Listen Mode Routing ........................................................................... 70
7 RF Discovery ................................................................................................ 71
7.1 Starting RF Discovery ................................................................................................. 71
7.2 Select Discovered Target ............................................................................................. 78
7.3 RF Interface Activation and Deactivation ................................................................... 78
7.3.1 RF Interface Activation Notification ............................................................ 78
7.3.2 RF Interface Deactivation ............................................................................. 81
7.4 NFCEE Discovery Request ......................................................................................... 82
7.5 RF NFCEE Action ....................................................................................................... 84
8 RF Interfaces ................................................................................................ 86
8.1 NFCEE Direct RF Interface ........................................................................................ 86
8.1.1 Discovery and Interface Activation .............................................................. 86
8.1.2 Interface Deactivation ................................................................................... 86
8.2 Frame RF Interface ...................................................................................................... 86
8.2.1 Data Mapping between the DH and RF ........................................................ 86
8.2.2 Frame RF Interface specific Control Messages ............................................ 90
8.2.3 Poll-side Frame RF Interface Management .................................................. 94
Contents
NFC Controller Interface (NCI) Page iii
8.2.4 Listen-side Frame RF Interface Management ............................................... 94
8.3 ISO-DEP RF Interface ................................................................................................. 97
8.3.1 Data Mapping between the DH and RF ........................................................ 97
8.3.2 Poll-side ISO-DEP RF Interface Management ............................................. 98
8.3.3 Listen-side ISO-DEP RF Interface Management ....................................... 100
8.4 NFC-DEP RF Interface ............................................................................................. 102
8.4.1 Data Mapping between the DH and RF ...................................................... 102
8.4.2 NFC-DEP RF Interface Configuration ....................................................... 104
8.4.3 Poll-side NFC-DEP RF Interface Management .......................................... 105
8.4.4 Listen-side NFC-DEP RF Interface Management ...................................... 106
8.5 LLCP Low RF Interface ............................................................................................ 108
8.5.1 Data Mapping between the DH and RF ...................................................... 108
8.5.2 LLCP Low RF Interface specific Control Messages .................................. 108
8.5.3 LLCP Low RF Interface Configuration ...................................................... 110
8.5.4 Poll-side LLCP Low RF Interface Management ........................................ 111
8.5.5 Listen-side LLCP Low RF Interface Management ..................................... 112
8.6 Aggregated Frame RF Interface ................................................................................ 114
8.6.1 NCI Data Message Format ......................................................................... 114
8.6.2 Functionality included from Frame RF Interface ....................................... 115
8.6.3 Aggregated Frame RF Interface Configuration .......................................... 115
8.6.4 Aggregated Frame RF Interface specific Control Messages ...................... 116
8.6.5 Failures during Data Exchange ................................................................... 117
9 NFCEE Discovery and Mode Set .............................................................. 118
9.1 NFCEE ID ................................................................................................................. 118
9.2 NFCEE Discovery ..................................................................................................... 118
9.2.1 HCI Network Specific Handling ................................................................. 121
9.3 NFCEE Enabling and Disabling ................................................................................ 121
9.3.1 HCI Network Specific Handling ................................................................. 122
10 NFCEE Interfaces ...................................................................................... 124
10.1 APDU NFCEE Interface ........................................................................................... 124
10.1.1 Data Exchange ............................................................................................ 124
10.1.2 Failures during Data Exchange ................................................................... 126
10.2 HCI Access NFCEE Interface ................................................................................... 126
10.2.1 NFCEE Interface Activation and Deactivation ........................................... 126
10.2.2 Data Exchange ............................................................................................ 127
10.3 Type 3 Tag Command Set NFCEE Interface ............................................................ 127
10.3.1 Data Exchange ............................................................................................ 127
10.4 Transparent NFCEE Interface ................................................................................... 127
10.4.1 Data Exchange ............................................................................................ 128
11 Transport Mappings .................................................................................. 129
11.1 UART Transport ........................................................................................................ 129
11.2 I2C Transport ............................................................................................................ 130
11.3 Half Duplex SPI Transport ........................................................................................ 130
11.3.1 Physical ....................................................................................................... 130
11.3.2 Data Transfer .............................................................................................. 131
12 Testing ........................................................................................................ 137
12.1 Local Loopback Mode ............................................................................................... 137
A. Exhibit A ..................................................................................................... 138
剩余157页未读,继续阅读
资源评论
- doufubindoufubin2015-05-11不错,正是我所需要的最新文档。
- chebybao2015-12-04感谢分享 对于DH及NFCC之间命令交互 能够查看了
- char_yc2015-06-30对我有点帮助
- 阿禹2018-03-07很有用的文档,看文档就得看这种的~
cater_ndsc
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功