cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F746G-Disco Board // TouchGFX // DAC Issue

UWall.2
Associate

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Peter BENSCH
ST Employee

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.

View solution in original post

3 REPLIES 3
MM..1
Chief III

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

Peter BENSCH
ST Employee

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.
Cedric Wizard
Associate

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 ?