2024-02-28 12:02 AM - last edited on 2024-02-28 02:28 AM by Peter BENSCH
I'm very beginner of programing and STM.
I'd like to make it sound the audio line out with sine wave from STM32H735G-DK.
I read the document(UM2679) and understood that SAI and I2C4 are connected to the audio.
But I don't know how to use these.
Especially, I couldn't understand how to set volume and start to play.
Attached files are the one I tried and it doesn't work.
I put a button on the screen and set the interaction with function name "startAudio" as it sounds when I push the button.
Please tell me your advice.
I couldn't attach the file Screen1View.cpp.
So I put it down in text below.
2024-10-14 04:04 AM
Hello @f-fujii,
For the STM32H735-DK, the BSP example offers several functionalities:
The complete project is available on the STM32CubeH7 page. By following this example, you can successfully output sound through the audio lineout.
I hope my answer has helped you. When your question is answered, please select this topic as solution that answered you, it will help others find that answer faster.
Thanks for your contribution.
Dor_RH