background image

Document  Title Here 

Document Title Here 

 

Document Title Here

 

ACR38x  Reference Manual (CCID) 

Version 6.02

 

Page 9 of 20

 

 

 

[email protected] 

www.acs.com.hk 

7.0.  Communication Protocol 

The ACR38x (CCID) shall interface with the host thru 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 ACR38x (CCID)  shall follow CCID Section 3.  An 

overview  is summarized below: 

1. 

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. 

2. 

CCID Events

 are sent on the interrupt pipe. 

3. 

CCID Commands

 are sent on BULK-OUT endpoint.  Each command sent to ACR38x (CCID) 

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

4. 

CCID Responses

 are sent on BULK-IN endpoint. All commands sent to ACR38x (CCID) have 

to be sent synchronously. (i.e. 

bMaxCCIDBusySlots 

is equal to 1 for ACR38x (CCID)) 

 
The supported CCID features by ACR38x (CCID) are indicated in its Class Descriptor: 

Offset 

Field 

Size 

Value 

Description 

bLength 

36h 

Size  of this descriptor, in bytes. 

bDescriptorType 

21h 

CCID Functional Descriptor type. 

bcdCCID 

0100h 

CCID Specification Release 

Number in Binary-Coded decimal. 

bMaxSlotIndex 

00h 

One slot is available on ACR38x 

(CCID) 

bVoltageSupport 

07h 

ACR38x (CCID) can supply 1.8V, 

3.0V and 5.0V to its slot. 

dwProtocols 

00000003h 

ACR38x (CCID) supports T=0 and 

T=1 Protocol 

10 

dwDefaultClock 

00000FA0h 

Default ICC clock frequency is 

4MHz 

14 

dwMaximumClock 

00000FA0h 

Maximum supported ICC clock 

frequency is 4MHz 

18 

bNumClockSupported 

00h 

Does not support manual setting of 

clock frequency 

19 

dwDataRate 

00002A00h 

Default ICC I/O  data rate is 10752 

bps 

23 

dwMaxDataRate 

0001F808h 

Maximum supported ICC I/O  data 

rate is 344 kbps 

27 

bNumDataRatesSupporte

00h 

Does not support manual setting of 

data rates 

28 

dwMaxIFSD 

00000Feh 

Maximum IFSD  supported by 

ACR38x (CCID) for protocol T=1 is 

254 

32 

dwSynchProtocols 

00000000h 

ACR38x (CCID) does not support 

synchronous card 

36 

dwMechanical 

00000000h 

ACR38x (CCID) does not support 

special mechanical characteristics 

Содержание ACR38x

Страница 1: ...Subjectto change without prior notice info acs com hk www acs com hk CCID Reference Manual ACR38x Smart Card Reader...

Страница 2: ...tus LED 7 6 0 USB Interface 8 6 1 Communication Parameters 8 6 2 Endpoints 8 7 0 Communication Protocol 9 8 0 Commands 11 8 1 CCID Command Pipe Bulk OUT Messages 11 8 1 1 PC_to_RDR_IccPowerOn 11 8 1 2...

Страница 3: ...rd Different types of smart cards have different commands and different communication protocols which prevents in most cases the direct communication between a smart card and a computer The ACR38x est...

Страница 4: ...s o Has read and write support to all microprocessor cards with T 0 or T 1 protocols o Supports memory cards I2C bus Protocol Cards 1K bits to 1024K bits Secure Memory Cards Atmel AT88SC153 and AT88SC...

Страница 5: ...mson ST14C02C ST14C04C Gemplus GFM1K GFM2K GFM4K GFM8K Cards with secure memory IC with password and authentication including Atmel AT88SC153 and AT88SC1608 Cards with intelligent 1k bytes EEPROM with...

Страница 6: ...he inserted card This includes both the memory cards and MCU based cards For MCU based cards the reader allows to select the preferred protocol T 0 or T 1 However this selection is only accepted and c...

Страница 7: ...f reader 5 1 Status LED The Green LED on the front of the reader indicates the activation status of the smart card interface Flashing slowly turns on 200ms for every 2 seconds Indicates that the ACR38...

Страница 8: ...s data between ACR38x and PC 3 D Differential signal transmits data between ACR38x and PC 4 GND Reference voltage level for power supply Table 1 USB Interface Wiring Note In order for the ACR38x CCID...

Страница 9: ...have to be sent synchronously i e bMaxCCIDBusySlots is equal to 1 for ACR38x CCID The supported CCID features by ACR38x CCID are indicated in its Class Descriptor Offset Field Size Value Description 0...

Страница 10: ...according to parameters Automatic baud rate change according to frequency and FI DI parameters TPDU level exchange with ACR38x 44 dwMaxCCIDMessageLeng th 4 0000010Fh Maximum message length accepted b...

Страница 11: ...ageType 1 62h 1 dwLength 4 00000000h Size of extra bytes of this message 2 bSlot 1 Identifies the slotnumber for this command 5 bSeq 1 Sequence number for command 6 bPowerSelect 1 Voltage that is appl...

Страница 12: ...is the RDR_to_PC_SlotStatus message 8 1 4 PC_to_RDR_XfrBlock Transfer data block to the ICC Offset Field Size Value Description 0 bMessageType 1 6Fh 1 dwLength 4 Size of abData field of this message...

Страница 13: ...lotnumber for this command 6 BSeq 1 Sequence number for command 7 AbRFU 3 Reserved for future use The response to this message is the RDR_to_PC_Parameters message 8 1 6 PC_to_RDR_ResetParameters Reset...

Страница 14: ...2 Reserved for future use 10 abProtocolDataStru cture Byte array Protocol Data Structure Protocol Data Structure for Protocol T 0 dwLength 00000005h Offset Field Size Value Description 10 bmFindexDin...

Страница 15: ...KST1 1 B7 2 000100b B0 Checksum type b0 0 for LRC b0 1 for CRC B1 Convention used b1 0 for direct b1 1 for inverse Note The CCID ignores this bit 12 BGuardTimeT1 1 Extra Guardtime 0 to 254 etu between...

Страница 16: ...atus 1 Slot status register as defined in CCID section 4 2 1 8 bError 1 Slot error register as defined in CCID section 4 2 1 and this specification section 5 2 8 9 bChainParameter 1 00h RFU TPDU excha...

Страница 17: ...bSlot 1 Same value as in Bulk OUT message 6 bSeq 1 Same value as in Bulk OUT message 7 bStatus 1 Slot status register as defined in CCID section 4 2 1 8 bError 1 Slot error register as defined in CCI...

Страница 18: ...0 H 00 H 10 H Response data format abData field in the RDR_to_PC_DataBlock FIRMWARE MAX_C MAX_R C_TYPE C_SEL C_STAT FIRMWARE 10 bytes data for firmware version MAX_C The maximum number ofcommand data...

Страница 19: ...Type 00H Auto select T 0 or T 1 communication protocol 01H I2C memory card 1k 2k 4k 8k and 16k bits 02H I2C memory card 32k 64k 128k 256k 512k and 1024k bits 03H Atmel AT88SC153 secure memory card 04...

Страница 20: ...d by the ACR38x Error Code Status FFH SLOTERROR_CMD_ABORTED FEH SLOTERROR_ICC_MUTE FDH SLOTERROR_XFR_PARITY_ERROR FCH SLOTERROR_XFR_OVERRUN FBH SLOTERROR_HW_ERROR F8H SLOTERROR_BAD_ATR_TS F7H SLOTERRO...

Отзывы: