cancel
Showing results for 
Search instead for 
Did you mean: 

Sending DSI Commands at startup?

Ricko
Senior III

Hi,

I configured the STM32U5G9 DSI Host peripheral in Video mode (with Burst) using CubeMX. Next, I need to send display-specific commands to configure the DSI display registers (not the DSI Host peripheral) using HAL_DSI_ShortWrite().

 

  • Does the DSI Host peripheral on the STM32 require any specific configuration in CubeMX to allow the transmission of LCD controller initialisation commands to the display using HAL_DSI_ShortWrite() (commands like 0x11 for SLEEP_OUT or 0x29 for DISPLAY_ON)? For example does the DSI Host need to be configured in Command mode first to send the configuration commands and then switch to Video Mode? Or does HAL_DSI_ShortWrite() work even when the mode is set to Video With Burst?

 

Thank you :)

1 REPLY 1
Saket_Om
ST Employee

Hello @Ricko 

Please refer to the example DSI_VideoMode_SingleBuffer on STM32U5x9J-DK to display data on LDC using DSI video mode.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Saket_Om