AnsweredAssumed Answered

ISO7816 on VF6 SOM, gpio configuration

Question asked by Leonardo Giordano on Nov 17, 2017
Latest reply on Dec 12, 2017 by Carlos_Musich

Hi,

I'm using this module: https://emcraft.com/products/632 on my board. Linux kernel 4.5

I have already implemented ISO7816 communication in some other processors, I'm now trying on VF6.

Using a logic analyzer I can see the smart card is working (it resets and sends ATR). However, the UART doesn't get it.

According to ISO7816 and VF6 datasheet, TX pin is used bi-directionally. I guess configuring UART in ISO7816 doesn't configure the pin appropriately, so I'm doing it by myself.

 

Here is my device tree configuration:

 

pinctrl_uart1: uart1grp {
   fsl,pins = <
      VF610_PAD_PTB4__UART1_TX (VF610_UART_PAD_CTRL | PAD_CTL_ODE | PAD_CTL_OBE_IBE_ENABLE)
      /*VF610_PAD_PTB5__UART1_RX (VF610_UART_PAD_CTRL | PAD_CTL_IBE_ENABLE)*/
   >;
};

 

Please note RX is commented as it's not used. I have tried some other configurations but no success.

 

Any tips or suggestions?

BR,

Leonardo

Outcomes