162306a36Sopenharmony_ci============================================================================ 262306a36Sopenharmony_ciKernel driver for the NXP Semiconductors PN544 Near Field Communication chip 362306a36Sopenharmony_ci============================================================================ 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci 662306a36Sopenharmony_ciGeneral 762306a36Sopenharmony_ci------- 862306a36Sopenharmony_ci 962306a36Sopenharmony_ciThe PN544 is an integrated transmission module for contactless 1062306a36Sopenharmony_cicommunication. The driver goes under drives/nfc/ and is compiled as a 1162306a36Sopenharmony_cimodule named "pn544". 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ciHost Interfaces: I2C, SPI and HSU, this driver supports currently only I2C. 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ciProtocols 1662306a36Sopenharmony_ci--------- 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ciIn the normal (HCI) mode and in the firmware update mode read and 1962306a36Sopenharmony_ciwrite functions behave a bit differently because the message formats 2062306a36Sopenharmony_cior the protocols are different. 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ciIn the normal (HCI) mode the protocol used is derived from the ETSI 2362306a36Sopenharmony_ciHCI specification. The firmware is updated using a specific protocol, 2462306a36Sopenharmony_ciwhich is different from HCI. 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ciHCI messages consist of an eight bit header and the message body. The 2762306a36Sopenharmony_ciheader contains the message length. Maximum size for an HCI message is 2862306a36Sopenharmony_ci33. In HCI mode sent messages are tested for a correct 2962306a36Sopenharmony_cichecksum. Firmware update messages have the length in the second (MSB) 3062306a36Sopenharmony_ciand third (LSB) bytes of the message. The maximum FW message length is 3162306a36Sopenharmony_ci1024 bytes. 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ciFor the ETSI HCI specification see 3462306a36Sopenharmony_cihttp://www.etsi.org/WebSite/Technologies/ProtocolSpecification.aspx 35