Skip to main content
PMOOD.1
Associate II
December 15, 2023
Solved

CUBEIDE wont let me configure DACS on F4 disco

I have the latest CUBEIDE installed. Created a new STM32 project and selected an STM32F407 DISCO board ... however when I go to configure the DACS it seems to indicate they are not available ??? So I cannot configure them.

 

PMOOD1_0-1702642799006.png

TIA for any clues on this.

This topic has been closed for replies.
Oskar_HBest answer
Associate II
December 15, 2023

Hello,

For the board STM32F407G-DISC1, whatever configuration file you choose (no peripheral initialized, or all peripherals initialized with their default modes), indeed the DAC is not usable at first sight.

The reason is that all alternate pins available for DAC signals are already used for another signal...

Check PA4 and PA5 pins and this will become obvious.

Just re-assign one of these pins to DAC output and there it goes !

2 replies

Oskar_HBest answer
Associate II
December 15, 2023

Hello,

For the board STM32F407G-DISC1, whatever configuration file you choose (no peripheral initialized, or all peripherals initialized with their default modes), indeed the DAC is not usable at first sight.

The reason is that all alternate pins available for DAC signals are already used for another signal...

Check PA4 and PA5 pins and this will become obvious.

Just re-assign one of these pins to DAC output and there it goes !

PMOOD.1
PMOOD.1Author
Associate II
December 16, 2023

That was it.   Not used to the graphical configuration on CUBEIDE.

Thankyou very much.