SPI ioctl hangs in imx6ul

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

SPI ioctl hangs in imx6ul

1,228件の閲覧回数
obulesu_veggidi
Contributor II

Hi,

sometimes spi ioctl in imx6ul hangs indefinitely.
ioctl(sSpiObj.spiFd, SPI_IOC_MESSAGE(1), &sSpiTransfer);

What could be the reason, is the issue belongs to the driver or SPI config in dts file?

 

 

 

タグ(1)
0 件の賞賛
返信
4 返答(返信)

1,199件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

 The as example:

struct spi_ioc_transfer tr[256];

has to be defined as a global variable.

Regards

0 件の賞賛
返信

1,175件の閲覧回数
obulesu_veggidi
Contributor II
Hello Bio_TICFSL,
I made it as a global variable, still the problem exist.
Do I need to change SPI config in dts?
0 件の賞賛
返信

1,163件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi, You said it happens sometimes, this should be a problem of the hardware you have connected.

Regards

0 件の賞賛
返信

1,151件の閲覧回数
obulesu_veggidi
Contributor II
Hello Bio_TICFSL,
We have interfaced CLRC663 chip which is a NXP contactless card reader chip.
0 件の賞賛
返信