I2c issue on sama5d27

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

GaneshK
Posts: 9
Joined: Fri Apr 12, 2019 6:11 pm

I2c issue on sama5d27

Sat Jul 25, 2020 9:59 am

Hi,

I have connected tlv320aic3007 codec on sama5d2 custom board.I have used PD21 and PD22 for i2c.On same i2c line We have connected eeprom chip.We able to read all the i2c register values from eeprom device with i2cdump command.But i am not able to read the i2cregister values from codec.If we give the i2cdump command on codec address we are getting time out error.Please have look on below log.

i2cdump command for codec:
root@rugged-board-a5d2x-sd1:~# random: crng init done
alsamixer ^C
root@rugged-board-a5d2x-sd1:~# ^C
root@rugged-board-a5d2x-sd1:~# i2cdump -f -y 0 0x18
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 00 10 04 00 00 00 00 c3 c3 c3 at91_i2c f8028000.i2c: controller timed out
XX XX XX at91_i2c f8028000.i2c: controller timed out
XX ...??....???XXXX
10: XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XXXXXXXXXXXXXXXX
20: at91_i2c f8028000.i2c: controller timed out
XX XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XXXXXXXXXXXXXXXX
30: XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XXXXXXXXXXXXXXXX
40: XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XX at91_i2c f8028000.i2c: controller timed out
^C
root@rugged-board-a5d2x-sd1:~#
root@rugged-board-a5d2x-sd1:~# i2cdump -f -y 0 0x18
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 00 10 04 00 00 00 00 c3 c3 c3 at91_i2c f8028000.i2c: controller timed out
XX XX XX at91_i2c f8028000.i2c: controller timed out
XX ...??....???XXXX
10: XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XXXXXXXXXXXXXXXX
20: XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XXXXXXXXXXXXXXXX
30: XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XXXXXXXXXXXXXXXX
40: XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX c3 at91_i2c f8028000.i2c: controller timed out
XX XX XX c3 at91_i2c f8028000.i2c: controller timed out
XX XX XX XXXXXXXX?XXX?XXX
50: at91_i2c f8028000.i2c: controller timed out
XX XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XX XXXXXXXXXXXXXXXX
60: at91_i2c f8028000.i2c: controller timed out
XX XX XX XX c3 at91_i2c f8028000.i2c: controller timed out
XX XX XX XX c3 at91_i2c f8028000.i2c: controller timed out
XX XX XX XX c3 at91_i2c f8028000.i2c: controller timed out
XX XXXX?XXXX?XXXX?X
70: XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XX at91_i2c f8028000.i2c: controller timed out
XX XX XX XX c3 at91_i2c f8028000.i2c: controller timed out
XX XXXXXXXXXXXXXX?X
80: XX XX XX c3 c3 at91_i2c f8028000.i2c: controller tim


I2cdump command for eeprom:

root@rugged-board-a5d2x-sd1:~# i2cdump -f -y 0 0x50
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
f0: ff ff ff ff ff ff ff ff ff ff 54 10 ec a4 02 11 ..........T?????
root@rugged-board-a5d2x-sd1:~#
blue_z
Location: USA
Posts: 2101
Joined: Thu Apr 19, 2007 10:15 pm

Re: I2c issue on sama5d27

Tue Jul 28, 2020 12:43 am

What is the relationship of this issue and the other issue you posted?

Regards

Return to “LINUX”

Who is online

Users browsing this forum: No registered users and 5 guests