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 configuration commands to the display with 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?
- At what point in the MX-generated code should I insert the HAL_DSI_ShortWrite() command writes to configure the display itself?
Thank you :)