ATA2270-EK1. User Guide

Similar documents
AVR1303: Use and configuration of IR communication module. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AT697E. Application Note. Checking AT697E Code for Occurrence of LDF/FPOPd Instructions Sequence with a dependency on an Odd-Numbered Register

a clock signal and a bi-directional data signal (SCL, SDA)

AVR32752: Using the AVR32 UC3 Static Memory Controller. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1315: Accessing the XMEGA EEPROM. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR based 125kHz RFID Evaluation Kit (Re)Programming Guide ATA2270-EK1. Overview. Fuse Settings: ISP Programming

8-megabyte, 4-megabyte, and 2-megabyte 2.7-volt Only DataFlash Cards AT45DCB008D AT45DCB004D AT45DCB002D. Not Recommended for New Design

AVR1503: Xplain training - XMEGA Programmable Multi Interrupt Controller 8-bit Microcontrollers Application Note Prerequisites

AVR32401: AVR32 AP7 Linux Interfacing DataFlash. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1922: Xplain Board Controller Firmware 8-bit Microcontrollers Application Note Features 1 Introduction

AT91 ARM Thumb Microcontrollers. Application Note. Using the ECC Controller on AT91SAM9260/9263 and AT91SAM7SE Microcontrollers. 1.

8-bit Microcontroller with 2K/4K/8K Bytes In-System Programmable Flash. Appendix A. Preliminary. ATtiny261 ATtiny461 ATtiny861 Automotive

AVR32901: EVKLCD100/EVKLCD101 Hardware User's Guide. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

Atmel LF-RFID Kit Comparison Chart. Application Note. Atmel LF-RFID Kit Comparison Chart. 1. Description

AVR097: Migration between ATmega128 and ATmega1281/ATmega bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1508: Xplain training - XMEGA DAC 8-bit Microcontrollers Application Note Features 1 Introduction

AVR1501: Xplain training XMEGA Timer/Counter 8-bit Microcontrollers Application Note Prerequisites 1 Introduction

One-channel Toggle-mode Touch Sensor IC with Power Management Functions AT42QT1012. Summary

AT91 ARM Thumb Microcontrollers. Application Note. AT91 Host Flash Loader. 1. Package Contents. 2. Definition of Terms. 3.

ATDH2200E Programming Kit... User Guide

AVR532: Migration from ATmega48/88/168 to ATmega48A/88A/168A. 8-bit Microcontrollers. Application Note. 1 Introduction

8-bit Microcontroller with 16K Bytes In-System Programmable Flash. ATtiny87 ATtiny167 Automotive

AVR32917: picopower Board getting started. 32-bit Microcontrollers. Application Note. Preliminary. Features. 1 Introduction

CAN Microcontrollers. Application Note. Migrating from T89C51CC01 to AT89C51CC03. Feature Comparison

AT91 ARM Thumb-based Microcontroller. Application Note. AT91SAM7X and AT91SAM7XC Microcontroller Series Schematic Check List. 1.

AVR32 UC3 Software Framework... User Manual

Rad Hard FPGA. AT40KEL-DK Design Kit Content. Description. Kit Content. Reference Material. Support

AT17F Series. Application Note. Programming Circuits for AT17F Series Configurators with Xilinx FPGAs. 1. Introduction

AT89C51CC03 UART Bootloader

Application Note. Microcontrollers. Using Keil FlashMon Emulator with AT89C51CC01/03 AT89C51CC01/ Summary. 2. Background overview

AVR ONE!... Quick-start Guide. EVK Windows 32103C AVR ONE! 02/10

Interfacing the internal serial EEPROM

8-bit Microcontroller. Application Note. AVR320: Software SPI Master

AT89ISP Programmer Cable Introduction AT89ISP Programmer Cable Parallel Port Settings Application Note AT89ISP Software AT89ISP Cable polarized

CAN, 80C51, AVR, Microcontroller. Application Note

AVR32015: AVR32 Studio getting started. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

Atmel QT600 Quick Start Guide Touch Solutions

Embedded AVR Microcontroller Including RF Transmitter and Immobilizer LF Functionality for Remote Keyless Entry ATA5795. Summary.

APPLICATION NOTE. AT03324: Atmel REB212BSMA-EK Quick Start Guide. Atmel MCU Wireless. Introduction

Atmel AVR1619: XMEGA-B1 Xplained Demonstration. 8-bit Atmel Microcontrollers. Application Note. Features. 1 Introduction

