User Activity

I want to send audio samples (received via SAI1 from PDM MIC) to SAI2_SD_B as SPDIF out.It does not work, because: the DMA does not seem to write the DR in SAI2:the memory is filled with audio samplesthe DMA seems to run (I get the HAL_SAI_TxCpltCall...
I think, using SAI for SPDIF Tx, can go wrong (in terms of clock config, the MCLKDIV setting):The CubeMX tool, used to configure SAI as SPDIF Tx, generates completely wrong PLL setting and codethe HAL driver, doing the config, in file "stm32xxx_hal_s...
I am struggling since days to get "my audio" out via SPDIF (electrical).What I see on scope (there is a voltage divider and cap for DC-free on PC12, Vpp is 0.6V, approx. 75 Ohm impedance):It makes sense - but my SPDIF receiver (a STM32F769I-DISCO boa...
I want to use STM32U5A5 SAI1 to generate via SAI1 a master I2S, with 24bit sample words.I need 24bit because sending out afterwards as S/PDIF (via SAI2) needs 24bit sample words (as I understand: SAI2 as S/PDIF Tx is "forced" to send as 24bit samples...
I could cry... ("rrrr", the more I dive into latest STM MCUs - the more I get frustrated - LOL)The datasheet for STM32U5A5, LQFP64 package, tells me: there are PB15 as SAI2_SD_A and also PC12 as SAI2_SD_B.But the CubeMX does not let me configure thes...