2025-08-03 6:34 PM
Hi all,
I'm working on an audio project with an STM32U575, where SAI 1A is receiving TDM data from an ADC and SAI 2A needs to take the data after processing and output it over I2S to a DAC.
The audio sample rate is 48 KHz in both cases, and both SAI blocks get their clocks from PLL2P at 12.288 MHz.
How should I buffer and process the data? I'm concerned about whether the SAI peripherals will drift apart from each other if I try to start a naive double-buffering system.
Thanks for any tips!