64K (8K x 8) High Speed Parallel EEPROM with Page Write and Software Data Protection AT28HC64BF

512K (64K x 8) 3-volt Only Flash Memory AT29LV512

APPLICATION NOTE. Atmel AVR1638: XMEGA RTC Calibration. 8-bit Atmel Microcontrollers. Features. Introduction

SAM Boot Assistant (SAM-BA)... User Guide

AVR1518: XMEGA-A1 Xplained Training - XMEGA Clock System. 8-bit Atmel Microcontrollers. Application Note. Prerequisites.

1-megabit (128K x 8) Paged Parallel EEPROM AT28C010

Trusted Platform Module AT97SC3203S. SMBus Two-Wire Interface. Summary

2-megabit (256K x 8) 5-volt Only Flash Memory AT29C020

1-megabit (128K x 8) 3-volt Only Flash Memory AT29LV010A

APPLICATION NOTE. Atmel AT03160: Migrating Bootloader from ATxmega128A1 to other Atmel XMEGA Devices. Atmel AVR XMEGA. Features.

Hardware Prerequisites Atmel Xplained Pro Evaluation Kit Atmel WINC1500 extension USB Micro Cable (TypeA / MicroB)

2-megabit (256K x 8) Single 2.7-volt Battery-Voltage Flash Memory AT29BV020

4-megabit (512K x 8) 5-volt Only 256-byte Sector Flash Memory AT29C040A

Atmel AVR32847: Migration from/to the UC3L0 64/32/16 from/to the UC3L0 256/ bit Atmel Microcontrollers. Application Note.

Atmel CryptoAuthentication Starter Kit

AT89C5131 Starter Kit... Software User Guide

Product Description. Application Note. AVR360: XmodemCRC Receive Utility for the AVR. Features. Theory of Operation. Introduction

OLED display with pixels resolution Ambient light sensor CPU load Analog filter Quadrature Encoder with push button Digital I/O

8-bit RISC Microcontroller. Application Note. AVR151: Setup And Use of The SPI

AVR42789: Writing to Flash on the New tinyavr Platform Using Assembly

AVR2015: RZRAVEN Quick Start Guide. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR515: Migrating from ATmega48/88/168 and ATmega48P/88P/168P/328P to ATtiny48/88. 8-bit Microcontrollers. Application Note. Features.

AVR4018: Inertial Two (ATAVRSBIN2) Hardware User's Guide. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

MARC4. Application Note. Hints and Tips for Hard- and Software Developments with MARC4 Microcontrollers

Atmel AVR1926: XMEGA-B1 Xplained Getting Started Guide. 8-bit Atmel Microcontrollers. Application Note. Features. 1 Introduction

AT89STK-10 Starter Kit... Hardware User Guide

AT17 Series FPGA. Configuration Memory. Application Note. In-System Programming Circuits for AT17 Series Configurators with Atmel and Xilinx FPGAs

APPLICATION NOTE. Atmel AT03304: SAM D20 I 2 C Slave Bootloader SAM D20. Description. Features

Section 1 ATAVRAUTOEK1 Getting Started

Power Management and Analog Companions (PMAAC) Application Note. AT73C240 Power-On and Power-Off Sequences. 1. Scope. 2. Operating Conditions

Interrupt Controlled UART

TSC695. Application Note. Annulled Cycle Management on the TSC695. References

64K (8K x 8) Battery-Voltage Parallel EEPROM with Page Write and Software Data Protection AT28BV64B

APPLICATION NOTE. Atmel AVR057: Internal RC Oscillator Calibration for ATtiny4/5/9/10/20/40. 8-bit Atmel Microcontrollers. Features.

AVR32817: Getting Started with the 32-bit AVR UC3 Software Framework lwip TCP/IP Stack. 32-bit Microcontrollers. Application Note.

Rad Hard 16 MegaBit 3.3V SRAM Multi- Chip Module AT68166H

APPLICATION NOTE. Atmel AT01080: XMEGA E Schematic Checklist. Atmel AVR XMEGA E. Features. Introduction

Native route discovery algorithm

USER GUIDE. Wireless Production Test Reference Protocol Specification Document. Atmel MCU Wireless. Description

Microcontroller in a Harsh Environment. Application Note. Microcontroller in a Harsh Environment. 1. Introduction

USER GUIDE. ZigBit USB Stick User Guide. Introduction

