The code you kindly provided originally left a black screen.
So I checked PB1's and it was low.
After a few hours of rest, I found your comment and reversed the polarity on PB1 and commented out the if statements to avoid my confusion and the backlight was lit.
Fast forward 10 minutes and waiting a bit, the screen is not displaying anything.
The code that does display the test screens but nothing other than white screens of a timed nature is from:
http://www.lcdwiki.com/res/Program/Parallel_Port/3.2inch/16BIT_ILI9341_MRB3205_V1.0/3.2inch_16BIT_Module_ILI9341_MRB3205_V1.0.zip The demo when unzipped lies at the path of: Demos\3.2inch_16BIT_Module_ILI9341_MRB3205_V1.0\1-Demo\Demo_STM32\Demo_0_STM32F407VET6. It is totally configured for another device, although labelled STM32F407VET6.
Not only that, but comments like
"(GPIOA,GPIO_Pin_1); // initialize GPIOF9, F10 setting high, light off" don't do anything to inspire confidence or calm
.
Also anything that was commented was in Chinese which required long sessions traversing back and forth between Notepad++, Google and the IDE to sort out.
I did find a YouTube video from Mutex Embedded, a guy in Morocco who showed how to do an 8 bit FSMC which although displaying text, symbols and a photo, it looks cartoonish like "3-1/2 bit color" but it does work to show anything but a white screen.
"STM32F4 Discovery board - Keil 5 IDE with CubeMX - Tutorial 21 - TFT LCD ili9341 (using FSMC)"
All other Chinese "examples" fail.
To compound my miseries, I made a bad mistake of using a common storage folder for all build hex files so I could use STMCube Programmer without searching for where the hex files were at. It destroyed several progressing "better" LCD hex files. This happened when I compiled an unrelated Arduino project, which used the common hex folder. I had the Arduino build output set to this folder. It totally wipes the folders contents out
.
I have relearned not to stress out "much" but it is a trait from when I was under the gun when I was still working and not retired as I am now.