cancel
Showing results for 
Search instead for 
Did you mean: 

Speaker output in STM32H563ZIT6

Berlin-raj123
Associate III

HI,

  1. 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?

  2. 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

4 REPLIES 4
Berlin-raj123
Associate III

anyone please answer me

Berlin-raj123
Associate III

ANY ONE  REPLY ME

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
AScha.3
Chief II

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.

If you feel a post has answered your question, please click "Accept as Solution".