AT17(A) Series FPGA Configuration Memory. Application Note

AT89C5122. Application Note. Preventing Windows XP from Displaying Unknown device Message at Startup

APPLICATION NOTE. Atmel AVR3009: Driving QTouch Device with I 2 C Interface. Atmel QTouch. Introduction

T89C51CC02 CAN Bootloader

Atmel AVR ATxmega384C3 microcontroller OLED display with 128x32 pixels resolution Analog sensors. Ambient light sensor Temperature sensor

Two-wire Serial EEPROM AT24C11

AVR469: MC301 Hardware User Guide. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

8-bit Microcontroller. Application Note. AVR031: Getting Started with ImageCraft C for AVR

8-bit RISC Microcontroller. Application Note. AVR 305: Half Duplex Compact Software UART

Atmel AVR473: ATAVRSB202 Hardware User Guide. 8-bit Atmel Microcontrollers. Application Note. Features. 1 Introduction

AT03975: Getting Started with SAM L21. Descripton. Features. SMART ARM-Based Microcontroller APPLICATION NOTE

SAM4 Reset Controller (RSTC)

APPLICATION NOTE. Atmel AT02260: Driving AT42QT1085. Atmel QTouch. Features. Description

AT73C246-EK1 Evaluation Kit... User Guide

STK521. User Guide B AVR 01/12

APPLICATION NOTE. Atmel AVR116: Wear Leveling on DataFlash. 32-bit Atmel Microcontrollers. Features. Description. Wear leveling

32Kbytes on-chip SRAM. Viterbi decoding and CRC PRIME compliant 128-bit AES encryption Channel sensing and collision pre-detection

APPLICATION NOTE. Atmel AVR536: Migration from ATmega644 to ATmega644A. 8-bit Atmel Microcontrollers. Introduction

AT94K Series Field Programmable System Level Integrated Circuit. Application Note. FPSLIC Baud Rate Generator

Transcription:

ATA2270-EK1... User Guide

1-2 ATA2270-EK1 User Guide

Table of Contents Section 1 1.1 System Requirements... 1-1 1.2 Command Format... 1-2 1.2.1 Command Format (PC to Reader)... 1-2 1.3 Reader System Commands... 1-3 1.3.1 Get Revision Information... 1-3 1.3.2 LCD Message... 1-3 1.3.3 Play Sound... 1-4 1.3.4 RF Field Control... 1-4 1.3.5 Output Enable Control... 1-5 1.3.6 Standby Control... 1-5 1.3.7 Antenna Tuning Control... 1-6 1.3.8 Reader/Tag Selection... 1-6 1.3.9 Set Write Timings... 1-7 1.3.10 Set Read Timings... 1-7 1.3.11 Set 5558 Tag ID... 1-8 1.3.12 Tag in Field... 1-8 1.3.13 Set Write Mode... 1-9 1.4 Downlink Commands (Write)... 1-10 1.4.1 Basic Mode Write... 1-10 1.4.2 Write Long Leading Reference... 1-11 1.4.3 Write Leading Zero Reference... 1-11 1.4.4 Write 1of4 Coding... 1-12 1.5 Uplink Commands (Read)... 1-13 1.5.1 Set Read Modulation Type... 1-13 1.5.2 Read Unsynch Data... 1-13 1.5.3 Read Terminator Synchronization... 1-14 1.5.4 Read Sequence Start... 1-14 1.5.5 Read Start of Frame (SOF) Data... 1-15 1.5.6 Search 5558 anti-collision... 1-15 1.6 Animal ID... 1-17 1.6.1 Read Complete Animal ID... 1-17 1.6.2 Read Simple Animal ID... 1-18 1.6.3 Read Manufacturing Data... 1-18 1.6.4 Write Complete Animal ID... 1-19 1.6.5 Write Simple Animal ID... 1-20 Edit Manual Title Variable Definition User Guide i

1-ii Edit Manual Title Variable Definition User Guide

Section 1 ATA2270-EK1 Serial API Specification 1.1 System Requirements The computer must be able to send commands via a serial port connection. This can be a virtual COM port. Recommend minimum system: 16 MB RAM 12 MB free hard disk space Windows XP 115200 baud RS-232 port (COM port) Compact Framework.Net ATA2270-EK1 User Guide 1-1

