ISO7816 T=0 Com Protocol

Post here to discuss any new features, components, chips, etc, that you would like to see in Flowcode.
Post Reply
Alan_37
Posts: 137
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 7:23 pm
Has thanked: 41 times
Been thanked: 19 times

ISO7816 T=0 Com Protocol

Post by Alan_37 »

Hi ,

ISO/IEC 7816 is a standard com protocol for smart cards and security Chips .

It has several transmission protocols, denoted as T=0, T=1, T=2, and T=3. Each transmission protocol defines how data
is exchanged between the smart card and the MCU / Terminal .

T=0 is one of the transmission protocols defined in ISO/IEC 7816. It is a byte-oriented protocol, meaning that data is
sent and received in bytes.

In T=0 protocol:

1, Communication between the terminal and the smart card is based on a half-duplex asynchronous serial communication.
2, Each communication is initiated by the terminal sending a command byte to the card.
3, The card processes the command and responds with one or more bytes of data.
4, The terminal then sends more commands or terminates the communication.

Would be really great to see T=0 Added to Flowcode V10

Regards

Alan

BenR
Matrix Staff
Posts: 1743
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 444 times
Been thanked: 604 times

Re: ISO7816 T=0 Com Protocol

Post by BenR »

Hi Alan,

There's some code here which looks simple enough for us to port across into Flowcode.

http://www.tobiasfeigl.de/2015/12/23/ar ... otocol-t1/

What worries me slightly is that parts of the schematic have been blanked out. I wonder if there is a licensing requirement surrounding the protocol?

Looks like it's a synchronous bus but should be easy enough to bit bang using standard IO pins.

Post Reply