2024-12-18 01:52 AM
Hello,
I have a STM32U575 and a 2.3" TFT with ILI9341, i use TouchGFX, thats works fine, after my GPDMA1 is correctly configured. (I Hope my GPMDA1 is correctly configured, and it's not a problem with the Transmitting DMA)
Now i have 3 Screens, (Red, Green, Blue) but i have the problem, the colors on my display was wrong.
"Red = Magenta","Green=Green","Blue=Black"
The TFT is a RGB565, the Driver uses RGB565, the TFT is in the 16-Bit mode, and my SPI on 8-Bit mode.
How must i change, to show the correct colors on my display?
I found a thread in this forum, but there is no solution, only a hint "swap the bytes it's a problem between 16 bit display and 8 bit SPI...."..
my code i use is attached.
Thanks daniel
2024-12-18 02:01 AM