Increasing the speed of LCD
I have interfaced an Arduino 2.4" 320x240 LCD display with an ILI9341 controller to an STM32L476 MCU. To do this I stitched together the ST initialization code derived from MX plus some LCD initialization code from LCDwiki plus a font library from Texas Inst. I replaced the SPI driver in the TI part of the code with a native ST driver and it all works well. BUT it is slow. It takes 1.6 sec to write the entire 60,000 pixels because the message is going out one byte at a time with a 12 usec latency between each byte. (two bytes/pixel)
The HAL driver HAL_SPI_Transmit(&SpiHandle, (uint8_t*)aTxBuffer, 50, 5000) works well, with no latency, when transmitting a string but the TI font interpreter generates only one byte at a time so.. where do I go from here? I suppose I could create a 120 kbyte buffer in RAM and call the above HAL function but I think that's kind of brute force. Any suggestions would be gratefully appreciated.
