Part Number: TDA2EVM5777
Other Parts Discussed in Thread: TLV320AIC3106
Tool/software: Linux
Hi,
We have Vision SDK version 03_02_00_00 (Linux on A15) running on TDA2x EVM.
Vision SDK Image was built keeping MAKECONFIG as 'tda2xx_evm_linux_all' in Linux+BIOS mode.
As our use case requires a audio playback, we were tying to verify audio playback with 'aplay', using some .wav files. However no audio could be heard (on Line-out as well as Headphone-out port).
Following error was seen on the console.
[ 39.895169] tlv320aic3x-codec 0-0019: Unable to sync registers 0x2-0x2. -121
We also tried usng the 'speaker-test' utility, where a similar error was seen, and no audio could be heard. Console prints were as follows:
$ speaker-test
speaker-test 1.1.0
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 278 to 35665
Period size range from 139 to 17833
Using max buffer size 35664
Periods = 4
was set period_size = 5094
was set buffer_size = 35664
0 - Front Left
Time per period = 2.234905
0 - Front Left
Time per period = 2.972102
0 - Front Left
[ 228.455813] tlv320aic3x-codec 0-0019: Unable to sync registers 0x7-0x7. -121
In document VisionSDK_Linux_DevelopmentGuide.pdf, it is mentioned that 'sound' is removed by default in dra7-evm.dts.
Could you please suggest the steps to enable sound while building vision SDK image (Linux+BIOS).
PS: The output of aplay -l and -L seems to be suggesting that the device is detected, the logs of which are as follows:
$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default:CARD=DRA7xxEVM
DRA7xx-EVM,
Default Audio Device
sysdefault:CARD=DRA7xxEVM
DRA7xx-EVM,
Default Audio Device
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: DRA7xxEVM [DRA7xx-EVM], device 0: davinci-mcasp.0-tlv320aic3x-hifi tlv320aic3x-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0