2024-06-19 10:46 PM
HI,
I would like to use the speaker output on the STM32H563ZIT6. I reviewed the wiki, but there aren't any references about how to play audio with the speaker output. Is it possible to enable this output to play audio?
Does the STM32H563ZIT6 have built-in capability to directly convert this digital data to an analog signal for speakers without using an external CS43L22 DAC (Digital-to-Analog Converter)?
Regards,
Berlin
2024-06-20 08:53 PM
anyone please answer me
2024-06-22 01:02 AM
ANY ONE REPLY ME
2024-06-22 01:50 AM - edited 2024-06-22 08:16 AM
Datasheet says it has two 12-bit analogue DAC's
Feed with wave from data from a pattern buffer with DMA paced with a TIM
Add an OP-AMP to add speakers, see other MCU examples for method to do that.
2024-06-22 02:00 AM - edited 2024-06-22 02:01 AM
Hi,
>I would like to use the speaker output on the STM32H563ZIT6
There is NO "speaker output" on the STM32H563 .
>Does the STM32H563ZIT6 have built-in capability to directly convert this digital data to an analog signal for speakers without using an external CS43L22 DAC
Yes, as @Tesla DeLorean wrote, you can use the internal DAC , but its not an oversampling audio DAC, its just a plain 12bit (dual) DAC , maybe ok, if you just want some pocket radio quality or test signal generation.
And you need an amplifier after this DAC , to drive something like a speaker; the DAC cannot do this.