cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H747-DISC0 without HAL_DSI_Refresh

ATaka.2
Associate II

Hello.
I have purchased MB1166-A03 AT1 of STM32H747-DISC0.

https://github.com/STMicroelectronics/STM32CubeH7/tree/1c84713102f8509deb79ae14db8dbb104c17c45e/Projects/STM32H747I-DISCO/Examples
I have looked at

In the Projects/S
TM32H747I-DISCO/Examples/LCD_DSI folder
LCD_DSI_CmdMode_SingleBuffer" in the Projects/STM32H747I-DISCO/Examples\DLC_DSI folder is the only one that succeeded in displaying the LCD.
LCD display succeeded. 

Other samples failed to display noise.

For an example of "LCD_DSI_CmdMode_SingleBuffer", see
UTIL_LCD_FillRect(0, 0, 800, 112, UTIL_LCD_COLOR_BLUE);
HAL_DSI_Refresh(&hlcd_dsi);
after the HAL_DSI_Refresh(&hlcd_dsi);.

UTIL_LCD_FillRect(0, 0, 800, 112, UTIL_LCD_COLOR_BLUE);
What should I modify in the software so that it can be displayed automatically
What should I modify in the software to be able to display it with

HAL_DSI_Refresh(&hlcd_dsi); I want to be able to display automatically without
I would like to do this.

2 REPLIES 2
Issamos
Lead II

Hello @ATaka.2 

I suggest you to enable the Automatic Refresh. Also, you can use a timer to synchronise an automatic refresh every ∆T.

Best regards.

II

Hello MS Issamos Thank you very much.

Can you please tell me how to make it auto-renew?

I used a timer interrupt in my previous video playback software using DMA2D.
HAL_DSI_Refresh(&hlcd_dsi);, the screen will be instantly disrupted
I would like to avoid this.