cancel
Showing results for 
Search instead for 
Did you mean: 

Integrating 2.83" TFT with TouchGFX via FMC Parallel RGB Interface

Furkan2
Associate
I am currently working on interfacing a 2.83-inch TFT display (320x240 resolution) with the STM32U5F7VJT6 microcontroller using the FMC parallel 8080 interface. I have successfully configured the FMC in STM32CubeMX with the following settings:
  • Mode Configuration: NOR Flash/PSRAM/SRAM/ROM/LCD1
  • Chip Select: NE1
  • Memory Type: LCD Interface
  • LCD Register Select: A16
  • Data Width: 16 bits
After generating the code, I utilized the ST7789 driver to fill the screen with solid colors using the function ST7789H2_FillRect(0, 0, 320, 240, 0xFFFF);, which worked as expected.
Subsequently, I aimed to integrate TouchGFX to enhance the graphical interface. I configured TouchGFX accordingly, added an image using ApplicationTemplate.touchgfx.part, generated the code, and flashed it to the device. However, the image does not appear on the TFT display.
I would appreciate your guidance on the following:
  1. TouchGFX Integration: Are there specific steps or configurations required to ensure TouchGFX operates correctly with the FMC parallel RGB interface?
  2. Display Initialization: Could there be additional initialization required for the ST7789 controller when used with TouchGFX?
  3. Debugging Steps: What would be the recommended approach to debug and identify the root cause of the image not displaying?
Your expertise and assistance in resolving this issue would be invaluable.
Thank you for your time and support.
1 REPLY 1
MOBEJ
ST Employee

Hello @Furkan2 , 

Thank you for reaching out to us. Could you please confirm if you are using the TouchGFX Designer as your software tool for creating graphics? If so, to ensure the graphics work correctly with your board, it's important to first select the appropriate STM32 board within the TouchGFX Designer. This step ensures compatibility and optimizes the design for your specific hardware.

Once you've completed your design, you can compile and flash it directly to your board using the appropriate firmware and development environment. This process typically involves generating the code from TouchGFX, compiling it using an IDE like STM32CubeIDE, and then programming your board with the compiled firmware.

BR

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.