Skip to main content
Explorer
May 22, 2025
Question

The use of on-chip DACs in stm32g473cb

  • May 22, 2025
  • 3 replies
  • 358 views

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

    This topic has been closed for replies.

    3 replies

    Super User
    May 22, 2025

    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.

    Explorer
    May 22, 2025

    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 

    Technical Moderator
    May 22, 2025

    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