I’m working on a project where I need to interface an STM32H743 microcontroller with a PCM3060 audio codec from scratch using STM32CubeIDE. The PCM3060 is wired in hardware control mode, and I plan to use the SAI1 peripheral for audio data transfer.
What I’m trying to achieve:
Interface with PCM3060 audio codec in hardware control mode
Configure STM32H743 SAI1 peripheral for audio data transfer
Set up proper clock domains and SAI timing
Handle audio data flow (ADC/DAC) through SAI1
Build the project from the ground up in STM32CubeIDE
What I’m looking for:
Reference designs or application notes for PCM3060 in hardware mode
STM32H7 SAI1 configuration examples for audio applications
Code examples showing SAI1 setup, DMA configuration, and data handling
Documentation on SAI clock configuration and PLL setup for audio
SAI1 timing requirements and PCM3060 synchronization
CubeMX configuration tips for SAI1 audio projects
Any gotchas or common pitfalls to avoid
My current experience level:
i am not a beginner but i’m sure i can build something with a few indications
Since the codec is in hardware control mode, I mainly need help with the STM32 SAI1 configuration and audio data flow implementation.
Any help, links to resources, or guidance would be greatly appreciated!
hello
i am able to get some sound from my output. i can hear kind of hear my guitar when i play the strings but it’s still very distorted. there’s a lot of noise