
ACR3901U-S1 – Reference Manual info@acs.com.hk
Version 1.09 www.acs.com.hk
Page 4 of 96
Table of Contents
1.0. Introduction .............................................................................................................6
1.1. Reference Documents...........................................................................................................6
1.2. Symbols and Abbreviations...................................................................................................6
2.0. Features ...................................................................................................................7
3.0. Smart Card Support ................................................................................................8
3.1. MCU Cards............................................................................................................................8
3.2. Memory-based Smart Cards..................................................................................................8
4.0. System Block Diagram............................................................................................9
5.0. Hardware Design...................................................................................................10
5.1. Battery..................................................................................................................................10
5.1.1. Battery charging..........................................................................................................10
5.1.2. Battery life...................................................................................................................10
5.2. Bluetooth Interface...............................................................................................................10
5.3. USB Interface ......................................................................................................................10
5.3.1. Communication Parameters .......................................................................................10
5.3.2. Endpoints ....................................................................................................................11
5.4. User Interface ......................................................................................................................11
5.4.1. Mode Selection Switch................................................................................................11
5.4.2. Status LED..................................................................................................................12
5.5. Smart Card Interface ...........................................................................................................12
5.5.1. Smart Card Power Supply VCC (C1)..........................................................................12
5.5.2. Programming Voltage VPP (C6).................................................................................12
5.5.3. Card Type Selection....................................................................................................13
5.5.4. Interface for Microcontroller-based Cards...................................................................13
5.5.5. Card Tearing Protection..............................................................................................13
6.0. Software Design ....................................................................................................14
6.1. Bluetooth Communication Protocol .....................................................................................14
6.1.1.Bluetooth Connection Program Flow..........................................................................14
6.1.2. Profile Selection..........................................................................................................15
6.1.3. Authentication .............................................................................................................17
6.1.4. Frame Format .............................................................................................................18
6.1.5. Bluetooth Communication Protocol.............................................................................19
6.1.6. Mutual Authentication and Encryption Protocol..........................................................32
6.2. USB Communication Protocol.............................................................................................38
6.2.1. CCID Bulk-OUT Messages.........................................................................................40
6.2.2. CCID Bulk-IN Messages.............................................................................................45
7.0. Host Programming API .........................................................................................48
7.1. Peripherals Control..............................................................................................................48
7.1.1. Get Serial Number Command.....................................................................................48
7.1.2. Get Random Number Command................................................................................49
7.1.3.Get Firmware Version Command ...............................................................................50
7.1.4. Rewrite Master Key Command...................................................................................51
7.1.5. Sleep Mode Option .....................................................................................................52
7.1.6. Get Device Address....................................................................................................53
7.1.7. Set Tx Power...............................................................................................................54
7.1.8. Read Tx Power value..................................................................................................55
7.1.9. Customer Master Key Reset Request ........................................................................56
7.2. Memory Card Command Set...............................................................................................57
7.2.1. Memory Card – 1, 2, 4, 8, and 16 kilobit I2C Card .....................................................57
7.2.2. Memory Card – 32, 64, 128, 256, 512, and 1024 kilobit I2C Card .............................60
7.2.3. Memory Card – ATMEL AT88SC153..........................................................................63