imx283 spidev

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

imx283 spidev

1,583件の閲覧回数
adityapatil
Contributor II

Hi,

I am working with imx283 and linux-2.6.35.3

Does the spidev support 16-bits transfer per word ?

I am able to use 8-bits per word.

But, if i set the bits to 16. Getting following error.

Output:

spidev spi1.0: mxs_spi_setup_transfer, unsupported bits_per_word=16
spidev spi1.0: Failed to setup transfer, error = -22

Thanks

- Aditya

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

1,396件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Aditya

seems driver in ..drivers/spi/spi_mxs.c mxs_spi_setup_transfer()

sets its mode as 8-bits per word, refer to attached Linux Manual

Chapter 21 SPI Bus Driver

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信