2025-05-30 6:02 AM
Hello All,
We need to configure STM32H757XIH6U (from STM32H747I Eval board) to work with 1024 X 600 LCD with RGB configuration (TFT), Found few references to set the Parameters using the STM32CubeMX. We tried to select the board, set the Display Controller to LCD TFT Controller, set the proper RGB, Hsync, Vsync Clk, Enable Pins, set the Width, height to 1024 and 600. Even all the pins were mapped. Now once the pins are set after the build every time we found the Application is been using the default DSI for initialization but not the TFT.
Kindly let us know, if are we missing something or any more further setting needs to taken care to Display and Sense the User touch for the Touch screen.
We have a working application build in touch gfx which senses the button click and display the Screens on the 800 X 480 display over DSI. the same has to work for 1024X 600 using RGB to sense and display the images.
If there is anything more to try or any direction to solve it, then kindly do let us know will do as suggested.
Br,
Shiv09
2025-05-30 6:08 AM - edited 2025-05-30 6:08 AM
You need to create a custom board in TouchGFX. You can't just use the eval board configuration in TouchGFX if you have a custom display.
Before using TouchGFX try to create a bare-metal application where you just change pixels in a frame buffer and write it to the display using the LTDC. Once that works you can try to get it to work with TouchGFX.
If that fails please upload your ioc file.
2025-05-30 7:08 AM
Hello @unsigned_char_array
Thanks for the reply, I tried to look for creating the new app again in touchgfx, I don't see any custom board could see Eval boards and Riverdi boards with different resolutions screens, if you could point me in creating one as per your suggestion, I can try it.
For Bare metal program itself we tried to create an application in cubeMX using STM32H757 MCU, but after setting and all, during build initialization is happening using DSI and not LTDC.
2025-05-30 1:06 PM - edited 2025-05-30 1:09 PM
First create an empty STM32CubeMX project, then make your board work.
You can follow the steps here:
https://support.touchgfx.com/docs/development/board-bring-up/board-introduction
Then in STM32CubeMX add TouchGFX and set everything up. This is how I did it.
There is a guide here to set up your TouchGFX HAL: https://support.touchgfx.com/docs/development/touchgfx-hal-development/touchgfx-al-development-introduction
You can also create a custom board package, but I didn't do that. https://support.touchgfx.com/docs/development/scenarios/scenarios-create-at