host:rk3588 I2S,4 channel single-ended AC input,slave mode。
MCLK=12.288MHZ
Bclk=3.072MHz
sample rate:48KHZ signed 16bit
ch1 input:1 KHZ sine ampl:0.8V
config cmd:
amixer -c 1 cset iface=MIXER,name='MIC1 Analog Mux' 0
amixer -c 1 cset iface=MIXER,name='MIC2 Analog Mux' 0
amixer -c 1 cset iface=MIXER,name='MIC3 Analog Mux' 0
amixer -c 1 cset iface=MIXER,name='MIC4 Analog Mux' 0
amixer -c 1 cset iface=MIXER,name='IN1 Analog Mic Resistor' 0
amixer -c 1 cset iface=MIXER,name='IN1 Analog Mic Resistor' 0
amixer -c 1 cset iface=MIXER,name='IN1 Analog Mic Resistor' 0
amixer -c 1 cset iface=MIXER,name='IN1 Analog Mic Resistor' 0
amixer -c 1 cset iface=MIXER,name='CH1_ASI_EN Switch' 1
amixer -c 1 cset iface=MIXER,name='CH2_ASI_EN Switch' 1
amixer -c 1 cset iface=MIXER,name='CH3_ASI_EN Switch' 1
amixer -c 1 cset iface=MIXER,name='CH4_ASI_EN Switch' 1
amixer -c 1 cset iface=MIXER,name='MIC1P Input Mux' 1
amixer -c 1 cset iface=MIXER,name='MIC2P Input Mux' 1
amixer -c 1 cset iface=MIXER,name='MIC3P Input Mux' 1
amixer -c 1 cset iface=MIXER,name='MIC4P Input Mux' 1
register map:
amixer -c 1 contents:
record cmd :arecord --channels=1 --device=plughw:1,0 --duration=5 --format S16_LE --rate 48000 --vumeter=mono test.wav
I used sonic visualiser to analyse the wav
the wave is weird。。sometimes,It lost half cycle,or It lost one wholke cycle,or It lost a lot cycles,or It is normal。
could help selove the problem?