Software design, Ccid protocol – ACS ACR1283L User Manual

Page 10

Advertising
background image

ACR1283L – Reference Manual

[email protected]

Version 1.00

www.acs.com.hk

Page 10 of 55

5.0. Software Design

5.1. CCID Protocol

ACR1283L 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 ACR1283L 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 ACR1283L has

an associated ending response. Some commands can also have intermediate responses.

CCID Responses are sent on BULK-IN endpoint. All commands sent to ACR1283L have to

be sent synchronously. (i.e. bMaxCCIDBusySlots is equal to 1 for ACR1283L).


The supported CCID features by ACR1283L 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

0110h

CCID Specification Release

Number in Binary-Coded

decimal.

4

bMaxSlotIndex

1

04h

Five slots are available on

ACR1283L.

5

bVoltageSupport

1

07h

ACR1283L can supply 1.8 V, 3.0

V and 5.0 V to its slot.

6

dwProtocols

4

00000003h ACR1283L 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 344100 bps.

27

bNumDataRatesSupported

1

00h

Does not support manual setting

of data rates.

28

dwMaxIFSD

4

00000200h

Maximum IFSD supported by

ACR1283L for protocol T=1 is

512.

Advertising