E1067-00-002-01 ISO18000-3 mode 2 RFID module Developers guide Date By Comment April 07 G Price Original Issue December 07 G Price Mechanical diagram updated to V6 hardware. RF field control added. Change baud rate command added. Version 01 02 Page 1 of 14 E1067-00-002-01 FCC Statement This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. Electrical data Pinout. Pin 1 2 3 4 5 6 7 Description Ground
+5V @ 150mA Enable 3.3V (5V tolerant) TTL serial receive 3.3V (5V tolerant) TTL serial transmit Antenna RF output Antenna Ground Current requirements 150mA RF on RF off 15mA Shutdown 1.3mA Page 2 of 14 V6 Hardware mechanical diagram E1067-00-002-01 Antenna Module Page 3 of 14 E1067-00-002-01 HDR LEN Data1 Command structure All data flow between the module and host is framed within packets. The packet structure is the same for data flow from the host as for data flow from the module and is shown below. 0xFF Header, indicates the start of the packet AA 0xXX Length, number of bytes that are to follow as a part of this packet Data bytes to be transferred. 0xXX DataAA It consists of a defined (0xFF) header, a length byte which is the count of all data bytes that are to follow, and then all the data bytes themselves. Therefore if the data we wanted to send is 0x01, 0x02, 0x03, we would create the packet 0xFF, 0x03, 0x01, 0x02, 0x03. For multi-byte transfers i.e two byte words, the low byte is transferred first. When transmitting a packet, the inter-byte delay must not exceed 500ms else this current packet will be abandoned and the complete packet must be resent. Currently the baud rate is fixed at 9600. Commands 0xFF 0x01 0x01 Scan for a single tag Returns the ID of a single tag, to be used when no more than one tag is in the field. HDR LEN CMD Successful operation Tag detected HDR LEN CMD ID0 ID1 ID2 ID3 LSByte of unique ID MSByte of unique ID 0xFF 0x05 0x01 Unsuccessful operation - No tag detected HDR LEN CMD ERR 0xFF 0x02 0x01 0x00 Page 4 of 14 E1067-00-002-01 Scan for multiple tags Returns the IDs of multiple tags, use when more than one tag is expected in the field. HDR LEN CMD Data 0xFF 0x02 0x02 AA Maximum number of tags to detect, (0< AA <9) 0xFF BB 0x02 Successful operation - Tags detected HDR LEN CMD ID10 ID11 ID12 ID13 IDN0 IDN1 IDN2 IDN3
= (No of tags detected * 4) +1 LSByte of unique ID, tag 1 MSByte of unique ID, tag 1 LSByte of unique ID, tag N MSByte of unique ID, tag N Unsuccessful operation - No tags detected HDR LEN CMD ERR 0xFF 0x02 0x02 0x00 Page 5 of 14 E1067-00-002-01 Get tags setup configuration Returns the Hardcode, Time stamp, Lock pointer, Manufacturing code, ID, App group ID, Conditional ID and Configuration word of selected tag. HDR LEN CMD ID0 ID1 ID2 ID3 0xFF 0x05 0x03 AA BB CC DD Most significant byte of Tags ID to read Least significant byte of Tags ID to read 0xFF EE 0x03 Successful operation - Tag responded HDR LEN CMD
[H]
[H]
T T L L M M SS SS SS SS G G Ci Ci Co Co
= 17 + (2 * Hardcode words) Hardcode Timestamp Lock pointer Manufacturing Code Unique ID Application code Conditional ID Configuration word Unsuccessful operation - No tag response HDR LEN CMD ERR 0xFF 0x02 0x03 0x0 Page 6 of 14 E1067-00-002-01 Read tag memory using 8 bit addressing HDR LEN CMD ID0 ID1 ID2 ID3 A L 0xFF 0x07 0x04 AA BB CC DD Most significant byte of Tags ID to read. EE FF Least significant byte of Tags ID to read. Address of first word to read. Number of words to read (0< FF <51). Successful operation - Tag responded 0xFF GG 0x04
= 1 + (FF * 2) LSByte of first word read MSByte of last word read. HDR LEN CMD Data10 Data11 Data0 Data1 DataFF0 DataFF1 Unsuccessful operation - No tag response HDR LEN CMD ERR 0xFF 0x02 0x04 0x0 Page 7 of 14 E1067-00-002-01 Least significant byte of Tags ID to read Read tag memory using 16 bit addressing HDR LEN CMD ID0 ID1 ID2 ID3 A0 A1 L0 L1 0xFF 0x09 0x05 AA BB CC DD Most significant byte of Tags ID to read Low byte of Address of first word to read EE High byte of Address of first word to read EE FF Low byte of number of words to read (0< FFFF <51). High byte of number of words to read (0< FFFF <51). FF Successful operation - Tag responded 0xFF GG 0x05
= 1 + FFFF LSByte of first word read MSByte of last word read HDR LEN CMD Data10 Data11 Data0 Data1 DataFF0 DataFF1 Unsuccessful operation - No tag response HDR LEN CMD ERR 0xFF 0x02 0x05 0x0 Page 8 of 14 E1067-00-002-01 Write tag memory using 8 bit address and length, without password HDR LEN CMD ID0 ID1 ID2 ID3 A L
= 7 + (2 * GG) Least significant byte of Tags ID to write to 0xFF AA 0x08 BB CC DD EE Most significant byte of Tags ID to write to FF GG Number of words to write (0<= GG <5) Address of first word to write Low byte of first word to write High byte of first word to write Low byte of last word to write High byte of last word to write Data10 Data11 Data0 Data1 DataGG0 DataGG1 Notes;
GG must comply with block and sub-block boundary write constraints. Setting GG to 0 and not sending any Data bytes will set the lock pointer to address FF. Successful operation - data has been written and confirmed HDR LEN CMD OK 0xFF 0x02 0x08 0x01 Unsuccessful operation HDR LEN CMD ERR 0xFF 0x02 0x08 0x0 Page 9 of 14 E1067-00-002-01 Write tag memory using 16 bit address and length, without password HDR LEN CMD ID0 ID1 ID2 ID3 A A L L
= 9 + (2 * GGGG) Least significant byte of Tags ID to write to 0xFF AA 0x09 BB CC DD EE Most significant byte of Tags ID to write to Low byte of address of first word to write FF High byte of address of first word to write FF GG Low byte of number of words to write (0<= GGGG <5) GG High byte of number of words to write (0<= GGGG <5) Low byte of first word to write High byte of first word to write Low byte of last word to write High byte of last word to write Data10 Data11 Data0 Data1 DataGG0 DataGG1 Notes;
GGGG must comply with block and sub-block boundary write constraints. Setting GGGG to 0 and not sending any Data bytes will set the lock pointer to address FFFF. Successful operation - data has been written and confirmed. HDR LEN CMD OK 0xFF 0x02 0x09 0x01 Unsuccessful operation HDR LEN CMD ERR 0xFF 0x02 0x09 0x0 Page 10 of 14 Write tag memory using 8 bit addressing, with password E1067-00-002-01 HDR LEN CMD ID0 ID1 ID2 ID3 P P P P P P A L
= 13 + (2 * HH) Least significant byte of Tags ID to write to 0xFF AA 0x0A BB CC DD EE Most significant byte of Tags ID to write to FF FF FF FF FF FF GG HH Number of words to write (0<= HH <5) Low byte of Password High byte of password Address of first word to write Low byte of first word to write High byte of first word to write Low byte of last word to write High byte of last word to write Data10 Data11 Data0 Data1 DataGG0 DataGG1 Notes;
HH must comply with block and sub-block boundary write constraints. Setting HH to 0 and not sending any Data bytes will set the lock pointer to address GG. When writing to an address less than 10 on a password protected tag, the modules own internal confirmation will always fail regardless of whether or not the write was successful. This is because addresses less than 10 cannot be read on a password protected tag. It is down to the host application to check the required operation against the data returned from a Get tags configuration memory operation. Successful operation - data has been written and confirmed. HDR LEN CMD OK 0xFF 0x02 0x0A 0x01 Unsuccessful operation HDR LEN CMD ERR 0xFF 0x02 0x0A 0x0 Page 11 of 14 Write tag memory using 16 bit addressing, with password E1067-00-002-01 HDR LEN CMD ID0 ID1 ID2 ID3 P P P P P P A A L L
= 15 + (2 * HH) Least significant byte of Tags ID to write to 0xFF AA 0x0B BB CC DD EE Most significant byte of Tags ID to write to FF FF FF FF FF FF GG GG HH Number of words to write (0<= HH <5) HH Low byte of Password High byte of password Address of first word to write Low byte of first word to write High byte of first word to write Low byte of last word to write High byte of last word to write Data10 Data11 Data0 Data1 DataGG0 DataGG1 Notes;
HHHH must comply with block and sub-block boundary write constraints. Setting HHHH to 0 and not sending any Data bytes will set the lock pointer to address GGGG. When writing to an address less than 10 on a password protected tag, the modules own internal confirmation will always fail regardless of whether or not the write was successful. This is because addresses less than 10 cannot be read on a password protected tag. It is down to the host application to check the required operation against the data returned from a Get tags configuration memory operation. Successful operation - data has been written and confirmed. HDR LEN CMD OK 0xFF 0x02 0x0B 0x01 Unsuccessful operation HDR LEN CMD ERR 0xFF 0x02 0x0B 0x0 Page 12 of 14 Get firmware version E1067-00-002-01 HDR LEN CMD 0xFF 0x01 0x0C Response HDR LEN CMD OK 0xFF 0x02 0x0C AA Single byte version identifier. Turn powering RF field Normally there is no need to manually control the field. The module will always ensure the field is turned on to perform any operation and will also automatically turn it off after the operation has completed. If required, the field can be set to permanently on with this command. HDR LEN CMD ARG 0xFF 0x02 0x0D A A = 1 to turn field on, A=0 field controlled automatically. Response HDR LEN CMD OK 0xFF 0x02 0x0D A A=1 successful operation Page 13 of 14 E1067-00-002-01 Set the baud rate The communication baud rate can be controlled using this command. If successful, the reply will be transmitted at the same baud rate it was received at and then the rate will be changed for all subsequent communications. Only available on firmware version 4 or later. HDR LEN CMD ARG 0xFF 0x02 0x0E A Response HDR LEN CMD OK 0xFF 0x02 0x0E A A = 0, set baud rate to 1200 A = 1, set baud rate to 2400 A = 2, set baud rate to 4800 A = 3, set baud rate to 9600 A = 4, set baud rate to 19200 A = 5, set baud rate to 28800 A = 6, set baud rate to 38400 A = 7, set baud rate to 56000 A = 8, set baud rate to 57600 A=1 successful operation Page 14 of 14