这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » 国产MCU » RV1126双摄像头读取SensorID失败请问需要改什么地方呢

共2条 1/1 1 跳转至

RV1126双摄像头读取SensorID失败请问需要改什么地方呢

工程师
2024-04-16 20:30:53     打赏

我现在Core-1126-JD4的板子上调试双摄像头,想先试一下400W摄像头模组OS04A10接到转接板上面的连接器上,下图黄圈那个,我修改了dts文件

1.jpg

&i2c1 {
status = "okay";
os04a10: os04a10@36 {
compatible = "ovti,os04a10";
reg = <0x36>;
clocks = <&cru CLK_MIPICSI_OUT>;
clock-names = "xvclk";
power-domains = <&power RV1126_PD_VI>;
pinctrl-names = "rockchip,camera_default";
pinctrl-0 = <&mipicsi_clk1>;
avdd-supply = <&vcc_avdd>;
dovdd-supply = <&vcc_1v8>;
dvdd-supply = <&vcc_dvdd>;
pwdn-gpios = <&gpio3 RK_PA5 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio4 RK_PA1 GPIO_ACTIVE_LOW>;
rockchip,camera-module-index = <1>;
rockchip,camera-module-facing = "front";
rockchip,camera-module-name = "CMK-OT1607-FV1";
rockchip,camera-module-lens-name = "M12-40IRC-4MP-F16";
ir-cut = <&cam_ircut0>;
port {
ucam_out0: endpoint {
remote-endpoint = <&csi_dphy1_input>;
data-lanes = <1 2 3 4>;
};
};
};

...........
&csi_dphy1 {
status = "okay";
ports {
port@0 {
csi_dphy1_input: endpoint@1 {
remote-endpoint = <&ucam_out1>;
data-lanes = <1 2 3 4>;
};
};
port@1 {
csi_dphy1_output: endpoint@0 {
remote-endpoint = <&isp_in>;
data-lanes = <1 2>;
};
};
};
};

但是读取Sensor ID失败,请问还需要改什么地方呢





关键词: RV1126     摄像头     连接器    

助工
2024-04-16 20:31:07     打赏
2楼

模组是上电就出信号,还是说需要配置寄存器?如果前者,可以把check sensor id注释掉。不检查


共2条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]