cancel
Showing results for 
Search instead for 
Did you mean: 

Enable DSI via ST32Cube on STM32F769I-DISCO

jmasriera
Associate II
Posted on November 04, 2016 at 13:14

Hi.

I'm working with a STM32F769I-DISCO board.

I've generated a project created with ST32Cube. I've selected LTDC -> ''RG888 (24 bits) DSI'' and I've enabled DMA2D.

I'm comparing with the LCD_DSI example. I've seen that in the LCD_DSI example uses DSI, but in the code generated with Cube DSI is disabled (HAL_DSI_MODULE_ENABLED is not defined, even i've selected ''RG888 (24 bits) DSI'').

Am I missing something? Must I select something else?

#dsi #st32cubemx #stm32f769i-disco
2 REPLIES 2
Posted on November 07, 2016 at 14:21

was running into the same Problem.

To use LTDC in DSI mode, you first select LTDC-DSI, then you enable RCC-HSI, and then DSI Host is unlocked. In DSI, you select ''ACM with TE'' for the eval Board. Now you have to configure Clock Config, DSI and LTDC to the specs of the attached TFT.

Have fun !

jmasriera
Associate II
Posted on November 09, 2016 at 13:08

Thanks horbach.markus.

Now it creates the DSI variables and files. Anyway it's difficult to set all params in the Cube, I will use an example that allready works to make the test programs.