I2C Test - Advantech RSB-6410 User Manual

Nxp arm cortex-a9 i.mx6 dual/quad mini-itx motherboard
Table of Contents

Advertisement

Get gpio2 GPI value
# cat ./gpio2/value
1
As you can see in above procedure A and B, we set gpio2 as GPI and gpio12 as
GPO, once we send data out from gpio12, it should be able to receive the same data
from gpio2.
3.6

I2C Test

There is one I2C buses in RSB-6410.
# ls /sys/class/i2c-dev
i2c-0
i2c-1
i2c-2
# i2cdetect -l
i2c-0 i2c
i2c-1 i2c
i2c-2 i2c
Please try below command to know if there is any device connected to i2c bus 1.
# i2cdetect -yr 2
0 1 2 3 4 5 6 7 8 9 a b c d e f
00:
-- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- 29 -- -- -- -- -- --
30: -- -- -- -- -- -- -- 37 -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- 49 -- -- -- -- -- --
50: UU 51 52 53 54 55 56 57 -- 59 -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- UU --
imx-i2c
imx-i2c
imx-i2c
39
I2C adapter
I2C adapter
I2C adapter
RSB-6410 Android User Manual

Advertisement

Table of Contents
loading

Table of Contents