Skip to main content
mohit rai
Associate III
November 8, 2017
Question

Stm32f4 discovery dac ouput play

  • November 8, 2017
  • 2 replies
  • 758 views
Posted on November 08, 2017 at 07:32

how can I play two speaker by stm32f4 discovery board?

how can I use both DAC (dac1 and dac2) output to play the speaker?  

    This topic has been closed for replies.

    2 replies

    waclawek.jan
    Super User
    November 8, 2017
    Posted on November 09, 2017 at 00:43

    There is an example of using DAC in [STM32Cube_FW_F4_V1.16.0]\Projects\STM32F4-Discovery\Examples\DAC\DAC_SignalsGeneration\. It's just one channel but may provide a starting point if you use Cube. Note that you cannot connect speaker directly to DAC output pin, as it's relatively high impedance; you'll need to add a high input impedance power amplifier.

    JW

    mohit rai
    mohit raiAuthor
    Associate III
    November 10, 2017
    Posted on November 10, 2017 at 11:51

    hello,

    Thank you for your response. I have used lm386 amplifier circuit. Now, it is working.

    Regards,

    Mohit rai