I'm trying to set my SPI0 to 16 bits through:
|// Framesize = 16|
|param = 16;|
|printf ("Changing the Framesize to %d bits ... ", param);|
|if (SPI_OK == ioctl (spifd, IO_IOCTL_SPI_SET_FRAMESIZE, ¶m))|
The procedure is accepted and I receive an OK and read 16 when a GET_FRAMESIZE is issued.
The problem is I cannot write at the device; it always returns error, only with 16 bits, if 8 is set, it works fine.
How can I work with SPI in 16 bits?
Thank you...Bruno Castelucci