i.MX8MM EVK Cannot find i2c devices once Android is started

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.MX8MM EVK Cannot find i2c devices once Android is started

428 次查看
martindenion
Contributor II

I'm trying to use the GPIO expander of the i.MX8MM EVK board (OS android) from the user space.
From U-Boot, on the I2C-2 bus, I can find a device at address 20 but once Android has started, I cannot find any i2c device with i2cdetect.

From U-Boot:

u-boot=> i2c dev 0
Setting bus to 0
u-boot=> i2c probe
Valid chip addresses:  25
u-boot=> i2c dev 1
Setting bus to 1
u-boot=> i2c probe
Valid chip addresses:  00 14 50 52 72 73
u-boot=> i2c dev 2
Setting bus to 2
u-boot=> i2c probe
Valid chip addresses:  20

 

From userspace:

evk_8mm:/ # i2cdetect -y 0
i2cdetect: /dev/i2c-0: No such file or directory
evk_8mm:/ # i2cdetect -y 1
i2cdetect: /dev/i2c-1: No such file or directory
evk_8mm:/ # i2cdetect -y 2
i2cdetect: /dev/i2c-2: No such file or directory

 

0 项奖励
1 回复

421 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport
0 项奖励