HAL_I2S_Receive gives 0s although codec transmits data
Hello!
For a week i've been trying to configure my stm32f302cbt6 and the tlv320aic3254 codec to trasmit data to the mcu through i2s_ext_sd but HAL_I2S_Receive returns 0s to the buffer although i see data coming out of the codec. I have configured i2s2 peripheral, master clock in the pinout config, i configured the codec analog input and clocks to generate sample rate and all clocks and bit depths i've checked with the osciloscope seem to be within spec. i ve also called HAL_I2S_MspInit(&hi2s2); in the MX_I2S2_Init(void) function to set the default pins and played around wth the different setting but no luck.
Is there something obvious i am missing?
Any ideas would be enlightening!
Best Regards
Patsaoglou P.
Project resources: https://github.com/patsaoglou/AudioWayDSP
