Communication protocol – ACS ACR83 PINeasy Smart Card Reader User Manual
Page 10
ACR83 – Reference Manual
Version 1.05
www.acs.com.hk
Page 10 of 49
7.0. Communication Protocol
ACR83 (CCID) shall interface with the host with USB connection. A specification, namely CCID, has
been released within the industry defining such a protocol for the USB chip-card interface devices.
CCID covers all the protocols required for operating smart cards and PIN.
The configurations and usage of USB endpoints on ACR83 (CCID) shall follow CCID Section 3. An
overview is summarized below:
•
Control Commands are sent on control pipe (default pipe). These include class-specific
requests and USB standard requests. Commands that are sent on the default pipe report
information back to the host on the default pipe.
•
CCID Events are sent on the interrupt pipe.
•
CCID Commands are sent on BULK-OUT endpoint. Each command sent to ACR83 (CCID)
has an associated ending response. Some commands can also have intermediate responses.
•
CCID Responses are sent on BULK-IN endpoint. All commands sent to ACR83 (CCID) have
to be sent synchronously. (i.e. bMaxCCIDBusySlots is equal to 1 for ACR83 (CCID)).
The supported CCID features by ACR83 (CCID) are indicated in its Class Descriptor:
Offset
Field
Size
Value
Description
0
bLength
1
36h
Size of this descriptor (in bytes)
1
bDescriptorType
1
21h
CCID Functional Descriptor type
2
bcdCCID
2
0100h
CCID Specification Release
Number in Binary-coded decimal
4
bMaxSlotIndex
1
00h
One slot is available on ACR83
(CCID)
5
bVoltageSupport
1
07h
ACR83 (CCID) can supply 1.8 V,
3.0 V and 5.0 V to its slot
6
dwProtocols
4
00000003h ACR83 (CCID) supports T=0 and
T=1 Protocol
10
dwDefaultClock
4
00000FA0h Default ICC clock frequency is 4
MHz
14
dwMaximumClock
4
00000FA0h Maximum supported ICC clock
frequency is 4 MHz
18
bNumClockSupported
1
00h
Does not support manual setting
of clock frequency
19
dwDataRate
4
00002A00h Default ICC I/O data rate is
10752 bps
23
dwMaxDataRate
4
0001F808h Maximum supported ICC I/O
data rate is 250000 bps
27
bNumDataRatesSupported
1
00h
Does not support manual setting
of data rates
28
dwMaxIFSD
4
00000Feh
Maximum IFSD supported by
ACR83 (CCID) for protocol T=1
is 254
32
dwSynchProtocols
4
00000000h ACR83 (CCID) does not support
synchronous card