Hi Juan,
Thanks for replying.
I'm using MQX. Yes, the slave is 16 bits; it's an LCD display.
I'm using 'fputc(data, spifd)' to write the data and, when configured to 16 bits, I get an IO_ERROR (-1) and nothing happens on the SDA, SCL, lines.
The fputc() enables de CS to the device and 'fflush()' disables it.
I solved the problem by sending two bytes (2 x fputc()) and then 'fflush()', this way the CS is only disabled after 16 bits is transmitted.
Anyway, I think the SPI should work fine at 16 bits.
Thanks and regards.