How do you feel about implementing 16bit spi transfers ? (preferably on ARM boards)
Something like (write-word) and (read-word).
transfer() and transfer16() are both a standard function in the spi lib.
It would be nice to have , because many tft displays with spi interface
require a 16 bit value to tranfer for sending data to the display (16bit RGB)
for example the ILI9341.
I’m using a workaround now by implementing a ‘fake’ CS
something like this :
(digitalwrite 10 low) (with-spi (9,4000,0,0) (write-byte HH str) (write-byte LL str)) (digitalwrite 10 high)
10 is the real CS pin , as 9 is the fake CS pin
pin 9 is therefore lost , it can not be used for something else.