Skip to main content
Visitor II
December 1, 2022
Question

How to connect speaker in STM32U5 [B-U585I-IOT02A ]

  • December 1, 2022
  • 3 replies
  • 2103 views

Hello Community,

I want play audio from stm32u5, to any speaker. Is there any method to play audio from stm32u5 or way to connect speaker to stm32u5.

    This topic has been closed for replies.

    3 replies

    ST Employee
    December 6, 2022

    there is an example with the stm32U5 mcu evaluation board. : STM32U575I-EV

    code source here : gttps://github.com/STMicroelectronics/STM32CubeU5/tree/main/Projects/STM32U575I-EV/Examples/SAI/SAI_AudioPlay

    Visitor II
    December 6, 2022

    Hello @HHADDAD​ ,

    STM32U575I-EV support that but B-U585I-IOT02A don't support this example because B-U585I-IOT02A don't have any audio jack, so whether we can connect speakers with it using type c port or through Bluetooth. Any options are there or not.

    ST Employee
    December 7, 2022

    For this purpose, you can look for a shield or an add-on board that provides a codec with an analog output and that can be used through the STMod+ or the arduino connector.