RS232 PC Communication An Application Programming Interface (API) to the PC for the ATA2270-EK1 was needed to support customer requirements. The API described in the following section and implemented in the firmware v3.0 and later provides this functionality. Because this provides complete, low-level access to the reader it presents a very powerful tool. The user needs to be aware that sending the wrong command/payloads can result in the tag entering an unknown and unrecoverable mode. These commands should be used with the utmost precaution to insure they are being used correctly. Consult the datasheet on each tag before using this API. 1.2 Command Format The commands will be sent over the RS232 serial interface as follows: 38.4kBaud, 8 data bits, and 1 stop bit. The baud rate can be changed on the ATA2270-EK1 kit via the PC menu. Commands MUST be sent in ASCII format. This can be done using a simple HyperTerminal window or through any custom GUI application that a customer develops. The ATA2270-EK1 will respond with an acknowledge message. User MUST send ENTER (carriage return) after each command. Each complete transaction should be less than 256 bytes. To use HyperTerminal remember to turn on the echo typed characters and send line ends with line feeds to make it more readable. 1.2.1 Command Format (PC to Reader) Table 1-1. Command Format (PC to Reader) Byte 1-2 Byte 3-5 Byte 6-9 Byte 10 Byte N Byte N+1 Op Code Command Bits in Carriage Return 1.2.1.1 Respond Format (Reader to PC) Table 1-2. Respond Format (Reader to PC) Byte 1-2 Byte 3-6 Byte 7 Byte N Byte N+1 Ack Code Bytes in Carriage Return Errors will contain the following response. Table 1-3. Common Error Responses Ack Code ER 2 chars Bytes in calculated 4 chars Various Possibly some cause See specific commands in the following sections to explain the accepted parameters and typical response. 1-2 ATA2270-EK1 User Guide

1.3 Reader System Commands These will control the RF field and the Reader platform. They do not change the configuration of the Tag in any way. The settings for the tag should be decoupled from the configuration of the Reader. 1.3.1 Get Revision Information This command will return the current revision of the software currently being used on the kit. Table 1-4. Command Format Command REV 3 chars Bits in Don t Care 4 chars N/A Table 1-5. Response Format Bytes in calculated 4 chars SW vx.x + compile date 1.3.2 LCD Message This command can be used to send a custom message to the LCD screen while using the RS232 link. This message will be held until a new message is received. Sending a zero byte payload will clear the LCD. Because this is only for simple messages, it is limited to 18 characters at a time. This is displayed in a message box in the center of the LCD. Table 1-6. Command Format Command LCD 3 chars Bits in Non-Zero 4 chars user message max 18 chars ATA2270-EK1 User Guide 1-3

Table 1-7. Response Format Bytes in calculated 4 chars 1.3.3 Play Sound This allows command of the sound element to be controlled from the PC. The user can play a Beep or a Buzz in order to provide audio feedback to the user. It is also possible to set the global sound state either On or Off. A zero byte payload will return the current status. Table 1-8. Command Format Command SND 3 chars Bits in Non-Zero 4 chars ON, OFF, BEEP, BUZZ Max 4 chars Table 1-9. Response Format Bytes in calculated 4 chars 1.3.4 RF Field Control This command can be used to turn the RF Field ON or OFF. A zero byte payload will return the current status. Table 1-10. Command Format Command RFC 3 chars Bits in Non-Zero 4 chars ON, OFF max 3 chars 1-4 ATA2270-EK1 User Guide

Table 1-11. Response Format Bytes in calculated 4 chars 1.3.5 Output Enable Control This determines if the demodulated output is sent to the uc to be decoded. A zero byte payload will return the current status. Table 1-12. Command Format Command OEC 3 chars Bits in Non-Zero 4 chars ON, OFF max 3 chars Table 1-13. Response Format Bytes in calculated 4 chars 1.3.6 Standby Control This is used to put the Reader into a low power mode. When turned ON, the reader can not communicate with a Tag but the AVR uc will still process commands. A zero byte payload will return the current status. Table 1-14. Command Format Command SBC 3 chars Bits in Non-Zero 4 chars ON, OFF max 3 chars ATA2270-EK1 User Guide 1-5

