ACR89U-A2 – Reference Manual info@acs.com.hk
Version 1.00
www.acs.com.hk
Page 2 of 80
Table of Contents
1.0. Introduction ............................................................................................................. 4
2.0. Hardware Design ..................................................................................................... 5
2.1. Architecture ............................................................................................................................ 5
2.2. USB Interface ........................................................................................................................ 5
2.3. Communication Parameters .................................................................................................. 5
2.4. Endpoints ............................................................................................................................... 5
2.5. Contact Smart Card Interface ................................................................................................ 6
2.5.1. Smart Card Power Supply VCC (C1) ............................................................................ 6
2.5.2. Card Type Selection...................................................................................................... 6
2.5.3. Interface for Microcontroller-based Cards..................................................................... 6
2.6. Contactless Smart Card Interface ......................................................................................... 6
2.6.1. Carrier Frequency ......................................................................................................... 6
2.6.2. Card Polling ................................................................................................................... 6
3.0. ACR89 USB Communication Protocol ................................................................... 7
3.1. Device Configuration ............................................................................................................. 7
3.2. CCID Class-Specific Requests .............................................................................................. 9
3.2.1. Command Summary ..................................................................................................... 9
3.3. CCID Command Pipe Bulk-Out Message ........................................................................... 10
3.3.1. Command Summary ................................................................................................... 10
3.4. CCID Command Pipe Bulk-IN Message .............................................................................. 21
3.4.1. Message Summary ..................................................................................................... 21
3.5. Extended Command Pipe Message Compatible with ACR89 ............................................. 25
3.5.1. Extended Command Pipe Bulk-OUT Message .......................................................... 26
3.5.2. Commands Detail ........................................................................................................ 27
3.5.3. Extended Command Pipe Bulk-IN Message .............................................................. 44
3.5.4. Messages Detail .......................................................................................................... 45
3.5.5. Extended Command Response Codes and Return States ........................................ 53
3.6. CCID Interrupt-IN Message ................................................................................................. 54
3.6.1. Message Summary ..................................................................................................... 54
3.7. CCID Error and Status Code ............................................................................................... 55
4.0. Software Design .................................................................................................... 56
4.1. Contactless Smart Card Protocol ........................................................................................ 56
4.1.1. ATR Generation .......................................................................................................... 56
4.1.2. Pseudo APDUs for Contactless Interface ................................................................... 59
Appendix A. Basic Program Flow for Contactless Applications ................................. 75
Appendix B. Access DESFire Tags (ISO 14443-4) ........................................................ 76
Appendix C. Access FeliCa Tags (ISO 18092) ..............................................................
78
Appendix D. Access NFC Forum Type 1 Tags (ISO 18092) ......................................... 79
List of Figures
Figure 1 : ACR89U-A2 Architecture ....................................................................................................... 5
Figure 2 : CCID PC_to_RDR_Escape Message .................................................................................. 26
Figure 3 : PC_to_ACR89_DisplayGraphic – Bitmap Format ............................................................... 31
Figure 4 : CCID RDR_to_PC_Escape Message .................................................................................. 44
Figure 5 : Topaz Memory Map ............................................................................................................. 80