ISO7816 on VF6 SOM, gpio configuration

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ISO7816 on VF6 SOM, gpio configuration

1,353件の閲覧回数
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

ラベル(2)
タグ(2)
0 件の賞賛
返信
1 返信

1,160件の閲覧回数
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 件の賞賛
返信