i.MX7Dual SABRE I2C query

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

i.MX7Dual SABRE I2C query

594 Views
arsadhusainmomi
Contributor I

Hi,

I'm working on i.MX7Dual SABRE board.

I'm using the e-ink display with IMXEBOOKDC4 daughter board and booting with epdc dtb.

I'm also connecting an EMR sensor through i2c on the board.

I'm using the the Mikro Bus given on the board as header J33 to connect the EMR sensor.

My i2c config:

root@imx7dsabresd:~# i2cdetect -l
i2c-0 i2c 30a20000.i2c I2C adapter
i2c-1 i2c 30a30000.i2c I2C adapter
i2c-2 i2c 30a40000.i2c I2C adapter
i2c-3 i2c 30a50000.i2c I2C adapter

After connecting the EMR on Mikro Bus, I can detect it on i2c-2 and get it working.

root@imx7dsabresd:~# i2cdetect -y 2
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- 11 -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- 39 -- -- -- 3d -- --
40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: 60 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

But after I attach the e-ink display board,

root@imx7dsabresd:~# i2cdetect -y 2
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- 15 -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- 39 -- -- -- 3d -- --
40: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: 60 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

EMR is no longer detected.

Note that, both the devices work properly standalone.

I can't find the pins for other i2c adapters on the board.

How can I get them both to work together?

Is there any workaround for this?

Please help asap.

Thanks.

Labels (2)
0 Kudos
1 Reply

442 Views
arsadhusainmomi
Contributor I

Solved.

The I2C data and clock lines for Mikro bus and epdc are the same, which seemed to be the problem.

I found another MFI header which uses i2c-3.

Both are working fine.

0 Kudos