Skip to main content
JulienD
Associate III
June 20, 2023
Question

how to produce analog output with STM32WB5MMGH6

  • June 20, 2023
  • 1 reply
  • 881 views

Hello,

I need to output an analog audio signal from STM32WB5MMGH6. I did not see any DAC on this chip so my questions are:

Is there another peripheral which can do this job that I didn't find in the datasheet ?

Also, if I can't do it with a dedicated peripheral, can you confirm that  a codec is the device I need as interface?

Another solution?

Thanks

Julien

 

This topic has been closed for replies.

1 reply

AScha.3
Super User
June 20, 2023

if you dont need top audio quality, the "standard" way is to use a timer->pwm + R_C lowpass filter, to generate analog signal.

for "hi-fi " you need a audio dac, like a PCM5102a . + connect with SAI .

If you feel a post has answered your question, please click on " Best Answer ".