I want to control ILI9341(SPI LCD) by STM32F103C8.
Simple SPI access is ok.
Most example are belong arduino in internet, but I am using EWARM.
Please share your experience to me.
Googling STM32 ILI9341 dumped a bunch of hits
GitHub - fagcinsk/stm-ILI9341-spi: STM32 ILI9341 spi
Thanks Clive One.
with ILI9341 it has command & data information via SPI interface.
Are they using same SPI function(push data) and necessary to handle the D/C(Data/Command) pin by myself?
In ILI9341 data sheet, there have 9-bit interface.
I think it like I2C style, one more bit indicate the following data either data or command.
Shall we implement it in STM32?
Please let me know your comment.
There should be also a 8 bit with dedicated pin for command/data.
For STM32F103, the HW supports 8 or 16 bit bitblock transfer. Extra bit done by SW bit banging?
For newer STM32 with FIFO'd SPI, the HW supports 4,5,6...16 bits so the 9 bit mode seems a better fit, and save a pin.
Retrieving data ...