ISO7816 on VF6 SOM, gpio configuration

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ISO7816 on VF6 SOM, gpio configuration

641 Views
leonardogiordan
Contributor I

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

Labels (2)
0 Kudos
1 Reply

448 Views
Carlos_Musich
NXP Employee
NXP Employee

Hi Leonardo,

I don't think it is just a matter of configuring the pin, but enabling something at the driver level. Please note that NXP does not support emcraft solutions, you may contact them for support.

Regards,

Carlos

0 Kudos