Table 1-15. Response Format Bytes in calculated 4 chars 1.3.7 Antenna Tuning Control This is used to control the tuning array for the antenna. This will switch in capacitors to give a four stage tuning system. The capacitors will lower the resonant frequency when switched in. A zero byte payload will return the current status. Table 1-16. Command Format Command ATC 3 chars Bits in Non-Zero 4 chars HIGH, SHIGH, SLOW, LOW max 5 chars Table 1-17. Response Format Bytes in calculated 4 chars 1.3.8 Reader/Tag Selection This command allows the user to select which components are being used. Currently only the 2270 is supported on the Reader side. The user must choose which tag is to be supported. A zero byte payload will return the current status. Table 1-18. Command Format Command SRT 3 chars Bits in Non-Zero 4 chars 2270, 5530, 5551, 5557, 5567, 5577, 5570, 5558 4 chars 1-6 ATA2270-EK1 User Guide

Table 1-19. Response Format Bytes in calculated 4 chars various Current set value 1.3.9 Set Write Timings Change the Write timings that are going to be used. Change each individually. To return current value without changing the parameter, send xxx=000. Table 1-20. Command Format Command SWT 3 chars Bits in Don t Care 4 chars SGPxxx, GPTxxx, ONExxx, ZROxxx, REFxxx 6 chars Table 1-21. Response Format Bytes in calculated 4 chars various Current set value 1.3.10 Set Read Timings Change the Read timings that are going to be used. Change each individually. To return current value without changing the parameter, send xxx=000. Table 1-22. Command Format Command SRD 3 chars Bits in Don t Care 4 chars STLxxx, STHxxx, LTLxxx, LTHxxx, TTLxxx, TTHxxx 6 chars ATA2270-EK1 User Guide 1-7

Table 1-23. Response Format Bytes in calculated 4 chars various Current set value 1.3.11 Set 5558 Tag ID Change the 5558 Tag ID that is going to be used in other commands. This can be done in any 4-bit increment up to the entire 96-bit length. All remaining bits will be set to zero. A zero byte payload will return the current ID. Table 1-24. Command Format Command SID 3 chars Bits in Non-Zero 4 chars various 24 chars Table 1-25. Response Format Bytes in calculated 4 chars 1.3.12 Tag in Field This command will check for a tag being present. Returns the status of No Tag if the RF Field is off so it is the responsibility of the user to insure the RF Field is on prior to executing this command. Table 1-26. Command Format Command TIF 3 chars Bits in Don t Care 4 chars N/A 1-8 ATA2270-EK1 User Guide

Table 1-27. Response Format Bytes in calculated 4 chars Tag Present, No Tag 4 chars 1.3.13 Set Write Mode This sets the type of write mode that will be used. This is only for tags that support multiple write modes (ATA5577). A zero byte payload will return the current mode. Note: Change/calculate new write timing values after this command to insure proper functionality. This is not done automatically. Table 1-28. Command Format Command SWM 3 chars Bits in Don t Care 4 chars BSM, LLR, LZR, OFC 3 chars Table 1-29. Response Format Bytes in calculated 4 chars BSM, LLR, LZR, OFC 4 chars ATA2270-EK1 User Guide 1-9

1.4 Downlink Commands (Write) These commands are used to buffer and send data or commands to the tag via the serial port. The commands do not contain device specific information and the data structure for specific tags must be built on the PC side before sending the write command. This is only a simple pass through of bits using the different types of forward link encoding. 1.4.1 Basic Mode Write This will use the PIE (pulse-interval encoding) format to send the exact bits in the payload to the Tag. This uses the timings set in the Write Timing parameters. There is NO verification in this process only a status that the command was received and the write was successfully attempted. Please read the data after to verify successful programming. Table 1-30. Command Format Op Code WR 2 chars Command BSM 3 chars Bits in calculate 4 chars, max2048 various Hex data in ASCII Table 1-31. Response Format Bytes in calculated 4 chars 1-10 ATA2270-EK1 User Guide

1.4.2 Write Long Leading Reference This will use the Long Leading Reference encoding format to send the exact bits in the payload to the Tag. This uses the timings set in the Write Timing parameters. There is NO verification in the process only a status that the command was received and the write was successfully attempted. Please read the data after to verify successful programming. Note: Change/calculate new write timing values before using this command to insure proper functionality. Table 1-32. Command Format Op Code WR 2 chars Command LLR 3 chars Bits in calculate 4 chars, max2048 various Hex data in ASCII Table 1-33. Response Format Bytes in calculated 4 chars 1.4.3 Write Leading Zero Reference This will use the Leading Zero Reference encoding format to send the exact bits in the payload to the Tag. This uses the timings set in the Write Timing parameters. There is NO verification in the process only a status that the command was received and the write was successfully attempted. Please read the data after to verify successful programming. Note: Change/calculate new write timing values before using this command to insure proper functionality. Table 1-34. Command Format Op Code WR 2 chars Command LZR 3 chars Bits in calculate 4 chars, max2048 various Hex data in ASCII ATA2270-EK1 User Guide 1-11

