요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
============================================================================
Kernel driver for the NXP Semiconductors PN544 Near Field Communication chip
============================================================================
General
-------
The PN544 is an integrated transmission module for contactless
communication. The driver goes under drives/nfc/ and is compiled as a
module named "pn544".
Host Interfaces: I2C, SPI and HSU, this driver supports currently only I2C.
Protocols
---------
In the normal (HCI) mode and in the firmware update mode read and
write functions behave a bit differently because the message formats
or the protocols are different.
In the normal (HCI) mode the protocol used is derived from the ETSI
HCI specification. The firmware is updated using a specific protocol,
which is different from HCI.
HCI messages consist of an eight bit header and the message body. The
header contains the message length. Maximum size for an HCI message is
33. In HCI mode sent messages are tested for a correct
checksum. Firmware update messages have the length in the second (MSB)
and third (LSB) bytes of the message. The maximum FW message length is
1024 bytes.
For the ETSI HCI specification see
http://www.etsi.org/WebSite/Technologies/ProtocolSpecification.aspx
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
PN544 chip과 host interface
1-14NXP Semiconductors PN544는 contactless communication용 integrated transmission module입니다.
Driver는 `drivers/nfc/` 아래에 있으며 `pn544` module로 빌드됩니다.
Chip host interface는 I2C, SPI, HSU를 제공하지만 이 driver는 현재 I2C만 지원합니다.
============================================================================
Kernel driver for the NXP Semiconductors PN544 Near Field Communication chip
============================================================================
General
-------
The PN544 is an integrated transmission module for contactless
communication. The driver goes under drives/nfc/ and is compiled as a
module named "pn544".
Host Interfaces: I2C, SPI and HSU, this driver supports currently only I2C.
HCI와 firmware-update protocol
15-34Normal HCI mode와 firmware-update mode는 message format과 protocol이 달라 read/write 동작도 조금 다릅니다.
Normal mode는 ETSI HCI specification에서 파생된 protocol을 사용하고 firmware update는 HCI와 다른 전용 protocol을 사용합니다.
HCI message는 8-bit header와 body로 구성되며 header에 length가 있습니다. 최대 HCI message 크기는 33이고 송신 message의 checksum을 검사합니다.
Firmware update message는 두 번째 MSB byte와 세 번째 LSB byte에 length를 두며 최대 크기는 1,024 byte입니다. ETSI HCI specification reference URL이 제공됩니다.
Protocols
---------
In the normal (HCI) mode and in the firmware update mode read and
write functions behave a bit differently because the message formats
or the protocols are different.
In the normal (HCI) mode the protocol used is derived from the ETSI
HCI specification. The firmware is updated using a specific protocol,
which is different from HCI.
HCI messages consist of an eight bit header and the message body. The
header contains the message length. Maximum size for an HCI message is
33. In HCI mode sent messages are tested for a correct
checksum. Firmware update messages have the length in the second (MSB)
and third (LSB) bytes of the message. The maximum FW message length is
1024 bytes.
For the ETSI HCI specification see
http://www.etsi.org/WebSite/Technologies/ProtocolSpecification.aspx
요약과 해설
nfc-pn544.rst:1-34PN544 driver는 I2C를 지원하며 33-byte HCI message와 1,024-byte firmware-update message에 서로 다른 protocol을 사용합니다.