Skip to main content
TBibe.1
Associate
January 8, 2022
Solved

STM32F051 DAC not working

  • January 8, 2022
  • 2 replies
  • 1732 views

I'm working with a STM32F051 Discovery board. I've created a project that should allow me to adjust the output voltage to the DAC pin PA4, but the expected step voltage output to that pin remains at ground voltage level.

I'm sure that I'm missing something simple but not sure. All configuration was created using the most recent STM32CubeMX 6.4.0 and I'm running my code with the STM32IDE 1.8.

Attached is the main.c method as well as the .ioc project created by CubeMX,

Can someone explain why my DAC output does not provide any signal?

Thanks.

This topic has been closed for replies.

2 replies

TDK
TDKBest answer
January 8, 2022
"If you feel a post has answered your question, please click ""Accept as Solution""."
TBibe.1
TBibe.1Author
Associate
January 13, 2022

Thanks! this fixed my issue.