A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Contents Introduction..........................4 Features............................ 4 Supported card types......................5 Microcontroller-based smart cards (asynchronous interface) ............5 Memory-based smart cards (synchronous interface) .................
Page 3
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r 8.2.4.6 VERIFY_AUTHENTICATION ....................24 8.2.5 Memory Card – ATMEL AT88SC1608 ..................25 8.2.5.1 SELECT_CARD_TYPE ......................
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Introduction The ACS Smart Card Reader/Writer ACR38 is an interface for the communication between a computer (for example, a PC) and a smart card. Different types of smart cards have different commands and different communication protocols.
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Supported card types The ACR38 can operate MCU cards with T=0 and T=1 protocol in its main card slot. Microcontroller-based smart cards (asynchronous interface) The ACR38 supports EEPROM microcontroller-based cards with internal programming voltage (VPP) generation and the following programming parameters transmitted in the ATR:...
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Smart Card Interface The interface between the ACR38 and the inserted smart card follows the specifications of ISO7816-3 with certain restrictions or enhancements to increase the practical functionality of the ACR38.
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Power Supply The ACR38 requires a voltage of 5V DC, 100mA regulated power supply. The ACR38 gets the power supply from the PC (through the cable supplied along with each type of reader).
Reference voltage level for power supply NOTE - In order for the ACR38 to function properly through USB interface, either ACS proprietary device driver or ACS PC/SC device driver has to be installed. Please refer to the Device Driver Installation Guide for more detail.
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Communication protocol In the normal operation, the ACR38 acts as a slave device with regards to the communication between a computer and the reader.
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Byte 5 ... N+4 (N>0) Header Status Data Length = N Data Data Length N Header Always 01 to indicate the start of the response.
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Commands The commands executed by the ACR38 can generally be divided into two categories, namely, Control Commands and Card Commands.
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r : card inserted, not powered up : card powered up SELECT_CARD_TYPE This command sets the required card type. The firmware in the ACR38 adjusts the communication protocol between reader and the inserted card according to the selected card type.
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length SET_CARD_PPS This command sends PPS Request to the smart card. This command should work in pair with SET_READER_PPS.
Page 14
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r PPS Response PPS Response received from the card (Please refer to ISO/IEC 7816-3:1997 Section 7 for details of PPS response).
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Card Commands The available commands and the parameters specified in the card commands as well as the data transmitted in the response from the ACR38 depend on the selected card type.
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length ……… Answer-To-Reset as transmitted by the card according to ISO7816-3. NOTE - The ATR is only returned in the ACR38 response if the communication protocol of the card is compatible with the reader, i.e., if the card can be processed by the ACR38.
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length BYTE 1 … … BYTE N BYTE x Response data from card (if any).
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Command format Header Instruction Data length Data Card Type Response data format Header Status Data length BYTE 1...
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r READ_MEMORY_CARD Command format Header Instruction Data length Data Byte Address MEM_L Byte Address Memory address location of the memory card. MEM_L Length of data to be read from the memory card.
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Memory Card – 32,64,128,256,512,1024 kbit I2C card SELECT_CARD_TYPE This command powers down and up the selected card inserted in the card reader and performs a card reset. Notes: This command must be the first command after card insertion! Command format Header...
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length SW1, SW2 = 90 if no error READ_MEMORY_CARD Command format Header...
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length BYTE 1 … … BYTE N BYTE x Data read from memory card SW1, SW2 = 90...
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Pw(0),Pw(1),Pw(2) Passwords to be sent to memory card. = 0000 00rp where the two bits “rp” indicate the password to compare r = 0 : Write password, r = 1: Read password, p: Password set number,...
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Memory Card – ATMEL AT88SC1608 SELECT_CARD_TYPE This command powers down and up the selected card inserted in the card reader and performs a card reset. It will also select the page size to be 16-byte page write.
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length BYTE 1 … … BYTE N BYTE x Data read from memory card SW1, SW2 = 90...
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r VERIFTY_PASSWORD Command format Header Instruction Data length Data Data Pw(0) Pw(1) Pw(2) Pw(0),Pw(1),Pw(2) Passwords to be sent to memory card.
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r VERIFY_AUTHENTICATION Command format Header Instruction Data length Data Q1(0) Q1(1) … Q1(7) Byte Address Memory address location of the memory card. Q1(0),Q1(1)…Q1(7) Host challenge, 8 bytes.
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r MSB Byte Address = 0000 00A is the memory address location of the memory card. LSB Byte Address is the memory address location of the memory card.
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length BYTE 1 … … BYTE N BYTE x Data read from memory card SW1, SW2 = 90...
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r = 5 + MEM_L MEM_L Length of data to be written to the memory card. Byte x Byte values to be compared with the data in the card starting at Byte Address.
Page 32
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Command format Header Instruction Data length Data MEM_L Response data format Header Status Data length ERRCNT DUMMY 1...
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Memory Card – SLE4432/5542 SELECT_CARD_TYPE This command powers down and up the selected card inserted in the card reader and performs a card reset. Notes: This command must be the first command after card insertion! Command format Header...
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Command format Header Instruction Data length Data Byte MEM_L Byte 1 ..Byte N Address Byte Address = 000A...
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length ERRCNT CODE Byte 1 Byte 2 Byte 3 ERRCNT The value of the presentation error counter after the code presentation.
Page 37
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length SW1, SW2 = 90 if no error ACR38 Reference Manual Page 37 of 44 Version 2.2 January 2008...
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Memory Card – SLE4406/4436/5536 Only ACR38 reader with firmware v1.10 onwards can support this memory card type SLE4406/4436/5536. SELECT_CARD_TYPE This command powers down and up the selected card inserted in the card reader and performs a card reset.
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length BYTE 1 … … BYTE N BYTE x Data read from memory card SW1, SW2 = 90...
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Command format Header Instruction Data length Data Byte MEM_L MODE BYTE Address Byte Address = Memory address location of the memory card. = 5 + MEM_L MODE Specifies the write mode and backup option...
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length SW1, SW2 = 90 if no error AUTHENTICATE_MEMORY_CARD (SLE4436 and SLE5536 only) To read a card authentication certificate from a SLE5536 card.
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Appendix A: Supported Card Types The following table summarizes which values must be specified in the SET_CARD_TYPE command for a particular card type to be used, and how the bits in the response to the GET_ACR_STAT command correspond with the respective card types.
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Appendix B: Response Status Codes The following table summarizes the possible status code returned by the ACR38: Status Code Status OK –...
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r 19.0 96.5 73.0 Appendix C: Technical Specifications Device ACR38 Smart Card Reader/Writer Universal Serial Bus Interface Type..........USB full speed, four lines: +5V, GND, D+ and D- Power source........From USB Speed ..........12 Mbps...
Need help?
Do you have a question about the ACR 38 and is the answer not in the manual?
Questions and answers