Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 8 months ago.
query : FRDM-K64F ISO7816 pins/connection
Hello Team,
I have FRDM-K64F Freedom Dev Board & I have query regarding ISO7816 interface.
As i know, board's UART0 has capability of ISO7816 interface support. but i dont know the pinouts(how to connect Board with Smartcard).
I have link "https://community.nxp.com/message/506388?commentID=506388#comment-506388" for I2C Board-Smartcard connection diagram. but plz tell me, is it helpful for K64F board?? & -> if "Yes" than i dont know given pinouts (like FTMn_Chx), plz help me all pinouts for that. -> if "No" than plz give me helpful Board-Smartcard I2C Connection Diagram.
Please help me ASAP, so i easily move forward to work further.
Thanks, Vishal PATEL
Question relating to:
![](/media/cache/profiles/Freescale_Logo-nosemi_Lh_4c_1.jpg.50x50_q85.jpg)
2 Answers
7 years, 8 months ago.
Hi Vishal. Someone from Freescale / NXP should really chime in to assist you since this is a fairly deep question on how to interface and use the ISO7816 interface. However, from a few quick searches, review the datasheet for the CPU present on your Freedom board. The datasheet shows that UART0 must be used for the ISO7816 support. At this time, no idea on how to wire up the interface (NXP should help with this detail). Some history, the ISO7816 spec is very old and ages ago, 8051 processors were used to bit-bang out the spec. Varying with your complexity, you could consider the same but this CPU should ease this pain with the vendor libraries. Another idea is to seek out an external I2C or SPI controller to ISO7816 bridge. Maxim has one from an internet search.
https://developer.mbed.org/users/MadVoltage/notebook/smart-card/
here is a link to one of the smartest researchers in the industry for this topic:
http://www.cl.cam.ac.uk/~mgk25/
7 years, 8 months ago.
Hi, Vishal
The thread on nxp community provide you a good start point to use ISO7816 feature of K64 UART. To connect a smart card, you also need a clock signal which is mapping to any FTM_CHx pins. You need configure a clock signal between 1MHz to 5MHz according to ISO7816 spec