HI igorpadykov
We change the OS to android.
And we use tinyplay to play .wav file to PCM interface(SAI2).
We can see the waveform on the scope, there is clk, sync and output data(TX).
Then we set the BT module to PCM loopback mode.
After set the BT module to PCM loopback mode, we can see the input data on PCM RX.
But when we use tinycap to record the RX data, we just got the .wav file header with dummy data(0).
Did I miss any setting on the audio driver or device tree. I can provide the partial code if you need it for debug.
Thanks