2025-04-15 4:02 PM
stm327f46g, new to development. All I did was create a basic design which compiles correctly but the moment I enable DAC when configuring modules in the IDE it seems to mess up TouchGFX where I get a white screen
2025-04-16 7:25 AM
Hello @t0mkee and welcome to the community!
Correct me if I am wrong, you are using a STM32F746G-DK and you create your project through TouchGFX Designer directly?
You create your GUI then click on Generate code from TouchGFX Designer and then you either buil and flash on STM32CubeIDE or TouchGFX Designer directly.
Then you go to STM32CubeIDE, opens STM32CubeMX from within the IDE, changes a setting and then build and flash through the IDE.
After changing the STM32CubeMX configuration you should generate code from STM32CubeMX and then open TouchGFX Designer and generate code from it too.
Then you should be able to build and flash from the IDE.
You should generally avoid opening STM23CubeMX through the IDE to prevent this.
Can you try that and tell me what happens.
If that doesn't solve your problem, can you check the the pins used for the DAC were not used for something else?
Can you also check that you reach the TouchGFX task entry and that the program is not frozen (send data through UART or blink a led)?
Note that the TBS uses FreeRTOS.
Regards,
2025-04-16 11:40 AM
Solved: STM32F746G-Disco Board // TouchGFX // DAC Issue - STMicroelectronics Community
Here's an answer to the same question I have. Looks like the DAC pins are in use when you use TouchGFX to generate graphics