cancel
Showing results for 
Search instead for 
Did you mean: 

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

radeshsharma
Associate II

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.

3 REPLIES 3
Hdd
ST Employee

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

radeshsharma
Associate II

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.

Hdd
ST Employee

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.