Instructions
NFC &
MIFARE & ISO14443AB & ISO15693 & ISO18000 & ISO7816 IC Card Module www.quio-rfid.de
Copyright © 2003-2022 Quick Ohm Küpper & Co. GmbH. All rights reserved. 19/101
4.3.2 Data links
4.3.2.1 SPI instructions
SPI inquire: 0x04 inquire the state of SPI Slave device
SPI write data: 0x10 send data to SPI Slave device
SPI read data: 0x20 get data from SPI Slave device
4.3.2.2 SPI state code
This code is answer to SPI inquire command.
0x42 Slave device is ready to receive new command
0x08 Slave device is ready for read result of previous command or ready to receive new
command.
4.3.3 Description of Command Transaction
The procdure of communication
A. Pull CS to low to enable SPI
B. Send inquire command 0x04
C. Read a byte from SPI Salve device
D. If the data is 0x42 or 0x08 then continue. Else to B.
E. Send “SPI write data” command (0x10).
F. Send JCP04 (or JCP05) command package. E.g. request command 03 20 00 23
G. Send inquire command and get the operation result. If the result is 0x08 then continue. Else
repeate G. This operation is waiting the Slave device working. The time is determin by the
command type. Maybe over 300 seconds.
H. It is failed if no response over waiting time. Pull CS to high and return.
I. If Slave device answer a byte of 0x08, then the Slave device is finish the command and ready to
send result to Master device.
J. Send “SPI read data” command to Slave device, a byte of 0x20.
K. Read data from SPI Slave device. This is a package of JCP04 (or JCP05). The length is in the
header of the package.
L. Restore SCK to high after read data.
M. Pull CS to high. A communication cycle is finished.
4.4 USB interface
The USB interface accords with USB 2.0 HID specification. The same name pin between host
and device could be connected.
In Windows OS, you do not need to add any driver. In Windows OS, the reader sends command
and gets response via windows API "SetReport" and "GetReport".
The data length is within 64 bytes because of USB HID in Windows API restriction. In other
operation system, the command length is unrestricted.