Sending DSI Commands at startup?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-03-16 1:29 AM - edited 2025-03-16 2:23 PM
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 :)
Labels:
- Labels:
-
STM32U5 series
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-03-21 6:56 AM
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
Saket_Om