Table 1-35. Response Format Parametert Values Comments Bytes in calculated 4 chars 1.4.4 Write 1of4 Coding This will use the 1 of 4 encoding format to send the exact bits in the payload to the Tag. This uses the timings set in the Write Timing parameters. There is NO verification in the process only a status that the command was received and the write was successfully attempted. Please read the data after to verify successful programming. Note: Change/calculate new write timing values before using this command to insure proper functionality. Table 1-36. Command Format Op Code WR 2 chars Command OFC 3 chars Bits in Calculate 4 chars, max2048 Various Hex data in ASCII Table 1-37. Response Format Bytes in Calculated 4 chars 1-12 ATA2270-EK1 User Guide

1.5 Uplink Commands (Read) These commands will receive, decode, and respond with data from tags. The User is required to have some knowledge about the tag being used and the mode in which it is configured. This will determine which of the following command are needed for a successful read to occur. It will also determine the Modulation Type needed in the next command. 1.5.1 Set Read Modulation Type This command is used to select the (de)modulation type that will be used when performing all read functions. It does not perform a read in itself but is very important for other functions. Choose between Manchester, Bi-Phase1, or Bi-Phase2 (differential). A zero byte payload will return the current status. Table 1-38. Command Format Op Code RD 2 chars Command SRM 3 chars Bits in Don t Care 4 chars MAN, BP1, BP2 Number of bits requested in ASCII Table 1-39. Response Format Bytes in Calculated 4 chars 1.5.2 Read Unsynch Data This is a very basic read routine that will not organize the data but simply synchronize with the valid Manchester edges and then returns the requested number of bits for further processing. This is perfect for use with any kind of data pattern (Header) synching. It uses the selected modulation type to decode the incoming data into logical values that are buffered and returned. Table 1-40. Command Format Op Code RD 2 chars Command RUD 3 chars Bits in Non-Zero 4 chars, max2048 Various Number of bits requested in ASCII ATA2270-EK1 User Guide 1-13

Table 1-41. Response Format Bytes in Calculated 4 chars Various Requested Hex data in ASCII 1.5.3 Read Terminator Synchronization This routine will synchronize with the beginning of data using the terminator timing specified in the Read Timing variables. It will then use the selected modulation type to return the requested number of bits in the correct order. Table 1-42. Command Format Op Code RD 2 chars Command RTS 3 chars Bits in Non-Zero 4 chars, max2048 Various Number of bits requested in ASCII Table 1-43. Response Format Bytes in calculated 4 chars Various Requested Hex data in ASCII 1.5.4 Read Sequence Start This routine will synchronize with the beginning of data using the Sequence Start Data Pattern. It will then use the selected modulation type to return the requested number of bits in the correct order. Table 1-44. Command Format Op Code RD 2 chars Command RSS 3 chars Bits in Non-Zero 4 chars, max2048 various Number of bits requested in ASCII 1-14 ATA2270-EK1 User Guide

Table 1-45. Response Format Bytes in calculated 4 chars Various Requested Hex data in ASCII 1.5.5 Read Start of Frame (SOF) Data This routine will synchronize with the beginning of data using the SOF pattern. It will then use the selected modulation type to return the requested number of bits in the correct order. Table 1-46. Command Format Op Code RD 2 chars3 chars Command SOF ASCII Bits in Non-Zero 4 chars, max2048 various Number of bits requested in ASCII Table 1-47. Response Format Bytes in calculated 4 chars Various Requested Hex data in ASCII 1.5.6 Search 5558 anti-collision This routine will begin an anti-collision search and return the Tag ID if found. Multiple searches should be initiated in order to find all of the tags that may be in the field. When all the tags have been found, an error response will return No tags Found. It will use the selected modulation type. Table 1-48. Command Format Op Code RD 2 chars Command SAC 3 chars Bits in Don t Care 4 chars N/A ATA2270-EK1 User Guide 1-15

Table 1-49. Response Format Bytes in calculated 4 chars Various Hex Tag ID in ASCII 1-16 ATA2270-EK1 User Guide

