cancel
Showing results for 
Search instead for 
Did you mean: 

NUCLEO-H7A3ZI-Q and DAC2 Channel 1

JFlowers
Associate III

Has anyone been able to get DAC2 Channel 1 on the NUCLEO-H7A3ZI-Q board to work at all?

 

For anything?

 

With DMA?

 

1 ACCEPTED SOLUTION

Accepted Solutions
KDJEM.1
ST Employee

Hello @JFlowers ;

 

First of all I apologize for my late reply.

You can find in the STM32CubeH7 firmware an example with DAC2 Channel 1 on NucleoH7A3ZI-Q which is DAC_SimpleConversion example. This example explains how to use the DAC peripheral to do a simple conversion. Connect PA6 (DAC Channel1) on nucleo board connector (pin 12 in CN7) to an oscilloscope and use User Button to move from normal mode to low power mode.

For DMA, I recommend you to look at DAC_SignalsGeneration. This example is configured with DAC1 Channel1 + DMA. I recommend you to look at this example and get inspired to configure DAC2. 

 

I hope this help you.

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
KDJEM.1
ST Employee

Hello @JFlowers ;

 

First of all I apologize for my late reply.

You can find in the STM32CubeH7 firmware an example with DAC2 Channel 1 on NucleoH7A3ZI-Q which is DAC_SimpleConversion example. This example explains how to use the DAC peripheral to do a simple conversion. Connect PA6 (DAC Channel1) on nucleo board connector (pin 12 in CN7) to an oscilloscope and use User Button to move from normal mode to low power mode.

For DMA, I recommend you to look at DAC_SignalsGeneration. This example is configured with DAC1 Channel1 + DMA. I recommend you to look at this example and get inspired to configure DAC2. 

 

I hope this help you.

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.