iMX53 I2C and SPI Interfaces

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

iMX53 I2C and SPI Interfaces

473 次查看
AOlvera
Contributor I

I am having trouble finding documentation or examples of how to use the i2c and spi interfaces on the iMX53 development board. I was able to get i2c working by installing i2c-tools and disabling kernel control by running:

$ echo "1-000a" | sudo tee /sys/bus/i2c/devices/1-000a/driver/unbind

This allows me to run commands like :

$ sudo i2cdetect -y 0

and:

$ sudo i2cget -f -y 0 0x1c 0x06 w

I have not had any luck with accessing the SPI interface. Can someone assist me in how I can navigate this? Thanks!

0 项奖励
回复
1 回复

434 次查看
pengyong_zhang
NXP Employee
NXP Employee

HI @AOlvera 

you can use the spidev_test tool run the spi related test.

B.R

0 项奖励
回复