Tool/software: Linux
Hi
I am working on a platform closely based on the beagle bone black.
One addition is a small screen that requires to be set up using SPI in a 9bit 3-WIRE mode.
It has been tracked to MOSI, SCLK and CS0 of SPI1 on our am3352zcz (balls H5, H16 and C12) there is nothing connected to the MISO of this SPI bus.
MOSI has been connected to the SDA of the screen.
There appears to be a driver for the necessary chip (ilitek, 9340L) - the kernel version I am presently using is 4.4.19-gdb0b54cdad
From reading the TRM the hardware should be capable of this; looking at the code however it looks like it is not yet supported (from comments in spi-omap2-mcspi.c)
From the driver code it appears that it only transmits data - nothing is ever read from the display.
I am wondering what the path of least resistance would be to in get this screen to work?
- Would I need to implement 3-WIRE support fully at the mcspi layer? (does anyone know of a patch?)
- or is it possible to work with a normal 4-WIRE SPI mode in 9bits as all the (missing) received data is "dont' care"?
- or is there some other option (pins as GPIO & bitbash?
Thanks for any advice, suggestions or warnings.
All the best,
Richard