cancel
Showing results for 
Search instead for 
Did you mean: 

The use of on-chip DACs in stm32g473cb

licunxu
Associate

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

3 REPLIES 3
TDK
Super User

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.

If you feel a post has answered your question, please click "Accept as Solution".
MasterT
Lead

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 

KDJEM.1
ST Employee

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.

KDJEM1_0-1747929560148.png

KDJEM1_1-1747929584508.png

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.