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