wpt-nathan
Posts: 5
Joined: Fri Oct 24, 2014 12:27 pm

hdmi_timings pixel clock constraints

Mon Jun 08, 2015 10:26 pm

Hi All,

Would someone be able to provide me with the constraints for the values provided to the hdmi_timings configuration option? Specifically the pixel clock. It seems at least that there is a lower limit, or that it must be a multiple of some other reference clock.

Thanks,
Nathan

wpt-nathan
Posts: 5
Joined: Fri Oct 24, 2014 12:27 pm

Re: hdmi_timings pixel clock constraints

Mon Jun 15, 2015 1:51 am

Through some trial and error experimentation I figured out why I couldn't get the pixel clock I wanted. By reading the DPI clock control registers I observed that for low frequencies, such as the 6Mhzish clock I was aiming for, the OSC is used, which is 19.2 Mhz. However, the boot code seems to only set the integer divider, not the fractional, meaning that only frequencies such as 9.6Mhz, 6.4Mhz, 4.8Mhz, etc work. So if the requested clock is not an even divisor, the DPI does not seem to be configured at all.

Fortunately the TFT display I am connecting to the DPI interface allows me to configure the pixel timings, so I was able to get it to work at 60fps with a DPI acceptable clock. I have full frame rate video playback on a 240x320 ( yes, portrait ) display.

--Nate

ironic-FR
Posts: 6
Joined: Fri Aug 26, 2016 8:12 pm

Re: hdmi_timings pixel clock constraints

Fri Aug 26, 2016 8:18 pm

Hi.
I know, this post is a fex old but, is it possible, now, to use non integer divider pixel clock ?
If i use a HDMI to VGA converter and a VGA to RGB cable, i can use Rpi ont a CRT TV at 720x240x60Hz with hdmi_cvt.
But, if i use a Gert VGA666 (GPIO to VGA) abd the same VGA 2 RGB cable, it works but i can't translate modeline to works.
I don't know how to have a 720x240x60hz resolution.

Return to “Advanced users”