Hello, I'm trying to interface a LCD-TFT driven by a ST7789V to a STM32H7.
I'm struggling specifically to understand how porches work, and whose responsability they are.
The 6 'porch' variables in an RGB interface are the sync width, front porch and back porch for both horizontal and vertical. These 6 can be individually set in the LTDC configuration of the STM32.
Going by the ST7789V datasheet giving you a table with min, typical and max values and little more information except the consequence of porch values on frame rate, it looks like you get to pick them (?).
But then the available commands don't seem to let you set all of them. You can set the (hsync width + hsync back porch) and (vsync width + vsync back porch), "[the] front porch setting" and "[the] back porch setting" - only 4 values.
As far as I can tell, all the relevant info is in the subsequent pages. It's not clear at all to me what "[the] front porch setting" and "[the] back porch setting" mean, considering that the ST7789V advises very different values for their horizontal & vertical front porch, for instance.
There is a "separate porch control" option, on which there's no info, but I would tend to believe this enables different porch settings in idle & partial display modes rather than enabling setting different horizontal & vertical front porch - because there's no command to do that anyway.
Could someone familiar with the RGB interface enlighten me ?
These are the 3 relevant excerpts from the ST7789V datasheet:



And this is the STM32CubeIDE configurator on the topic:
