Hi All
We are working on a custom board based on GPEVM and using processor SDK linux. We have connected a normal SPI based Graphic LCD on the qSPI pins. And we are trying to read/write various registers through SPIDEV library. This is our device tree entry:-
&qspi {
status = "okay";
spi-max-frequency = <20000000>;
spidev_lcd@0 {
compatible = "rohm,dh2228fv";
spi-max-frequency = <10000000>;
reg = <0x0>;
};
};
But we are always getting the following error:
SPI can't send SPI_IOC_MESSAGE : Invalid argument
We were able to run the same LCD over through normal SPI pins using SPIDEV library on AM5728IDK board on SPI2 controller.
So my question is :
- Can we use these qSPI pins in normal SPI mode?
- If yes, then what kind of changes needed in software for above purpose?
- If no, then if i use GPIOs to make a SPI through bitbanging, then what can be the max clock of this bitbanged SPI?
Thanks & regards
Amritpreet Singh