Tool/software: TI-RTOS
Hello Technical team,
we have interfaced TLV320AIC3105 with custom processor. When I play wav file using "aplay" ($ aplay song.wav) I am not getting system clock(sysclk), it is showing as 0, eventually playback is not successful. In tlv320aic3x.c codec driver aic3x_hw_params() showing as unable to set PLL and hw_params :-22 errors. I have put debugs in the same function(see below)
During playback I am getting following errors,
aic3x_hw_params START------!!!!!!!!!!!!!
aic3x_hw_params ---- width= 16 !!!!!!!!!!!!
aic3x_hw_params ---- data==== 0 !!!!!!!!!!!!
aic3x_hw_params case16 !!!!!!!!!!!
aic3x_hw_params data = 0 !!!!!!!!!!!!!!!!!!!
aic3x_hw_params ---- fsref---- 44100 !!!!!!!!!!!!
aic3x_hw_params ---- aic3x->sysclk ---- 0 !!!!!!!!!!!!
aic3x_hw_params(): unable to setup PLL
tlv320aic3x-codec 1-0018: ASoC: can't set tlv320aic3x-hifi hw params: -22
aic3x_set_dai_fmt!!!!!!!!!!!!!
aic3x_set_dai_tdm_slot!!!!!!!!!!!!!
aic3x_set_dai_fmt!!!!!!!!!!!!!
ALSA lib ../../../alsa-lib-1.1.2/src/pcm/pcm_direct.c:1054:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib ../../../alsa-lib-1.1.2/src/pcm/pcm_dmix.c:1053:(snd_pcm_dmix_open) unable to initialize slave
aplay: main:805: audio open error: Invalid argument
Could anyone please guide me in resolving the above errors.
Thanks in advance.