Skip to main content
UWall.2
Visitor II
August 18, 2022
Solved

STM32F746G-Disco Board // TouchGFX // DAC Issue

  • August 18, 2022
  • 3 replies
  • 1735 views

I have created a simple TouchGFX GUI on my STM32F746G-Disco Board. Everything works well. In my project I need a DAC . So I switched on DAC1 in CubeMX. But when I do so and flashing the code to the Board the screen do not show the genereated UI anymore. Even when I switch off the DAC, the screen remains blank. What is the Problem there and how can I solve it?

This topic has been closed for replies.
Best answer by Peter BENSCH

The aim of DISCOVERY is to show the performance of the respective STM32, which usually involves connecting a large number of pins of the STM32 to external sensors etc. Therefore, you have to carefully check whether the respective periphery can still be connected to a pin.

In the case of the STM32F746G-DISCO, the DAC can no longer be used freely because the DAC pins are already occupied and cannot be routed to other pins.

Regards

/Peter

3 replies

MM..1
Super User
August 18, 2022

You create project in TGFX ? Then reconfig in CubeMX isnt simple job.

Peter BENSCH
Peter BENSCHBest answer
ST Technical Moderator
August 19, 2022

The aim of DISCOVERY is to show the performance of the respective STM32, which usually involves connecting a large number of pins of the STM32 to external sensors etc. Therefore, you have to carefully check whether the respective periphery can still be connected to a pin.

In the case of the STM32F746G-DISCO, the DAC can no longer be used freely because the DAC pins are already occupied and cannot be routed to other pins.

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Visitor II
August 16, 2023

Hello,

  • If somebody find the solution for this issue ? Can you share your solution please ?

I am using :

  • CubeMx version 6.7
  • Cube IDE version 1.11.2
  • TouchGFX designer 4.21.3
  • STM32H745 DISC0 board

My first project without ADC was working well. I was able to display animation on the HMI. But since I added the ADC, the screen is blank. After debug, I can see the tasks are running well, even the TouchGFX task also is running. But the display is blank.

I checked the pins and the pin PA0_C of my ADC is not in conflict. So I guess that the issue is coming from another side ?