-
Notifications
You must be signed in to change notification settings - Fork 25
NCI
Pascal Roobrouck edited this page Dec 11, 2019
·
4 revisions
The NFC Forum has standardized the communication between the MCU (they call it Device Host - DH) and the NFC device (PN7150 in this case).
To summarize this standard, you have : Data messages and Control messages. Control messages come in 3 types:
- Commands : instruct the PN7150 to do something
- Response : The PN7150 responds to your command
- Notification : The PN7150 let's you know, something happened
The syntax of all these messages has been defined by the NFC Forum
On top of the formatting of messages, the standards define some standard behaviour, eg. which messages are needed to initialize the NFC device what messages sequence is needed to start polling for NFC smartCards, etc.
This is all defined through use of a State Machine The NCI part of the driver helps you with this state machine.