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
ISO7816 T=0 Com Protocol
-
- Posts: 170
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 7:23 pm
- Has thanked: 51 times
- Been thanked: 22 times
-
- Matrix Staff
- Posts: 1882
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 484 times
- Been thanked: 661 times
Re: ISO7816 T=0 Com Protocol
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel