what should be the i2cdump values?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

what should be the i2cdump values?

2,595 Views
dhanushvenugopa
Contributor I

Hi,

Im using the imx6ul-evk board and working on the wm8960 codec, codec is connected to the i2c0 .

codec is getting detected through i2cdetect command,but when i check the i2cdump its xx xx.

Command:i2cdump -f -y 0 0x1a
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

will this effect on the aplay and arecord of the wav file.If so how can i resolve this issue.

Labels (1)
0 Kudos
3 Replies

2,498 Views
igorpadykov
NXP Employee
NXP Employee

Hi Dhanush

for i2cdump usage and expected output one can look at sect.4.20 IIC i.MX6-UltraLite Linux tutorial

https://www.fs-net.de/assets/download/docu/common/en/FSiMX6UL_FirstSteps_eng.pdf 

I2C 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

2,498 Views
dhanushvenugopa
Contributor I

Hi igor,

since the wm8960 codec is placed in i2c2 ,so im using the commands.

i2cdump -y 0x1a.

output table is entirely filled only with xx.

im not able to set the values also by using command

i2cset -f -y 1 0x1a 0x11 0xff.

How can i resolve this issue?

Thanks & rgds

,Dhanush

On Thu, Feb 27, 2020 at 12:53 PM Dhanush Venugopal <

0 Kudos

2,498 Views
dhanushvenugopa
Contributor I

Hi igor,

If im not able to get/set the i2c values by using commands, what can be the

reason.

i2cget -f -y 0 0x1a 0x11

i2cset -f -y 0 0x1a 0x11 0xff

0 Kudos