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
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!
-----------------------------------------------------------------------------------------------------------------------