cancel
Showing results for 
Search instead for 
Did you mean: 

Dual waveform generation on DACs of NUCLEO H7A3ZI-Q

BMGuardian
Associate

Hi I am using Nucleo H7A3ZIQ board. I want to generate two sine waves of different frequencies on the DACs of the board. I followed the instructions from this youtube video link https://www.youtube.com/watch?v=6Z1L6ox63j0. I was able to generate sine wave on one DAC (DAC Channel 1). But I copied the same and added the second channel but I am not getting the sine wave in the second channel. I have attached the main.c file in the attachment. Can anyone please help me with this?

2 REPLIES 2
KnarfB
Principal III

DAC_ALIGN_12B_R is for data alignment. It should be used on both channels.

hth

KnarfB

I tried both the cases of using DAC_ALIGN_12B_R (in both the channels) for data alignment as well as 12B_R in one and 12B_L in one channel