DSI + LTDC frequency ratio.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-10-10 3:52 PM
I have display with controller ILI9881C, which controlled via mipi-dsi.
I want to use 800x800x24bit mode. How to understand what's the point to use dsi txclkex and dsi line byte frequency? and how it is correlate with ltdc frequency? in display controller dataheet i have the next description for frame rate
how can i calculate pixel timings for Horizontal Back Porch and Horizontal Front Porch? is it must be based on ltdc frequency?
- Labels:
-
DSI
-
LCD-LTDC
-
STM32F7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-10-10 4:16 PM
The line and frame totals drive the pixel clock. The rate of data out of the LTDC has to be matched to the lanes and bits going over the DSI based on your colour depth and pixel clock.
Write a "fitter" to get parity in the rates based on the limited clock multipler/divider options. Adjust porches to accommodate within specs of display.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-10-10 4:28 PM
Just for clarification, must i use LTDC frequency for bitrate ?
in my case - 24 bit on 108 MHz will equals 4.5 Mb/s , right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-10-10 6:16 PM
The pixel clock for the example there would be 76.2 MHz. with 1.83 Gbps on the DSI
Problem here is going to be you only have 2 lanes, not 4
Is your SDRAM memory interface 16 or 32-bit wide?
Are you doing video play back? What is the hard frame rate for that?
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-10-10 6:21 PM
if the display you're talking about is say 1000x1000 @ 60 Hz, that's 60 MHz, and need 1.44 Gbps of DSI bandwidth, perhaps 1.2 Gbps @ 50 Hz
What STM32? F4, F7 or H7 ?
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-10-10 6:49 PM
Stm32f769, 8Mhz hse.
display is 800x800
Fps is not critical. I just want understand how to calculate values for settings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-10-10 6:57 PM
800x800x24@30fps is 460Mbps , correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-10-10 7:00 PM
And a 19.2MHz on ltdc?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-10-10 7:08 PM
But the horizontal and vertical totals will be closer to 1000, check what the display specifies.
The 2 lane DSI gives you a ceiling of 1 Gbps
So perhaps 41.67 Hz @ 24bpp or 62.5 Hz @ 16bpp
60 Hz @ 16bpp -> 0.9 Gbps
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-10-11 8:58 AM
Ok, understand,
But i still confused how to set frequency of ltdc and dsi. i need to set it as maximum from HSE, or i need to make it closer to calculated bitrate?
