Skip to main content
bchia
Associate
February 29, 2020
Question

STM32H7 MIPI DSI maximum clock speed?

  • February 29, 2020
  • 4 replies
  • 3475 views

There is inconsistency in the reference manual and the STM32CubeMX clock configuration tool as to what the maximum clock for the PLL DSI. Reference manual suggests it is 1000 MHz however, when set to that in STM32CubeMX, an error is generated at the PHY DSI lane byte frequency with a maximum of 62MHz instead of an expected 125MHz

4 replies

Tesla DeLorean
Guru
February 29, 2020

Not 1 GHz, but 1 Gbps via both edges on both lanes​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
February 29, 2020

62 MHz is more of the word delivery clock​

62.5 MHz 32-bpp

83.3 MHz 24-bpp

DSI HOST, 500 MHz clock, signal on both edges, 1x lane 1 Gbps, 2x lane 2 Gbps

2000/24 -> 83.333

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
bchia
bchiaAuthor
Associate
February 29, 2020

Yes its DDR on the output clock at but according to the RM the PLL puts out 1GHz. When using those setting CubeMX gives an error so I'm not sure if there is a hardware limitation or just software bug in CubeMX. Don't have hardware yet so can't test at the moment.

0690X00000DYMgJQAX.png0690X00000DYMfzQAH.png

Tesla DeLorean
Guru
November 12, 2024

Because it's not funnelling BITS into the pipe it's either 16 or 24-bit words for the PIXEL. The 62.5 MHz is the PIXEL clock, the LTDC spits out the data as it paints the rasters, and the DSI needs to move it out at least that quickly.

The DSI PHY clocks at the high rate to push BITS out the LANES, 1 GHz in there is basically 500 MHz on the DSI bus itself.

62.5 MHz / 50 Hz refresh = 1.25 Mpixel

 

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
ofer-bahar
Associate II
July 9, 2025

EXACTLY - STILL this issue is available - shame on ST !!

ofer-bahar
Associate II
July 9, 2025

this is how it looks on the STM32 Cube 1.17.0 MX clock settings

 

oferbahar_0-1752041235686.png

you can see clearly that 62.5Mhz is not allowed in the MX clock configurator !!!

what should a programmer do in that case ??