User's Guide
Table Of Contents
- THINGMAGIC M6e User Guide
- Introduction
- Hardware Overview
- Hardware Interfaces
- Digital/Power Connector
- USB Interface
- General Purpose Input/Output (GPIO)
- Power Requirements
- Special RF Power Output Requirements for the M6e-A
- Environmental Specifications
- Electro-Static Discharge (ESD) Specification
- Mounting Screw Clearance
- Assembly Information
- Antennas
- M6e Mechanical Drawing
- Authorized Antennas
- M6e-A Authorized Cables
- Firmware Overview
- New Features - Version 1.21.2
- Margin Read Support for Monza6 Tags
- NXP UCODE7 Configuration Support
- Gen2 Parameters in Metadata
- Support for Acura Gen2V2 Tags
- Support for GEN2V2 Embedded Tag Ops
- Gen2V2 Support
- Denatran Tag Support
- Configurable T4 for Gen2 Protocol
- Ability to “Read Data” Immediately After Sending a “Write EPC” or “Write Data” Command
- Decoupling Antenna Selection from AsyncOnTime
- Support for Additional Regions
- Support for Set/get Quantization Value and Minimum Frequency in Open Region
- Operational Notes
- Boot Loader
- Application Firmware
- Custom On-Reader Applications
- New Features - Version 1.21.2
- Communication Protocol
- Functionality
- Specifications
- Compliance and IP Notices
- Error Messages
- Getting Started – Development Kit and Carrier Board
- Environmental Considerations
ThingMagic M6e User Guide 21
www.JADAKtech.com
4 Communication Protocol
Serial Communication Protocol
The serial communication between a computer (host) and the M6e is based on a synchronized command-
response/master-slave mechanism. Whenever the host sends a message to the reader, it cannot send
another message until after it receives a response. The reader never initiates a communication session;
only the host initiates a communication session.
This protocol allows for each command to have its own timeout because some commands require more
time to execute than others. The host must manage retries, if necessary. The host must keep track of the
state of the intended reader if it reissues a command.
Host-to-Reader Communication
Host-to-reader communication is packetized according to the following diagram. The reader can only
accept one command at a time, and commands are executed serially, so the host waits for a reader-to-host
response before issuing another host-to-reader command packet.
Reader-to-Host Communication
The following diagram defines the format of the generic Response Packet sent from the reader to the host.
The Response Packet is different in format from the Request Packet.
CCITT CRC-16 Calculation
The same CRC calculation is performed on all serial communications between the host and the reader. The
CRC is calculated on the Data Length, Command, Status Word, and Data bytes. The header is not
included in the CRC.
User Programming Interface
The M6e does not support programming to the serial protocol directly. All user interaction with the M6e
must be performed using the MercuryAPI.
Host-To-Reader Communication
Header
Data
Length
Command Data CRC-16 Checksum
Hdr Len Cmd - - - - - CRC Hi I CRC LO
1 byte 1 byte 1 byte 0 to 250 bytes 2 bytes
Reader-To-Host Communication
Header
Data
Length
Command
Status
Word
Data CRC-16 Checksum
Hdr Len Cmd - - - - - CRC Hi I CRC LO
1 byte 1 byte 1 byte 2 bytes 0 to 248
bytes
2 bytes