2016-04-11 03:51 AM
Hi,
I'm using a Discovery board with an STM32F469NI on it. I'd like to know more about how to set the LCD display refresh rate to a particular value. I've been through the spec sheet and reference manual and there's no direct setting so I need to learn what registers can be used to set it to a particular value (eg 800x480 @ 60 Hz). Thanks. #display #lcd2016-04-11 05:44 AM
Try looking at the pixel clock, and work the math from there.
2016-04-11 06:44 AM
Could you point me towards any reading material? ''Do the math'' doesn't help me when I don't really know what math there is to be done.
For what it's worth, I'm not expecting someone to do the calculations for me - the example I gave is not relevant to my code - but I'm really new to all this so I'd like to know a starting point and the path to take.2016-04-11 08:33 AM
Well, you know how many pixels make up the image, and the clock at which those pixels are delivered, this would tend to provide a ceiling for the frame update rate. Factor in the front/back porches, and blank/framing lines.
2016-04-12 12:22 AM
Oh okay, I think I get it. The width of the front and back porches... they're in pixels too? So I can just add the value to my existing resolution and that will be enough, I presume. Do I need to add the HSYNC and VSYNC width?