2022-01-31 02:31 PM
2022-01-31 02:55 PM
Get the screen geometry and timing correct.
The timing is frequently dependent on the resolution, not the physical size.
2022-01-31 06:00 PM
Yes I understand that, thank you for answering. I am trying to start a project in touchGFX and I can not find a demo or example for a STM32H743II.
2022-01-31 07:10 PM
Question is - what display model you are using and what touch IC it has. You will need datasheets for both of them.
Display datasheet will give you timing information for LTDC (screen viewable pixels, pixelclock, FP, BP).
For Touch IC you will need to use either existing driver (if you are lucky) or write your own having some driver as an example and implement data communication (usually over I2C or SPI) according manufacturer datasheet. Please note that some touch ICs have only linux open source driver and then you will need to port it to STM.
2022-02-07 05:53 AM
Actually, I don't think you need front & back porch lengths in terms of number of pixel clocks any more - LCD seem to have got smarter & are more tolerant of the Hsync & Vsync pulse FP & BP lengths. As long as there's an Hsync & a Vsync, that's sufficient.