Re-configuring a STM32H747I-DISCO TouchGFX-generated project to use DSI-video mode instead of DSI-adapted command mode to write to the display
I am currently working on a project that will ultimately involve switching out the native display on the STM32H747I-DISCO with a new one (MDT0500AISC-MIPI). This new display utilizes a MIPI-DSI interface, but unlike the native display, does not have any onboard GRAM. Before switching to the new display, I want to get the native display to run in DSI-video mode in order to prove the STM32H747I-DISCO can drive displays without leveraging on-display GRAM. I have tried to follow every bit of information between datasheets, ST guides, and forum posts that I can, but every attempt has resulted in the display remaining blank.
I am hopeful that someone here has worked through something similar and can help.
Steps I have taken so far:
- Generate project in TouchGFX with a single screen displaying an image (this defaults to using DSI adapted command mode with TE pin)
- Build and load project onto STM32H747I-DISCO (using CubeIDE) to verify that it works and displays the generated screen
- Open the project in CubeMX and change settings to those that I understand support DSI video mode:
- LTDC:
- Changed no parameters here. I expect that these should carry over to also work properly in DSI video mode.
- DSIHOST:
- Change mode from 'Adapted Command Mode with TE Pin' to 'Video Mode'
- Commands:
- Changed 'During HS Video Mode, Commands are Transmitted in' from 'High Speed' to 'Low Power'
- Changed 'The size of the LP largest packet that can fit in a line during VACT region' from 0 to 8
- Changed 'The size of the LP largest packet that can fit in a line during VSA, VBP and VFP regions' from 0 to 28
- Software Packs:
- STMicroelecronics.X-CUBE-TOUCHGFX.4.18.1_M7
- Changed Display Interface from 'Custom' to 'Parallel RGB (LTDC)'
- STMicroelecronics.X-CUBE-TOUCHGFX.4.18.1_M7
- LTDC:
- Pressed 'Generate Code' in CubeMX
- Build and load project onto STM32H747I-DISCO using CubeIDE. Results in a blank screen
It is my understanding that I should be able to use CubeMX convert a TouchGFX project from using DSI adapted command mode to using DSI video mode on native hardware without needing to write additional custom code. I think I am close to the proper solution, but I'm obviously missing something.
If anyone has had to go through a similar process and has insight, I would greatly appreciate your input.
