Skip to main content
Visitor II
June 20, 2024
Solved

Speaker output in STM32H563ZIT6

  • June 20, 2024
  • 4 replies
  • 1234 views

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

    This topic has been closed for replies.
    Best answer by AScha.3

    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.

    4 replies

    Visitor II
    June 21, 2024

    anyone please answer me

    Visitor II
    June 22, 2024

    ANY ONE  REPLY ME

    Graduate II
    June 22, 2024

    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.

    AScha.3Answer
    Super User
    June 22, 2024

    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.