Matti J. Aaltonen | 0329326 | 2011-01-12 17:00:47 -0800 | [diff] [blame] | 1 | Kernel driver for the NXP Semiconductors PN544 Near Field |
| 2 | Communication chip |
| 3 | |
Matti J. Aaltonen | 0329326 | 2011-01-12 17:00:47 -0800 | [diff] [blame] | 4 | General |
| 5 | ------- |
| 6 | |
| 7 | The PN544 is an integrated transmission module for contactless |
| 8 | communication. The driver goes under drives/nfc/ and is compiled as a |
Samuel Ortiz | 1353a10 | 2013-01-10 01:25:04 +0100 | [diff] [blame] | 9 | module named "pn544". |
Matti J. Aaltonen | 0329326 | 2011-01-12 17:00:47 -0800 | [diff] [blame] | 10 | |
| 11 | Host Interfaces: I2C, SPI and HSU, this driver supports currently only I2C. |
| 12 | |
Matti J. Aaltonen | 0329326 | 2011-01-12 17:00:47 -0800 | [diff] [blame] | 13 | Protocols |
| 14 | --------- |
| 15 | |
| 16 | In the normal (HCI) mode and in the firmware update mode read and |
| 17 | write functions behave a bit differently because the message formats |
| 18 | or the protocols are different. |
| 19 | |
| 20 | In the normal (HCI) mode the protocol used is derived from the ETSI |
| 21 | HCI specification. The firmware is updated using a specific protocol, |
| 22 | which is different from HCI. |
| 23 | |
| 24 | HCI messages consist of an eight bit header and the message body. The |
| 25 | header contains the message length. Maximum size for an HCI message is |
| 26 | 33. In HCI mode sent messages are tested for a correct |
| 27 | checksum. Firmware update messages have the length in the second (MSB) |
| 28 | and third (LSB) bytes of the message. The maximum FW message length is |
| 29 | 1024 bytes. |
| 30 | |
| 31 | For the ETSI HCI specification see |
| 32 | http://www.etsi.org/WebSite/Technologies/ProtocolSpecification.aspx |