cancel
Showing results for 
Search instead for 
Did you mean: 

Using TouchGFX Cube Generator with MIPI-DSI display

egoltzman
Senior

Hi,

I have a MIPI DSI display on L4R9, can I use the TouchGFX Cube Generator to generate a project?

My development environment is 4.13 with CubeIDE 1.3.1 and MX 5.6.1

Thanks

1 REPLY 1
Martin KJELDSEN
Chief III

Yes you can.

https://support.touchgfx.com/docs/development/touchgfx-hal-development/scenarios/scenarios-fmc

It's the same procedure as with FMC/SPI currently, because we cannot read all we want from CubeMX, yet. So you choose "Custom" display interface from the generator. "Custom" display interface means that you have to write some code inside TouchGFXHAL.cpp while for LTDC we can generate the driver for e.g. STM32F746G without user input. The difference from SPI/FMC is that you do not implement flushFrameBuffer() to transfer the pixel data to display, but use the DSI interrupts TE/EndOfRefresh to start transfers.

Check out the L4R9 Application template (V3+) from the designer we have and get some inspiration. It is based on the Generator.

/Martin