Other Parts Discussed in Thread: TLV320AIC3106, TLV320AIC3105
Tool/software: Linux
Dear TI E2E Community,
Hope TLV320AIC3106 has been interfaced to one of your AM335X starter kit
0. Is it possible to verify i2c read/writes using linux i2c-tools to TLV320AIC3106
1. Could you please share the logs of the i2cdetect, i2cset, i2cget, and i2cdump by verifying TLV320AIC3106 has been interfaced to one of your AM335X starter kit, so that it will be useful for me to do my initial bringup with i2c using TLV320AIC3105 with my custom processor
I am using TLV320AIC3105 to be interfaced to my custom processor, where my custom processor's Linux BSP's is running on it. and unable to get as a first step i2c working as posted in
2. As part of the first stage bringup can the I2c read/write can be verified with just only the reset and i2c_scl and i2c SDA using i2c tools - ie., i2cdetect, i2cset, i2cget, i2cdump without connecting MCLK, BCLK, LRCLK, and DATA_IN and DATA_out from processor to TLV320AIC3105?
3. Is that the codec reset signal is required to be interfaced to the processor to get TLV320AIC3105 detected using i2c tools ie., using i2c detect?
4. 3. Is that TLV320AIC3105 always acts as slave?? ie., MCLK needs to be provided by the processor to the Codec or is there any chances that Codec can also act as a master ie., can the codec also generate mclk to the processor?
5. Could you please let me know what could be the reason that I am seeing the following issues w.r.t tlv320aic3105
root@imx6ull14x14evk:/# aplay -Dplughw:0,0 a2002011001-e02-8kHz.wav
Playing WAVE 'a2002011001-e02-8kHz.wav' : Signed 16 bit Little Entlv320aic3x-codec 1-0018: Unable to sync registers 0x1-0x2. -11 -------------------> ISSUE NO. 1
dian, Rate 8000 Hz, Stereo
aplay: pcm_write:2023: write error: Input/output error
root@imx6ull14x14evk:/# amixer
amixer: Mixer default load error: No such device or address --------------------------------------------------------------> ISSUE NO. 3
root@imx6ull14x14evk:/#
root@imx6ull14x14evk:/# i2cget -f -y 1 0x18 0x5 --------------------------------------------------------------> ISSUE NO. 4
Error: Read failed
root@imx6ull14x14evk:/# cat /proc/asound/cards
0 [imxtlv320 ]: imx-tlv320 - imx-tlv320
imx-tlv320
root@imx6ull14x14evk:/# cat /proc/asound/devices
0: [ 0] : control
16: [ 0- 0]: digital audio playback
24: [ 0- 0]: digital audio capture
33: : timer
root@imx6ull14x14evk:/# cat /proc/asound/card0/id
imxtlv320
root@imx6ull14x14evk:/#
root@imx6ull14x14evk:/# i2cdump -f -y 1 0x18 --------------------------------------------------------------> ISSUE NO. 5
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
40: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
50: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
60: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
70: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
80: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
90: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
a0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
b0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
c0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
d0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
e0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
f0: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
root@imx6ull14x14evk:/#
kindly do the needful as early as possible
Eagerly awaiting for your replies
Many Thanks in advance