This example sends ISO 7816 commands to a smartcard connected to SAMV7/E7 Microcontrollers.
This package can be used with SAMV71 Xplained Ultra board or SAME70 Xplained board. Please connect the smartcard contacts with following pins which could be easily wired from the board.
The iso7816 software provide in this examples is use to transform APDU commands to TPDU commands for the smart card. The iso7816 provide here is for the protocol T=0 only. The send and the receive of a character is made under polling. In the file ISO7816_Init is defined all pins of the card. User must have to change this pins according to his environment. The driver is compliant with CASE 1, 2, 3 of the ISO7816-4 specification.
C1: Vcc - 7816_3V5V | C5: Gnd | C4: RFU |
C2: Reset - 7816_RST | C6: Vpp | C8: RFU |
C3: Clock - 7816_CLK | C7: I/O - 7816_IO |
-- USART ISO7816 Example xxx -- -- SAMxxxxx-xx -- Compiled: xxx xx xxxx xx:xx:xx -- Display the ATR