background image

Document  Title Here 

Document Title Here 

 

Document Title Here

 

ACR38x  Reference Manual (CCID) 

Version 6.02

 

Page 6 of 20

 

 

 

[email protected] 

www.acs.com.hk 

4.0.  Smart Card Interface 

The interface between the ACR38x  and the inserted smart card follows the specifications of ISO 

7816-3  with certain restrictions or enhancements to increase the practical functionality of ACR38x. 

4.1.  Smart Card Power Supply VCC (C1) 

The current consumption of the inserted card must not be higher than 50 mA. 

4.2.  Programming Voltage VPP (C6) 

According to ISO 7816-3, the smart card contact C6 (VPP) supplies the programming voltage to the 

smart card. Since all common smart cards in the market are EEPROM-based and do not require the 

provision of an external programming voltage, the contact C6 (VPP) has been implemented as a 

normal control signal in the ACR38x. The electrical specifications of this contact are identical to those 

of the signal RST (at contact C2). 

4.3.  Card Type Selection 

The controlling PC has to select the card type always,  through the proper command sent to the 

ACR38x prior to activating the 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 carried out by the reader through the PPS when the card inserted in 

the reader supports both protocol types. Whenever an MCU-based card supports only one protocol 

type, T=0 or  T=1, the reader automatically uses that protocol type, regardless of the protocol type 

selected by the application. 

4.4.  Interface for Microcontroller-based Cards 

For microcontroller-based smart cards, only the contacts C1 (VCC), C2 (RST), C3 (CLK), C5 (GND) 

and C7 (I/O) are used.  A frequency  of 4 MHz is applied  to the CLK signal (C3). 

4.5.  Card Tearing Protection 

The ACR38x provides a mechanism to protect the inserted card when it is suddenly withdrawn while it 

is powered up. The power supply to the card and the signal lines between the ACR38x and the card is 

immediately deactivated when the card is being removed. As a rule however, a card should only be 

removed  from  the reader  while  it is powered  down,  to avoid  any electrical damage. 

Note:

  The  ACR38x never switches on the power supply to the inserted card by itself. The controlling 

computer through the proper command sent to the reader must explicitly do this. 

 

 

Summary of Contents for ACR38x

Page 1: ...Subjectto change without prior notice info acs com hk www acs com hk CCID Reference Manual ACR38x Smart Card Reader...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: