English
Language : 

CR95HF Datasheet, PDF (19/63 Pages) STMicroelectronics – 13.56-MHz multi-protocol contactless transceiver IC with SPI and UART serial access
CR95HF
Commands
5.5
Send Receive (SendRecv) command (0x04) description
This command sends data to a contactless tag and receives its reply.
Before sending this command, the Host must first send the PROTOCOLSELECT command to
select an RF communication protocol.
If the tag response was received and decoded correctly, the <Data> field can contain
additional information which is protocol-specific. This is explained in Table 11.
Table 10. SENDRECV command description
Direction
Data
Comments
Example
Host to
CR95HF
0x04
<Len>
<Data>
0x80
CR95HF to
Host
<Len>
<Data>
0x90
CR95HF to 0x04
Host
ACK or NAK
CR95HF to 0x86
Host
0x00
CR95HF to 0x87
Host
0x00
CR95HF to 0x88
Host
0x00
CR95HF to 0x89
Host
0x00
CR95HF to 0x8A
Host
0x00
CR95HF to 0x8B
Host
0x00
CR95HF to 0x8C
Host
0x00
CR95HF to 0x8D
Host
0x00
Command code
Length of data
Data to be sent
See Table 11 and Table 12 for detailed
examples.
Result code
Length of data
Data received.
Interpretation depends on
protocol
<<<0x800F5077FE01B30000000000
71718EBA00
The tag response is decoded. This is an
example of an ISO/IEC 14443 ATQB
response (Answer to Request Type B)
Result code
Valid bits
ISO 14443-A
ACK or NAK detection
<<<0x900400
Exception for 4-bit frames. This function
is limited.
ACK/NAK always returns ‘0’. (1)
Error code
Length of data
<<<0x8600 Communication error
Error code
Length of data
<<<0x8700 Frame wait time out or no
tag
Error code
Length of data
<<<0x8800 Invalid SOF
Error code
Length of data
<<<0x8900 Receive buffer overflow
(too many bytes received)
Error code
Length of data
<<<0x8A00 Framing error (start bit = 0,
stop bit = 1)
Error code
Length of data
<<<0x8B00 EGT time out (for ISO/IEC
14443-B)
Error code
Length of data
<<<0x8C00 Invalid length. Used in NFC
Forum Tag Type 3, when field Length <
3
Error code
Length of data
<<<0x8D00 CRC error (Used in NFC
Forum Tag Type 3 protocol)
Doc ID 018669 Rev 8
19/63