Skip to main content
MMast.11
Associate II
July 16, 2020
Solved

I want to mount an ILI9341 TFT display on STM32F746; I'm using the Unigraphic Library on MBED, and I can't get it to work.

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.

This topic has been closed for replies.
MMast.11
MMast.11Best answer
Associate II
September 18, 2020

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

1 reply

MMast.11
MMast.11AuthorBest answer
Associate II
September 18, 2020

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