1.6 Animal ID These commands give some quick functions to use with the ISO 11784/785 standards for Animal ID. The purpose is to make dealing with these types of RFID tags a very easy process. 1.6.1 Read Complete Animal ID This routine will read a tag that complies with the ISO 11784/785 standard and returns the extracted data. This gives the entire ISO code structure read from the tag. Each of the payload parameters are separated by a space for easy parsing. Table 1-50. Command Format Op Code AN 2 chars Command RCA 3 chars Bits in Don t Care 4 chars Table 1-51. Response Format Bytes in calculated 4 chars See format below Requested data in ASCII Table 1-52. format Animal Flag 0, 1 1 chars, binary Data Flag 0, 1 1 chars, binary Country Code 0000 1024 4 chars, decimal National Code 0-274877906944 12 chars, decimal CRC transmitted 4 chars, hexadecimal CRCverify OK, NK 2 chars, ASCII Trailer 000000 6 chars, hexadecimal if applicable ATA2270-EK1 User Guide 1-17

1.6.2 Read Simple Animal ID This routine will read a tag that complies with the ISO 11784/785 standard and return the extracted data. This returns only the more important parts of the ISO code structure and requires that the Animal Flag be set to 1 before returning the data. Each of the payload parameters are separated by a space for easy parsing. Table 1-53. Command Format Op Code AN 2 chars Command RSA 3 chars Bits in Don t Care 4 chars Table 1-54. Response Format Bytes in calculated 4 chars See format below Requested data in ASCII Table 1-55. format Country Code 0000 1024 4 chars, decimal National Code 0-274877906944 12 chars, decimal CRCverify OK, NK 2 chars, ASCII 1.6.3 Read Manufacturing Data This routine will read the fixed manufacturing (traceablility) data while in the ISO 11784/785 compliant mode. This is very useful to identify the tag history. This uses E0 (Atmel MFC code) to synchronize. Note: The user must first send the read page 1 command. (i.e. wrbsm0002c) This is not done automatically. Table 1-56. Command Format Op Code AN 2 chars Command RMD 3 chars Bits in Don t Care 4 chars 1-18 ATA2270-EK1 User Guide

Table 1-57. Response Format Bytes in calculated 4 chars Mfg Data 64-bits of Mfg data in ASCII 1.6.4 Write Complete Animal ID This routine will write data into a tag that complies with the ISO 11784/785 standard. User must provide the entire ISO code structure. Do not include spaces in the payload. Table 1-58. Command Format Op Code AN 2 chars Command WCA 3 chars Bits in Calculate 4 chars See format below Table 1-59. Response Format Bytes in calculated 4 chars Table 1-60. format Animal Flag 0, 1 1 chars Data Flag 0, 1 1 chars Country Code 0000 1024 4 chars National Code 0-274877906944 12 chars CRC Calculated 4 chars Trailer 00000000 8 chars, if applicable ATA2270-EK1 User Guide 1-19

1.6.5 Write Simple Animal ID This routine will write data a tag that complies with the ISO 11784/785 standard. User must provide only Country Code and National ID. Do not include spaces in the payload. The Animal Flag will be set in this command as well. Table 1-61. Command Format Op Code AN 2 chars Command WSA 3 chars Bits in Calculate 4 chars See format below Table 1-62. Response Format Bytes in calculated 4 chars Table 1-63. format Country Code 0000 1024 4 chars National Code 0-274877906944 12 chars 1-20 ATA2270-EK1 User Guide

Headquarters International Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131 USA Tel: 1(408) 441-0311 Fax: 1(408) 487-2600 Atmel Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon Hong Kong Tel: (852) 2721-9778 Fax: (852) 2722-1369 Atmel Europe Le Krebs 8, Rue Jean-Pierre Timbaud BP 309 78054 Saint-Quentin-en- Yvelines Cedex France Tel: (33) 1-30-60-70-00 Fax: (33) 1-30-60-71-11 Atmel Japan 9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 Japan Tel: (81) 3-3523-3551 Fax: (81) 3-3523-7581 Product Contact Web Site www.atmel.com Technical Support s_eeprom@atmel.com Sales Contact www.atmel.com/contacts Literature Requests www.atmel.com/literature Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL S TERMS AND CONDI- TIONS OF SALE LOCATED ON ATMEL S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDEN- TAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel s products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life. 2008 Atmel Corporation. All rights reserved. Atmel, logo and combinations thereof, and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others. /xm