cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F479 DSI configuration for CO5300

CDecouen
Associate

Hello everyone,

I want to use a C05300 based display with DSI. 

I can write and read in LP mode, but not in HS mode. I guess it's a timing problem.

As seen from datasheet, 

CDecouen_0-1757338207561.png

UI should be more than 2ns, so I use a 500MHz bit clock.

CDecouen_1-1757340572018.png

I use 24 bit data format to send data over DSI, so Pixel Clk = 480 x 2 / 24 = 40 MHz. 

I there something I miss?

1 ACCEPTED SOLUTION

Accepted Solutions
CDecouen
Associate

Hi there, it seems that despite the datasheet specify there are two data lanes, only one is used... Unless there is something else to setup.

View solution in original post

3 REPLIES 3
CDecouen
Associate

Hi there, it seems that despite the datasheet specify there are two data lanes, only one is used... Unless there is something else to setup.

Imen.D
ST Employee

Hello @CDecouen 

I recommend you have a look at this AN4860 Application note related to DSI Host on STM32 MCUs, providing guidelines and practical examples on how to configure the DSI Host depending on the operating mode.

Check the DSI PHY timings and DSI config on HS mode are compliant with the specification provided in the AN4860.

Can you try the DSI example in STM32CubeF4 firmware and update it according to your need. For example on : STM32CubeF4/Projects/STM32469I_EVAL/Examples/LCD_DSI at master · STMicroelectronics/STM32CubeF4 · GitHub

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

Yes, AN4860 and AN4861 are must see before beginning display projects.