Hello,
I am using the M33 core to read the I2S data. Do you have an application note on how to use it with A55?
In the M33 i connected the Rx_BCLK to the bclk of the i2s sensor. The Rx_Sync is connected to the LRCL. The Rx_Data0 is connected to the output of the i2s sensor.
The fsl_sai driver is configured with Mode Async (no dependency between the Tx and Rx), as Master.
MCLKOutputEnable is set with true.
Sequence of driver calls:
- SAI_INIT
- SAI_TransferRxCreateHandle
- SAI_GetClassicI2SConfig
- SAI_TransferRxSetConfig
- SAI_RxSetBitClockRate
- SAI_TransferReceiveNonBlocking
Callback is called but data is always zero. I made the test of printing the RDR register directly and it is also zero.
With an osciloscope I measured the Rx_BCLK and the clock is with the proper frequency and presents good Voltage level. The Rx_Sync on the other hand has some wave but always below the 20mV.
This leads to two possible failure points:
- Faulty I2S driver usage which is not setting the configuration properly
- My understanding on the HW is connected from the first post is not Correct and made wrong assumptions leading to a wrong behavior