Initializing the ST25R95
I am trying to communicate with an ST25R95 from an ESP32S3 but the the spec isn't very clear on the SPI initialization sequence.and I can't find any complete examples. I'd like to verify that I can communicate with the ST25R95 by reading the IDN so I've implemented the following sequence and verified that this occurs with a Logic Analyzer
After initializing the ESP32 SPI peripheral I set
CSn HIGH
IRQ_IN HIGH
SCLK LOW
MOSI LOW
(delay)
CSn LOW
Send one byte over SPI 0x01 //reset
CSn HIGH
(delay)
IRQ_IN HIGH100mS
IRQ_IN LOW 100mS //wake up ST25R95
IRQ_IN HIGH100mS
(delay)
CSn LOW
Send 14 bytes over SPI 0x02,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 //READ IDN
CSn HIGH
I am expecting the IDN to be returned but instead I get 0xC,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0. The Reset command is returning 0x0C.
Can you verify that this simple sequence should return the IDN [0x000F4E4643204653324A41535434002ACE]?
Am I missing something in this sequence?
What is the complete sequence for echo? Does it echo data in the command?

