imx283 spidev

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

imx283 spidev

893 Views
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

Tags (2)
0 Kudos
Reply
1 Reply

706 Views
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 Kudos
Reply