DAC output interfacing with the MCP601 Op Amp on the STM32H563ZIT6 for the speaker
Hi, I am using the STM32H563ZIT6 microcontroller and trying to interface it with an internal DAC to a speaker through an external MCP601 op-amp. I am generating a sine wave on that DAC pin, but it is producing some noise in the speaker. I am unsure how to properly generate sound with the speaker using the hardware setup shown in my connection diagram. Can anyone please advise me on how to generate sound on the speaker using the hardware setup below?
Note: Small correction: We are using 5V for the speaker; the remaining setup is unchanged.
