Problem writing data to ISO15693 memory using ST25R95
I want to write data to ISO15693 memory using ST25R95.
However ST25R95 returns error.
Below is my communicating data.
Get UID
PlotocolSelect
0x00, 0x02, 0x02, 0x01, 0x0D
WrReg
0x00, 0x09, 0x04, 0x68, 0x01, 0x01, 0x53
SendRecv(Get UID)
0x00, 0x04, 0x03, 0x26, 0x01, 0x00I got the UID.
Write Data
PlotocolSelect
0x00, 0x02, 0x02, 0x01, 0x0D
WrReg
0x00, 0x09, 0x04, 0x68, 0x01, 0x01, 0x53
SendRecv(Write Data to memory)
0x00, 0x04, 0x13(data length), 0x22(flag byte), 0x21(write single block command),
0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX,(UID 8byte)
0x01,(block number)
0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08(write data 8byte)
Response of SendRecv(Write Data to memory)
0x0E, 0x87, 0x00Why ST25R95 returns error?
