2024-07-01 06:40 AM
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?
2024-07-01 07:52 AM
DAC_ALIGN_12B_R is for data alignment. It should be used on both channels.
hth
KnarfB
2024-07-02 03:14 AM
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