V1.01 2010-12-15 Vincent Zhong/Jessy Wei Modify Peripherals Control command
Date Author Notes
Preliminary specification for ACR12
81S
Advanced Card Systems Ltd. Page 2 of 56
ACR1281S
INDEX
Index ....................................................................................................................................................3
The ACR1281S is a dual-interface reader(IFD and PCD) that supports both contact and contactless
(PICC) smart cards.
FEATURES
• One standard ICC landing type card acceptor.
• ISO 7816 Parts 1-4 Compliant for Contact Smart Card Interface.
• Support contact memory cards.
• ISO 14443 Parts 1-4 Compliant for Contactless Smart Card Interface.
• A built-in antenna for PICC contactless access applications.
• The ACR1281 supports the following Tag Types:
o MIFARE Classic. E.g. MIFARE 1K, 4K, MINI and Ultralight.
o ISO14443-4 Type A and B.
• T=CL emulation for MIFare 1K/4K PICCs. Multi-Blocks Transfer Mode is provided for
efficient PICC access.
• High Speed (424 kbps) Communication for PICCs. #Maximum 848 kbps.
• Intelligent Support for Hybrid Cards and Combi Cards.
• Energy saving modes for turning off the antenna field whenever the PICC is inactive, or no
PICC is found. It prevents the PICC from exposing to the field all the time.
• User-Controllable Peripherals. E.g. LED, Buzzer.
• CCID-liked Frame Format.
• Serial Interface up to 500kbps.
• Device Firmware Upgradeable through the USB Interface.
Advanced Card Systems Ltd. Page 5 of 56
ACR1281S
TERMS
• IFD: Interface Device. A terminal, communication device, or machine to which the
integrated circuit(s) card is electrically connected during operation.
• PCD: Proximity Coupling Device. ISO 14443 Contactless Reader.
• ICC: Integrated Circuit(s) Card. Refer to a plastic card containing an integrated circuit,
which is compatible with ISO 7816.
• PICC: Proximity Integrated Circuit(s) Card. Contactless Cards operating without
mechanical contact to the IFD, using magnetic coupling.
• Combi-Card: A smart card that supports both ICC and PICC Interfaces. But only one
interface can be operating at any one time.
• Hybrid-Card: A smart card that consists of both ICC and PICC cards. Both ICC and PICC
cards can be operating at the same time.
• USB: Universal Serial Bus, a common device interface used in PC environment.
• CCID: The specifications for USB devices that interface with ICC or act as interfaces with
ICC/PICC.
• PCSC: Personal Computer Smart Card, a specification that can facilitate the interoperability
necessary to allow ICC/PICC technology to be effectively utilized in the PC environment.
• ISO 7816: A standard for contact smart cards (ICC).
• T=0: Character-oriented asynchronous half duplex transmission protocol for ICCs (ISO
7816).
• T=1: Block-oriented asynchronous half duplex transmission protocol for ICCs (ISO 7816).
• ISO 14443: A standard for contactless smart cards (PICC)
• T=CL: Block-oriented asynchronous half duplex transmission protocol for PICCs (ISO
14443).
• APDU: Application Protocol Data Unit.
• ATR: Answer-to-Reset. The transmission sent by an ICC to the reader (IFD) in response to
a RESET condition.
• ATS: Answer-to-Select. The transmission sent by a PICC Type A to the reader (PCD) in
response to a SELECT condition.
• ATQB: Answer-to-Request. The transmission sent by a PICC Type B to the reader (PCD)
in response to a REQUEST condition.
• Card Insertion Event: Either an ICC or a PICC is just appeared to the reader.
•
Card Removal Event: Either an ICC or a PICC is removed from the reader.
• NAK: Negative Acknowledge, only used to get the last response or slot change message
report in ACR1281S.
• XOR : Exclusive OR
• RDR: ACR1281S.
• HOST: Host Controller.
• HOST_to_RDR: Host Controller -> ACR1281S
• RDR_to_HOST: ACR1281S -> Host Controlle
Advanced Card Systems Ltd. Page 6 of 56
ACR1281S
QUICK OVERVIEW OF THE ACR1281S READER
1. ACR1281S (with Contact Card Option)
2. ACR1281S (without Contact Card Option)
Advanced Card Systems Ltd. Page 7 of 56
ACR1281S
3. ACR1281S ICC Interface
4. ACR1281S PICC Interface
Advanced Card Systems Ltd. Page 8 of 56
ACR1281S
Recommended ICAO E-Passport Placement
ICAO
E-Passport
• In case the E-Passport is not accessible, try to place the E-Passport above the reader by
5~10mm.
5~10mm
Advanced Card Systems Ltd. Page 9 of 56
ACR1281S
SYSTEM DESCRIPTION
1. The Reader Block Diagram
LED & Buzzer
Built-In
Antenna
PICC
Contactless Card
RC531
NFC Interface
Contactless Interface
Carrier = 13.56MHz
Chip
SPI
ISO7816 Interface
Host Controller
Contact Card
AT90SCR100H
ICC
Serial
USB
Firmware
Upgrade
PC
Operation
System
Advanced Card Systems Ltd. Page 10 of 56
ACR1281S
2. Communication Flow Chart of ACR1281S
Host
ACR1281S
ACR128U PCSC
ICC Interface
ISO 7816 Part1-4
ICC Interface
ACR128U PCSC
PICC Interface
Serial
Interface
(CCID
liked
Format)
PCSC Layer
T=CL &T=1
Emulation
ICC
And
PICC
ICC
(Landing Type
Acceptor)
ISO 14443 Part1-4
PICC Interface
Physical
Interface
PICC
(Built-In Antenna )
Advanced Card Systems Ltd. Page 11 of 56
ACR1281S
HARDWARE DESCRIPTION
3. USB Interface
The ACR1281S is connected to a Host through the RS232 Serial Interface; the max speed is up to
500kbps.
Pin Signal Function
1 VCC
2 RXD
3 TXD
4 GND
+5V power supply for the reader.
The signal from the reader to the host.
The signal from the host to the reader.
Reference voltage level for power supply
4. LED Indicator
The LEDs are used for showing the state of the contact and contactless interfaces.The Red LED is
used for showing PICC status and Green LED for ICC.
Reader States Red LED
1. No PICC Found or PICC present but not
activated.
PICC Indicator
A single pulse per
~ 5 seconds
Green LED
ICC Indicator
2. PICC is present and activated ON
3. PICC is operating Blinking
4. ICC is present and activated ON
5. ICC is absent or not activated OFF
6. ICC is operating Blinking
Advanced Card Systems Ltd. Page 12 of 56
ACR1281S
5. Buzzer
A monotone buzzer is used to show the “Card Insertion” and “Card Removal” events.
Events Buzzer
1. The reader powered up and initialization
Beep
success.
2. Card Insertion Event (ICC or PICC) Beep
3. Card Removal Event (ICC or PICC) Beep
6. ICC Interface (Contact Smart Card)
A landing type Smart Card Acceptor is used for providing reliable operations. The minimum life
cycle of the acceptor is about 300K times of card insertion and removal.
7. PICC Interface (Contactless Smart Card)
A built-in antenna is used for communication between the PCD and PICC.
Advanced Card Systems Ltd. Page 13 of 56
ACR1281S
SERIAL COMMUNICATION PROTOCOL (CCID-LIKED FRAME FORMAT)
Communication setting: 9600 bps(Default), 19200 bps, 38400 bps, 57600 bps and 115200
bps,128000bps, 250000bps, 500000bps.
Byte format: 8-N-1.
The communication protocol between the Host and ACR1281S is very similar to the CCID
protocol.
Command Frame Format
STX
(0x02)
Bulk-OUT Header APDU Command
Or
ChecksumETX
(0x03)
Parameters
1 Byte 10 Bytes M Bytes
1 Byte 1 Byte
(If applicable)
NOTE: Checksum = XOR {Bulk-OUT Header, APDU Command or Parameters}
Status Frame Format
STX
(0x02)
Status ChecksunETX
(0x03)
1 Byte 1 Byte 1 Byte 1 Byte
NOTE: Checksum = Status
Response Frame Format
STX
(0x02)
Bulk-IN Header APDU Response
Or
ChecksumETX
(0x03)
abData
1 Byte 10 Bytes N Bytes
1 Byte 1 Byte
(If applicable)
NOTE: Checksum = XOR {Bulk-IN Header, APDU Response or abData}
Advanced Card Systems Ltd. Page 14 of 56
ACR1281S
8. Bulk-OUT Command
8.1 HOST_to_RDR_IccPowerOn
This command is used to activate the ICC and PICC . The ATR will be returned if available in
response “RDR_to_HOST_DataBlock” Format (See 2.1).
Command Frame Format
STX
(0x02)
(HOST_to_RDR_IccPowerOn)
1 Byte 10 Bytes 0 Byte 1 Byte 1 Byte
HOST_to_RDR_IccPowerOn Format
Offset Field Size Value Description
0 bMessageType 1 62h
1 dwLength
<LSB .. MSB>
5 bSlot 1 00h,01h 00h forPICC interface, 01h for ICC
6 bSeq 1 00h-FFh Sequence number for command
7 bPowerSelect 1 00h, 01h,
8 abRFU 2 Reserved for Future Use
Note: The ICC interface must be activated before access contact cards while PICC interface is
optional.
Example: Power on PICC slot
Command: 0262 00 00 00 00 00 00 00 00 0062 03