Rev. 1.00
186
September 11, 2018
Rev. 1.00
187
September 11, 2018
HT45F4050
A/D NFC Flash MCU
HT45F4050
A/D NFC Flash MCU
COMPATIBILITY_WRITE – Compatibility Write Command
Code (CMD.)
Parameter (PAR.)
Data
Integrity Mechanism
Response
A0h
ADR: ‘02h’ to ‘4Fh’
16 Bytes
Parity, CRC
ACK or NAK
The COMPATIBILITY_WRITE command is provided to be compliant with different write
command versions for different NFC devices. This command is used to program the NFC memory
by page with the least significant 4 data bytes even if 16
bytes of data
are
transmitted by the NFC
device. It is recommended that the most significant 12 bytes
of
data should all be kept a
t
logic "0".
The page address is specified in the parameter field. The available page address ranges from 02h
to 4Fh. A NAK response will be sent out by the NFC tag device if the page address is out of the
available range. A parity, CRC or write error will also result in a NAK response with a certain 4-bit
value sent by the NFC tag device. Note that any locked memory pages can not be programmed again
by any write command.
90
μ
s
NAK
A0
Command
Tag Device
Response
CMD.
ADR CRC0 CRC1
PAR.
D0
...
CRC0 CRC1
D15
D3
D4
...
ADR/CRC/Parity error
90
μ
s
ACK
NAK
90
μ
s
A0
Command
Tag Device
Response
CMD.
ADR CRC0 CRC1
PAR.
D0
...
CRC0 CRC1
D15
CRC/Parity error
D3
D4
...
*t
COL
: Collision time, including *t
RCY
or *t
WCY
respectively
*t
COL
exists if the collision of the NFC memory access by MCU occurs
A0
Command
Tag Device
Response
CMD.
ACK
ADR CRC0 CRC1
D0
...
CRC0 CRC1
D15
NAK
PAR.
90
μ
s
D3
D4
...
Write error
2t
WCY
< Response time < *t
COL
+ 2t
WCY
~ ~
A0
Command
Tag Device
Response
CMD.
ACK
ADR CRC0 CRC1
D0
...
CRC0 CRC1
D15
ACK
PAR.
90
μ
s
D3
D4
...
~ ~
t
WCY
< Response time < *t
COL
+ 2t
WCY
COMPATIBILITY_WRITE Execution Diagram
GET_VERSION – Get Device Version Informaiton Command
Code (CMD.)
Parameter (PAR.)
Data
Integrity mechanism
Response
60h
—
—
Parity, CRC
8 Bytes Data
The GET_VERSION command is used to obtain device information, such as the product version,
tag device storage size or other product data required to recognize the specific device. There will be
8-byte device version information data sent out by the tag device if the command stream containing
the code followed by the integrity bytes is received without errors. If an integrity error is contained
whithin the command stream, a NAK signal will be sent out by the tag device. After this the tag
device will enter the IDLE or HALT state according to its previous state.