A and B, MIFARE®, FeliCa and ISO 18092 or NFC tags. It can operate in both office and field-based environments using it PC-linked and standalone modes, respectively. For PC-linked Mode, ACR89U-A2 acts as the intermediary device between the PC and the card. The reader, specifically to communicate with a contactless tag, MCU card, SAM card or device peripherals, will carry out a command issued from the PC.
The ACR89U-A2 is connected to a computer through USB following the USB standard. 2.3. Communication Parameters The ACR89U-A2 is connected to a computer through USB as specified in the USB Specification 2.0., working in full speed mode, i.e. 12 Mbps.
The carrier frequency for ACR89U-A2 is 13.56 MHz. 2.6.2. Card Polling The ACR89U-A2 automatically polls the contactless tags that are within the field. ISO 14443-4 Type A, ISO 14443-4 Type B, MIFARE, FeliCa and NFC tags are supported. Page 6 of 57 ACR89U-A2 –...
Maximum supported ICC I/O data dwMaxDataRate 00032673h rate is 206,451 bps Does not support manual setting of bNumDataRatesSupported data rates Maximum IFSD supported by dwMaxIFSD 00000FEh ACR89 for protocol T=1 is 254 Page 7 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
ACR89 supports PIN Verification bPINSupport and PIN Modification Only 1 slot can be simultaneously bMaxCCIDBusySlots busy Table 2: ACR89 Supported CCID Features Class Descriptor Note: Standard CCID adopts little endian mode. Page 8 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Stop any current processing command and return to a state where ACR89 is ready to accept a new command: bmRequestType bRequest wValue wIndex wLength Data ABORT 00100001b bSeq, bSlot Interface 0000h None (01h) Page 9 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
The response to this message is the RDR_to_PC_SlotStatus message. 3.3.1.3. PC_to_RDR_GetSlotStatus Gets the current status of the slot. Offset Field Size Value Description bMessageType dwLength 00000000h Size of extra bytes of this message Page 10 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Page 11
The response to this message is the RDR_to_PC_Parameters message. 3.3.1.6. PC_to_RDR_ResetParameters Resets the slot parameters to default value. Offset Field Size Value Description bMessageType dwLength 00000000h Size of extra bytes of this message Page 11 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Page 12
Extra Guardtime between two characters. bGuardTimeT0 Add 0 to 254 etu to the normal guardtime of 12etu. FFh is the same as 00h. bWaitingIntegerT0 WI for T=0 used to define WWT Page 12 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Page 13
Description bMessageType DwLength Size of abData field of this message Bslot Identifies the slot number for this command Bseq Sequence number for command AbRFU Reserved for future use Page 13 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
The CCID will timeout the block after BBWI “this number multiplied by the Block Waiting Time” has expired. This parameter is only used for character level exchanges. wLevelParameter 0000h RFU (TPDU exchange level) Page 14 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Page 15
Size of extra bytes of this message BSlot Identifies the slot number for this command BSeq Sequence number for command AbRFU 000000h The response to this message is the RDR_to_PC_SlotStatus message. Page 15 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
01h = Clock stopped in state L bClockStatus 02h = Clock stopped in state H 03h = Clock stopped in an unknown state All other values are RFU Page 16 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Page 17
Slot status and error register as defined in bError Section 3.7 bRFU Depending on its corresponding extended Byte abData command, the data responded by ACR89 array vary and are specified in Section 3.5.4. Page 17 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
This command sets the LCD position cursor to a new position. This command context is slot independent. Offset Field Name Type Size Value Description BcmdCode Size of command data (in wCmdLength 0002h big endian) Page 19 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Page 20
All other values are RFU Byte Character string of encoding format AbData Ascii stated in bCharCoding field array The response to this command is the ACR89_to_PC_DisplayStatus message. Page 20 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
The response to this command is the ACR89_to_PC_DisplayStatus message. 3.5.2.6. PC_to_ACR89_SetContrast This command sets the contracts level of the LCD. This command context is slot independent. Offset Field Name Type Size Value Description Page 21 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Page 22
The response to this command is the ACR89_to_PC_TimeStamp message. 3.5.2.9. PC_to_ACR89_SetRTC This command sets the real time clock value of the build-in real time clock to a specified value. This command context is slot independent. Page 22 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Page 23
‘R’ – read EEPROM 00 – Slave EEPROM BDeviceNumber 01- Chinese Font EEPROM (Rfu) AbAddress Address of EEPROM (in big endian) Length of Data (Write/Read) (in big wDataLength Var… endian) Page 23 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Page 24
Not less than bStartBlockNum The response to this command is the ACR89_to_PC_ExMemStatus message. Note: The current size of one flash block is 64k bytes. Page 24 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Page 25
3.5.2.17. PC_to_ACR89_ AuthInfo This command reads RomID and RomData. Offset Field Name Type Size Value Description bCmdCode Command Code AbRFU 00…00h The response to this command is the ACR89_to_PC_AuthInfo message. Page 25 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
MM, DD, HH, MI and SS 3.5.4.4. ACR89_to_PC_Echo This message is sent by ACR89 in response to PC_to_ACR89_Buzzer, PC_to_ACR89_SetLED and PC_to_ACR89_ExitScriptMode commands. Offset Field Size Value Description bRespType Page 27 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Page 28
Error code (please refer to later bErrorCode section) wInfoLength Size of bInfoData (in little endian) Firmware version information bInfoData (ASCII) Note: The wInfoLength is zero when there is no valid version information. Page 28 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Page 29
Error code (please refer to later bErrorCode section) AbRFU 0000h AbRomID Unique ID AbRFU Note: There will be no parts from offset 15 when command failed. Page 29 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
ADDRESS_ERROR Address parameter is not correct FRAME_ERROR Command frame format is not correct CHECKSUM_ERROR Check sum for data part is not correct Table 7: Extended Command Error Codes Page 30 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Bit 3 = Slot 1 changed status Bit 4 = Slot 2 current state Bit 5 = Slot 2 changed status Bit 6 = 0b Bit 7 = 0b Page 31 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Tried running a command that the current INVALID_MODE operation mode does not allow Reserved for future use (All the rest unmentioned values) Table 8: CCID Error and Status Code Page 32 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
4.1.2. Pseudo APDUs for Contactless Interface 4.1.2.1. Direct Transmit with ACR89U-A2 Format To send a Pseudo APDU (Contactless Chip and Tag commands), and the Response Data will be returned. Direct Transmit Command Format (Length of the Contactless Chip and Tag Command + 5 Bytes)
Page 37
106 Kbps InnoVision Jewel tag This field is not used. Data Out Contactless Chip and Tag Response. Contactless Chip and Tag Response returned by the reader. Page 37 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
The TAG does not response. The checksum of the Response is Checksum Error 63 27h wrong. Parameter Error 63 7Fh The TAG Command is wrong. Table 11: Direct Transmit Response Codes Page 39 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Page 40
To get the serial number of the connected PICC: UINT8 GET_UID[5]={FFh, CAh, 00h, 00h, 00h} Example 2: To get the ATS of the connected ISO 14443 A PICC UINT8 GET_ATS[5]={FFh, CAh, 01h, 00h, 00h}; Page 40 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Page 41
Example: Load a key {FF FF FF FF FF FFh} into the key location 00h. APDU = {FF 82 00 00 06 FF FF FF FF FF FFh} Page 41 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Page 42
Response Data Out Result Load Authentication Keys Response Codes Results SW1 SW2 Meaning Success 90 00h The operation is completed successfully. Error 63 00h The operation has failed. Page 42 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Data32 Data33 Data34 Data35 Data read/write Data36 Data37 Data38 Data39 Data read/write Data40 Data41 Data42 Data43 Data read/write Data44 Data45 Data46 Data47 Table 14: MIFARE Ultralight Memory Map Page 44 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Page 45
APDU = {FF B0 00 Example 3: Read 16 bytes from binary Page (MIFARE Ultralight) (Pages 4, 5, 6 and 7 will be read) APDU = {FF B0 00 Page 45 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Page 46
10 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0Fh} Example 2: Update the binary block of MIFARE Ultralight with Data {00 01 02 03h} APDU = {FF D6 00 04 00 01 02 03h} Page 46 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Page 47
Response Data Out Result Value Block Operation Response Codes Results SW1 SW2 Meaning Success 90 00h The operation is completed successfully. Error 63 00h The operation has failed. Page 47 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Page 48
Example 2: Decimal 1 = {00h, 00h, 00h, 01h} Value Read Value Block Response Codes Results SW1 SW2 Meaning Success 90 00h The operation is completed successfully. Error 63 00h The operation has failed. Page 48 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Page 49
APDU = {FF D7 06h} Example 4: Increment the value block by “5” APDU = {FF D7 00 00 00 05h} Answer: 90 00h [$9000] Page 49 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Page 50
4.1.2.4. Access PC/SC Compliant Tags (ISO 14443-4) All ISO 14443-4 compliant cards (PICCs) would understand the ISO 7816-4 APDUs. The ACR89U-A2 Reader needs to communicate with the ISO 14443-4 compliant cards through exchanging ISO 7816-4 APDUs and Responses. ACR89U-A2 will handle the ISO 14443 Parts 1-4 Protocols internally.
Page 51
Class = 80h; INS = B2h; P1 = 80h; P2 = 00h; Lc = None; Data In = None; Le = 08h Answer: 00 01 02 03 04 05 06 07h [$9000] Page 51 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
APDU = {0A 00h} Answer: AF 25 9C 65 0C 87 65 1D D7h [$1DD7] In which, the first byte “AFh” is the status code returned by the MIFARE DESFire Card. Page 53 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Page 54
1. If the response length is less than 2, the status code [90 00h] will be added in order to meet the requirement of PC/SC. The minimum response length is 2. Page 54 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk...
Data Exchange Response. Note: The NFC ID can be obtained by using the APDU “FF CA 00 00 00h.” Please refer to the FeliCa specification for more detailed information. Page 55 of 57 ACR89U-A2 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.01...
Need help?
Do you have a question about the ACR89U-A2 and is the answer not in the manual?
Questions and answers