Skip to main content
TOsso.1
Associate III
Sep 22, 2025 10:33 AM UTC
Question

NUCLEO-H723ZG DAC differential signal

Hi,
I’m working with the NUCLEO-H723ZG board and would like to know if it’s possible to use its two DAC outputs to generate a differential signal.

Thank you very much

This topic has been closed for replies.

11 replies

LCE
Principal III
Sep 22, 2025 10:52 AM UTC

Don't really know, probably yes if you feed both DACs with DMA and sync them with a timer.

I'd prefer to do this on the analog side.

TOsso.1
TOsso.1Author
Associate III
Sep 22, 2025 9:33 PM UTC

Analog side this mean putting an external component? A differential amplifier for the example?

LCE
Principal III
Sep 23, 2025 11:53 AM UTC

> Analog side this mean putting an external component? A differential amplifier for the example?

Yes, a few extra components, look for "single-ended to differential amplifier" / "fully differential amplifier".

TDK
Sep 22, 2025 12:33 PM UTC

Yes, this is possible.

"If you feel a post has answered your question, please click ""Accept as Solution""."
TOsso.1
TOsso.1Author
Associate III
Sep 22, 2025 9:33 PM UTC

Thank you

Do you know how? 

TDK
Sep 22, 2025 11:07 PM UTC

Have one channel be the positive side and another channel be the negative side. Set up a buffer for the values and set up a timer to trigger conversions so they stay in sync.

Two single ended signals that are coherent = differential signal. At least for the driving side.

"If you feel a post has answered your question, please click ""Accept as Solution""."
MasterT
Lead II
Sep 22, 2025 3:17 PM UTC

No. Fully Differential signals means two path are correlated. Having two dac's output 180 degree phase shifted sinewave generates two SE.

But you can easily synthesize diff by one dac and inverter.

TOsso.1
TOsso.1Author
Associate III
Sep 29, 2025 9:09 PM UTC

Hi everyone,
So far I’ve been using only one DAC channel. I’d like to enable the second DAC channel as well and generate a differential signal (CH1/CH2). Has anyone run this configuration successfully?

I noticed the HAL function HAL_DACEx_DualStart_DMA and I’m considering using it to update both channels simultaneously (writing to DHR12RD, common trigger like TIM6 TRGO, circular DMA).
Any tips, gotchas, or example code—especially around init settings and DMA alignment (word vs. half-word)—would be greatly appreciated. Thanks!

MasterT
Lead II
Sep 29, 2025 9:40 PM UTC

You can start from example in CubeMX.

Than move on next level

TOsso.1
TOsso.1Author
Associate III
Sep 30, 2025 2:01 PM UTC

Hi
But this is example for 1 channel no?
with 1 channel I have project that work.