cancel
Showing results for 
Search instead for 
Did you mean: 

Example for using DAC on STM32

skon.1
Senior

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)

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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".

View solution in original post

2 REPLIES 2
prain
Senior III

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

TDK
Guru

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".