How to sound the audio lineout with STM32H735G-DK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-28 12:02 AM - last edited on ‎2024-02-28 2: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.
Solved! Go to Solution.
- Labels:
-
Audio and voice
-
ST boards
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-14 4:04 AM
Hello @f-fujii,
For the STM32H735-DK, the BSP example offers several functionalities:
- Subdemo 7 and Subdemo 8: These subdemos include a recording feature. The application is designed to use the MB1299 MEMS microphones daughterboard connected to CN20.
- Subdemo 6: This subdemo includes an AudioPlay feature.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-14 4:04 AM
Hello @f-fujii,
For the STM32H735-DK, the BSP example offers several functionalities:
- Subdemo 7 and Subdemo 8: These subdemos include a recording feature. The application is designed to use the MB1299 MEMS microphones daughterboard connected to CN20.
- Subdemo 6: This subdemo includes an AudioPlay feature.
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
