Skip to main content
skon.1
Associate III
Jul 27, 2020 10:22 AM UTC
Solved

Example for using DAC on STM32

Hello,

I'm working with the NUCLEO-F722ZE EVB on STM32CubeIDE.

I'm Looking for a C example that explains how to use the device's DAC (Digital to Analog Converter)

This topic has been closed for replies.
TDK
TDKBest answer
Jul 27, 2020 12:39 PM UTC

One of several examples available in the CubeF7 repository:

https://github.com/STMicroelectronics/STM32CubeF7/blob/3600603267ebc7da619f50542e99bbdfd7e35f4a/Projects/STM32F723E-Discovery/Examples/DAC/DAC_SignalsGeneration/Src/main.c

"If you feel a post has answered your question, please click ""Accept as Solution""."

2 replies

prain
Visitor II
Jul 27, 2020 10:48 AM UTC

DAC is very simple peripheral. I suggest to read reference manual and use DAC through Registers.​

TDK
TDKBest answer
Jul 27, 2020 12:39 PM UTC
"If you feel a post has answered your question, please click ""Accept as Solution""."