2025-05-22 12:17 AM - last edited on 2025-05-22 4:47 AM by mƎALLEm
STM32G473CB has 3 DAC channel outputs.
a. Can these three DAC channels output a 100KHz triangle wave signal at the same time?
b. In addition to the triangular wave, can the output signal output an irregular 100KHz waveform?
thanks
2025-05-22 4:12 AM
Yes, they can be used independently with DMA to output arbitrary waveforms. A 100 kHz triangle wave is certainly doable. See the datasheet for exact DAC specs including slew rate and accuracy.
2025-05-22 7:04 AM
I'd say 15 msps / 4096 = 3.6 kHz if triangular wave at full scale up-down.
For 1 msps dac it accordingly lower.
But dac can produce up to 7.5 MHz sinewave having properly design hardware filters
2025-05-22 9:00 AM - edited 2025-05-22 9:00 AM
Hello @licunxu and welcome to the community;
According to the reference manual and the datasheet, the STM32G4 supports up to 4 DAC interfaces and maximum two DAC output channels each.
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.