Hi,
In i.MX 8DX with sai1 as slave and bt module as master, able to record audio data with 48khz as frame sync clock and 3.07 mhz bit clock produced from bt module. tinycap application is used to record the data which was received at SAI1_RXD. But I am not to save audio data with 8khz as frame sync clock and 512khz bit clock produced from bt module, as data was empty while using hexdump. While using oscilloscope, able to see bit clock in SAI1_RXC, frame sync clock in SAI1_RXFS and audio data in SAI1_RXD. Please comment whether i.MX 8DX sai1 supports 8khz for capture and help on this possible issue.
Commands used for testing:
48khz:
tinycap /data/48khz.wav -D 1 -d 0 -r 48000 -c 2 -T 10
8khz:
tinycap /data/8khz.wav -D 1 -d 0 -r 8000 -c 1 -T 10
hexdump 8k file:
hexdump call8k.wav
0000000 4952 4646 8f24 0007 4157 4556 6d66 2074
0000010 0010 0000 0001 0001 1f40 0000 3e80 0000
0000020 0002 0010 6164 6174 8f00 0007 0000 0000
0000030 0000 0000 0000 0000 0000 0000 0000 0000
*
0078f2c
已解决! 转到解答。