As you know we can connect a TFT LCD to the STM32 MCU by two mainmethods: FSMC or GPIO.
The FSMC is for the MCUs which at least have 100Pins I think (we can use the CubeMX to initialize it), and for the smallerMCUs, we have to use the GPIO.
I use the CubeMX and HALlibraries for the projects. I searched for many examples but I could not understand where the user should define or initialize the MCU GPIO Port for the LCD. PORTA or PORTB or whatever.
I have the chipset driver from STM examples which includes ili9325.c and ili9325.h.
examples are a bit confusing.
The FSMC is for the MCUs which at least have 100Pins I think (we can use the CubeMX to initialize it), and for the smallerMCUs, we have to use the GPIO.
I use the CubeMX and HALlibraries for the projects. I searched for many examples but I could not understand where the user should define or initialize the MCU GPIO Port for the LCD. PORTA or PORTB or whatever.
I have the chipset driver from STM examples which includes ili9325.c and ili9325.h.
examples are a bit confusing.