2019-10-15 01:10 PM
I am creating a custom board project for STM32F769 in STM32CubeIDE v1.1.0 with TouchGFX support.
Even after enabling CRC, LTDC, DMA2D, RCC, I couldn't get the TouchGFX option highlighted.
I tried setting up QuadSPI and FMC SDRAM2 as per online tutorials, but still the same.
I could create projects directly in TouchGFX but dependent on Eval or Discovery kits. What I want is to create a project from scratch with only the required peripherals with TouchGFX support either from CubeIDE or CubeMX, both of which are not working as of now.
It seems the TouchGFX integration for F7 and H7 CPUs are not complete because if I select F469 as the CPU, TouchGFX option is available to be selected with settings to link TouchGFX exe and execute from within the CubeIDE.
2019-10-22 12:41 PM
Have been digging a lot across various examples, code generation from CubeMX, CubeIDE, TouchGFX, video tutorials and alike.
Somehow got the TouchGFX enabled with correct LTDC, DSIHOST, DMA2D, Tim1, Tim6, FreeRTOS, CRC, FMC, SDRAM1, QSPI, Linker Script updates, Clock Speeds all setup correctly to match the requirements.
Got the LCD up and running with UI created from TouchGFX, BUT...
I have been struggling a lot with getting the touchGFX to work nicely with CubeIDE OR CubeMX OR STW4STM32, but none of them works for F779 CPU. I cannot go to F746 CPU as the LCD I am targetting is MIPI-DSI wiht 720x1280 pixels 5". for F746 CPU, interface is LTDC RGB which seems much easier but I am not looking for over 30 pin high speed routing for RGB interface.
Does anyone have an idea what I am doing wrong or is the support for F779I CPU is not ready yet as it hosts LTDC MIPI-DSI which requires some additional timing and configurations?
2019-10-23 01:51 PM
CubeMX/CubeIDE integration with TouchGFX saw some minor improvements with the release of CubeMX 5.4 and CubeIDE 1.1.0, but the underlying problem of being difficult to configure because of IP restrictions (DMA2D, LTDC/DSI, SDRAM, QSPI, etc) remain. There are too many restrictions currently which means people cannot use CubeMX to create touchgfx projects for custom boards (With no LTDC, no qspi, for instance).
If you take the F769i-DISCO application template from the designer you'll have an ioc file that's configured to enable TouchGFX.
/Martin
2019-10-28 08:02 AM
After few days of debugging and patching, finally got the STM32CubeIDE v1.1.0 and TouchGFX v4.12.3 working on STM32F779i-Eval Kit with 4" MIPI DSI LCD.
I was able to use CubeIDE IOC configurator to setup the paramters for all the required peripherals and got a small 2 screen application working fine.
I tested the application by creating 2 screens with different colors and 2 dummy buttons just to see if the screens switch on a predefined timeout and it works.. Hurray....
But,
Has it been observed before that using a QSPI flash to store assets, inverts the data format and the LCD shows washed out colors.
For now, solving these bits of mysteries is creating a bit more confidence in getting a custom board working using CubeIDE and TGFX. Learning curve for TGFX is so small compared to the Embedded Wizard I used before, I am impressed with what TGFX can offer.
2019-11-05 04:05 AM
Hi @Community member,
I'm filled with joy when you say:
Good job. As to your issues:
/Martin