Do you have a question about the ACM1281U-C7 and is the answer not in the manual?
Questions and answers
Summary of Contents for Advanced Card Systems ACM1281U-C7
Page 1
ACM1281U-C7 USB Contactless Reader Module with SAM Slot Reference Manual V1.02 Subject to change without prior notice info@acs.com.hk www.acs.com.hk...
Page 2
● 2015-04-22 Initial Release 1.00 ● 2017-05-31 Updated Section 2.0 Features 1.01 ● Updated Section 2.0 Features ● 2020-06-01 1.02 Updated Section 5.0 Host Programming (PC-Linked) API Page 2 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
This Reference Manual will discuss in detail how the PC/SC APDU commands are implemented for the contactless interface, SAM card support and device peripherals of ACM1281U-C7. Page 5 of 44 www.acs.com...
• Supports Android™ 3.1 and later • Compliant with the following standards: ISO 14443 ISO 7816 PC/SC CCID RoHS REACH Microsoft® WHQL Uses an ACS-defined Android Library Page 6 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
3.1. Reader Block Diagram Figure 1: ACM1281U-C7 Reader Block Diagram 3.2. Communication between PC/SC driver PICC and SAM The protocol being used between ACM1281U-C7 and the PC is CCID. All communications between PICC and SAM are PC/SC-compliant. Figure 2: ACM1281U-C7 Architecture Page 7 of 44 www.acs.com...
Control Endpoint – For setup and control purposes. Bulk-OUT – For commands to be sent from host to ACM1281U-C7 (data packet size is 64 bytes). Bulk-IN – For response to be sent from ACM1281U-C7 to host (data packet size is 64 bytes).
1. No PICC Found or PICC present but A single pulse per ~ 5 seconds not activated. 2. PICC is present and activated. 3. PICC is operating. Blinking Table 3: LED Indicator Page 9 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Bytes for card name 00 00 00 00h RFU # 00 00 00 00h Exclusive-oring of all the bytes T0 to Tk Table 4: ISO 14443 Part 3 ATR Format Page 10 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Page 11
Lower nibble 1 means T = 1 Historical Bytes: 4 to ISO 14443A: 3 + N The historical bytes from ATS response. Refer to the ISO 14443-4 specification. Page 11 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
UINT8 GET_UID[5] = {FF CA 00 00 00h}; Example 2: To get the ATS of the connected ISO 14443-A PICC: UINT8 GET_ATS[5] = {FF CA 01 00 00h}; Page 13 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Load a key { FF FF FF FF FF FFh } into the volatile memory location 20h. APDU = {FF 82 00 20 06 FF FF FF FF FF FFh} Page 14 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Page 15
“key value” that will not change frequently. If the ”key value” is supposed to be changed from time to time, store the “key value” to the “volatile key location 20h” instead. Page 15 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Page 16
PC. Only 1 volatile memory is provided. The volatile key can be used as a session key for different sessions. Default value = FF FF FF FF FF FFh. Page 16 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
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 8: MIFARE Ultralight Memory Map Page 18 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Page 19
Example 2: Read 240 bytes starting from the binary block (MIFARE 4K). Block 80h to Block 8Eh (15 blocks). APDU = { FF B0 00 F0 } Page 19 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Page 20
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 20 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Page 21
Example 2: Decimal 1 = { 00 00 00 01h } VB_Value Response Response Data Out Result Where: SW1 SW2 = 90 00h means the operation was completed successfully. = 63 00h means the operation failed. Page 21 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Page 22
Example 2: Decimal 1 = { 00 00 00 01h } VB_Value Response Response Data Out Result Where: SW1 SW2 = 90 00h means the operation was completed successfully. = 63 00h means the operation failed. Page 22 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Page 23
APDU = {FF D7 06h} by “5” Example 4: Increment the value block APDU = {FF D7 00 00 00 05h} Page 23 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
5.1.4. Access PC/SC-compliant tags (ISO 14443-4) All ISO 14443-4 compliant cards (PICCs) understand the ISO 7816-4 APDUs. The ACM1281U-C7 reader will only need to communicate with the ISO 14443-4 compliant cards through exchanging ISO 7816-4 APDUs and responses. ACM1281U-C7 will handle the ISO 14443 Parts 1-4 Protocols internally.
In which, the first byte “AF” is the status code returned by the MIFARE DESFire card. The Data inside the blanket [$1DD7h] can simply be ignored by the application. Page 25 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Page 26
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 26 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
LED Status Description Description 1 = ON Bit 0 Red LED 0 = OFF 1 = ON Bit 1 Green LED 0 = OFF Bit 2 – 7 Page 28 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
LED Status Description Description 1 = ON Bit 0 Red LED 0 = OFF 1 = ON Bit 1 Green LED 0 = OFF Bit 2 – 7 Page 29 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Data In Buzzer Control Buzzer on Duration Where: Buzzer on Duration (1 Byte) 01 – FFh = Duration (unit: 10 ms) Response Response Class Data Out Result Page 30 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
To make the LED blink whenever the card Bit 7 Card Operation Blinking LED (PICC or ICC) is being accessed. Response Response Class Data Out Default Result Behaviors Page 31 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
1 = Enable activated 0 = Disable To make the LED blink whenever the Bit 7 Card Operation Blinking LED card (PICC or ICC) is being accessed. Page 32 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
1 – 0 = 1000 ms 1 – 1 = 2500 ms Bit 6 1 = Enable Bit 7 Enforce ISO 14443A Part 4 0 = Disable Page 33 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Page 34
4. The JCOP30 card comes with two modes: ISO 14443A-3 (MIFARE 1K) and ISO 14443A-4 modes. The application has to decide which mode should be selected once the PICC is activated. Page 34 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
1 – 0 = 1000 ms 1 – 1 = 2500 ms Bit 6 1 = Enable Bit 7 Enforce ISO 14443A Part 4 0 = Disable Page 35 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Data In Manual PICC Polling Response Response Class Data Out Result Status Where: Status (1 Byte) 00h = PICC is detected FFh = No PICC is detected Page 36 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
The tag types to be 0 = Skip detected during PICC 1 = Detect Polling Bit 1 ISO 14443 Type B 0 = Skip Bit 2 – 7 Page 37 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
The tag types to be 0 = Skip detected during 1 = Detect PICC Polling Bit 1 ISO 14443 Type B 0 = Skip Bit 2 – 7 Page 38 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Step 1: Connect the “ACR1281U PICC Interface” with T=1 protocol. Step 2: Access the PICC by exchanging APDUs. Step N: Disconnect the “ACR1281U PICC Interface”. Shut down the application. Page 39 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Step 4: Enter Command: “3500” Enter Data: “E0 00 00 18 00” (APDU for Get Firmware Version) Click enter to send to reader, then check the Response. Page 42 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
8. Buzzer Control 00 = Turn Off Duration: 01 – FE = Duration x 10 ms 01 – FF = Duration x 10 ms FF = Turn On Page 43 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Page 44
Microsoft is a registered trademark of Microsoft Corporation in the United States and/or other countries. MIFARE, MIFARE Classic, MIFARE DESFire and MIFARE Ultralight are registered trademarks of NXP B.V. and are used under license. Page 44 of 44 www.acs.com ACM1281U-C7 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Need help?
Do you have a question about the ACM1281U-C7 and is the answer not in the manual?
Questions and answers