2020-07-16 07:29 AM
The display is a TFT mcufriend-like (http://www.lcdwiki.com/2.4inch_Arduino_Display) based on the ILI9341 chip. I started with the 'Unigraphic-St7920-Test' on mbed to make it work on my Nucleo F756ZG board (https://os.mbed.com/users/charly/code/UniGraphic-St7920-Test/file/ec8380e9a255/main.cpp). To make it works on the Nucleo I inserted the TFT with the equivalent pin of the Arduino. Declaration line is modified as
ILI9341 myLCD(PAR_8, PortC, PF_3, PF_5, PC_3, PC_0, PA_3,"myLCD"); // Parallel 16bit, Port, CS, reset, DC, WR, RD for F401
When uploaded on the Nucleo the TFT brightness goes up, the program run, I see on the COM3 port that the program keeps running and writing, however doesn't matter what I do the screen keeps being white.
My issue is probably with this 'PortC' Definition (I figured too late the tft doesn't have a SPI). I looked up on PAR8.h, Protocols.h, ILI9341.h, can't understand how this parallel gpio works. Any suggestion would be greatly appreciated.
P.S. I'm sorry to add I don't have an oscilloscope at home to check what the pins do.
Solved! Go to Solution.
2020-09-18 04:19 PM
Solution is at the end of
https://os.mbed.com/questions/78848/need-help-with-35-TFT-LCD/
And PortC goes form C0 to C7,
in case it is useful to someone
2020-09-18 04:19 PM
Solution is at the end of
https://os.mbed.com/questions/78848/need-help-with-35-TFT-LCD/
And PortC goes form C0 to C7,
in case it is useful to someone