Presentation is loading. Please wait.

Presentation is loading. Please wait.

Smart Card Reader. Quick Start Training Agenda Smart Card Introduction ISO 7816 Standard Smart Card Operation CoolRunner-II Smart Card Reader CoolRunner-II.

Similar presentations


Presentation on theme: "Smart Card Reader. Quick Start Training Agenda Smart Card Introduction ISO 7816 Standard Smart Card Operation CoolRunner-II Smart Card Reader CoolRunner-II."— Presentation transcript:

1 Smart Card Reader

2 Quick Start Training Agenda Smart Card Introduction ISO 7816 Standard Smart Card Operation CoolRunner-II Smart Card Reader CoolRunner-II System Design

3 Quick Start Training What is a Smart Card? A smart card is a credit card sized plastic card with an embedded microprocessor and memory and is used for identification, access and to conduct financial transactions Acting like a mini-computer, Smart cards allow money and information to be electronically stored and transferred in a secure, but portable medium

4 Quick Start Training Smart Card Image Credit card sized plastic card Smart card chip contacts

5 Quick Start Training Smart Card Types The chip – Memory card – Microprocessor multifunction card The connection – Contact card – Contactless card – Contact-Contactless card

6 Quick Start Training Smart Card Applications Identification card Credit and debit Digital cash/E-cash E-commerce E-register E-purse/E-wallet E-ticketing Information card Home banking Security access Library and resource access Toll payment Electronics benefits transfer

7 Quick Start Training Smart Card Standard Defined by the international standard ISO 7816 ISO 7816 –1 & -2 – Cover the physical dimensions and locations of the chip contacts ISO 7816 –3 & -4 – Govern the electronic signals, transmission protocols and inter- industry commands for interchange ISO 7816 –5 to –8 – Cover the number system, data elements, card SQL and security commands

8 Quick Start Training Smart Card Operation Connection and activation of the contacts – Contacts activation sequence are defined Electrical characteristics – Initial clock rate and I/O rate Answer to reset – At most 33 characters, defines protocol and format Transmission protocol – T=0, half duplex character transmission – T=1, half duplex block transmission

9 Quick Start Training Asynchronous Transmission Asynchronous character frame Initial character format

10 Quick Start Training Answer To Reset

11 Quick Start Training CoolRunner-II Smart Card Reader A stand alone smart card host system Accept the Advanced Card System ACOS1 microprocessor-based smart card An ON semiconductor NCN6011 level shifter is used for 5V interface to the smart card A low power, 32Kx8 ISSI IS61LV256 SRAM is used for data storage An Okaya 1602 16x2 character LCD is used for display

12 Quick Start Training Block Diagram Smart card Control Main Control Logic LCD Control SRAM Interface Smart card Acceptor Level Shifter CoolRunner II CPLD SRAM LCD Display

13 Quick Start Training Prototype CoolRunner-II Smart Card Reader

14 Quick Start Training CoolRunner-II System Design The information to be read from the card is the name, gender, status, age and bank balance Simplified design does not handle different data format received T=0, asynchronous transmission protocol Predefined answer to reset No parity or error checking Predefined data length

15 Quick Start Training Smart Card Control Block Diagram Baud Rate Counter Bit Counter Byte Counter Shift register Byte Encoder State machine control Card_io Card_clk Card_rst Data_out Data_ready 8 Io_rw Bitcounter() Bytecounter()

16 Quick Start Training Smart Card Control State Machine Idle Wait Enable = 1 I/O = 0 Init Read char End Process Send command Command_ready = 1 Command_end = 1 Done = 1

17 Quick Start Training Reader Commands CommandsDescription 80 A4 00 00 02, A4, F0 00Select file, 2 bytes pointer 80 B2 00 00 20, B2, 44 65….Reads record, 32 bytes data 80 E1 00 00 04, E1, 00 00..Inquire access, 4 bytes address 80 C0 00 00 19, C0, AA D2..Get access data, 25 bytes

18 Quick Start Training LCD Write

19 Quick Start Training LCD Initialization

20 Quick Start Training Main Control Block Diagram To LCD Main Control State machine Smart Card Control Decoder Logic LCD Control SRAM Control Delay Counter SRAM Counter_enable Counter() done Sram_rw Data Lcd_w Lcd_ready Main Control Logic

21 Quick Start Training Main Control State Machine Idle Write_name Smartcard_done = 1 Char = 1 Standby Write_male End Delay_loop Write_female Write_age Lcd_ready = 1 Char = 2 Char = 1 Write_single Delay_loop Write_married Char = 2 Delay_loop

22 Quick Start Training Conclusion A Simplified Smart Card Reader – Predefined format and protocol – No error checking A different approach for smart card applications – No software development – No microprocessor References – Xapp, CoolRunner-II Smart Card Reader – Xapp, CoolRunner-II Character LCD Display Controller


Download ppt "Smart Card Reader. Quick Start Training Agenda Smart Card Introduction ISO 7816 Standard Smart Card Operation CoolRunner-II Smart Card Reader CoolRunner-II."

Similar presentations


Ads by Google