Skip to main content
Graduate II
March 16, 2025
Question

Sending DSI Commands at startup?

  • March 16, 2025
  • 1 reply
  • 607 views

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 :)

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    March 21, 2025

    Hello @Ricko 

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