I2c bus number and video node/zh

From wiki_veye
Revision as of 11:31, 27 February 2022 by Admin (talk | contribs) (Created page with "English == 不同板子上的i2c序号 == 对于MIPI CSI-2接口的摄像机模组来说,普遍提供了i2c总线作为参数配置的通...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

English

1 不同板子上的i2c序号

对于MIPI CSI-2接口的摄像机模组来说,普遍提供了i2c总线作为参数配置的通信通道。用户使用i2c协议来读写摄像机的寄存器。我们提供了一系列的shell脚本来方便这个操作,比如VEYE-MIPI-X I2C.sh,CS-MIPI-X I2C.sh,VEYE-MIPI-IMX335 i2c script

一般而言,每一个主板上会为每个MIPI CSI-2接口提供一个配套的i2c总线。我们所有的脚本,都可以使用 -b [bus numer]选项来指明此次操作针对哪个i2c bus总线。下面我们总结了常用的主板的i2c bus序号。

1.1 Raspberry pi

对于只有1个MIPI CSI-2口的树莓派主板,i2c总线序号是10。如果你的piOS很老,那么有可能是0。

For a Raspberry Pi with only one mipi csi-2 interface, the i2c bus is 10.

特别的,对于Computer module系列。做如下说明:

1.1.1 CM3

CM3 use I2C-1 to control 2 cameras,It is time-sharing multiplexing.

./camera_i2c_config [cameranum]

cameranum description
0 CAM0
1 CAM1

1.1.2 CM4

The CM4 module uses two I2C to communicate with two cameras respectively.

./camera_i2c_config

i2c bus num description
0 CAM0
10 CAM1

1.2 Nvidia Jetson


1.2.1 NXP i.MX platform


2 /dev/video设备节点的说明