Skip to main content
egoltzman
Senior
July 2, 2020
Question

Using TouchGFX Cube Generator with MIPI-DSI display

  • July 2, 2020
  • 1 reply
  • 696 views

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

This topic has been closed for replies.

1 reply

Martin KJELDSEN
Principal III
July 3, 2020

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