how can I play two speaker by stm32f4 discovery board?
how can I use both DAC (dac1 and dac2) output to play the speaker?
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.
Thank you for your response. I have used lm386 amplifier circuit. Now, it is working.
Retrieving data ...