Hi community and Tech Support.
We have using I.MX8MP with yocto(kernel 5.15.71).
When receiving data using SAI, the first frame is lost.
The SAI settings are as follows.
* slave mode(TXFS, TXC, RXFS and RXC are provided by external custom codec)
* WORD LENGTH = 32bit
* Frequency = 48~768KHz
* format = left_j
* Channel = 16ch
* Lane = 8 (TXD0~7/RXD0~8)
* Slots per lane = 2
Is there any workaround?
--
The following is the data dumped from the first received data with snd_pcm_readi.
I'm expecting 64 bytes of data 00 00 00 00...10 00 00 00 to be included, but that part is missing.
---------------------------------
11 00 00 00 12 00 00 00 13 00 00 00 14 00 00 00 : ................
15 00 00 00 16 00 00 00 17 00 00 00 18 00 00 00 : ................
19 00 00 00 1A 00 00 00 1B 00 00 00 1C 00 00 00 : ................
1D 00 00 00 1E 00 00 00 1F 00 00 00 20 00 00 00 : ............ ...
21 00 00 00 22 00 00 00 23 00 00 00 24 00 00 00 : !..."...#...$...
25 00 00 00 26 00 00 00 27 00 00 00 28 00 00 00 : %...&...'...(...
29 00 00 00 2A 00 00 00 2B 00 00 00 2C 00 00 00 : )...*...+...,...
2D 00 00 00 2E 00 00 00 2F 00 00 00 30 00 00 00 : -......./...0...
-------------------------------------------------------------------
Best Regards
KASHIWAGI Takashi