imx283 spidev

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx283 spidev

1,578 次查看
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,391 次查看
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 项奖励
回复