2382886_en-US

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

2382886_en-US

2382886_en-US

Raspberry Pi Camera V1.0 Not Working on i.MX93 CSI-2 Interface

Hi Team,

We are using an NXP i.MX93 board. The NXP MIPI CSI-2 (2-lane) camera is working correctly.

We also tried connecting a Raspberry Pi Camera Module V1.0, which uses a CSI-2 2-lane interface. The corresponding camera driver has been installed in Linux, but the camera is not working and cannot be accessed.

Could you please help us identify the root cause? Is there any additional device tree configuration, driver modification, or MIPI CSI-2 compatibility requirement needed to support the Raspberry Pi camera on i.MX93?

Please let us know if any logs or debug information are required.

Thanks.

Re: Raspberry Pi Camera V1.0 Not Working on i.MX93 CSI-2 Interface

What you should check (practical debug checklist)

Step 1: Verify I2C basic communication

i2cdetect -y

dmesg | grep imx219 / ov5647

Key question:

  • detected but probe fails → clock/reset issue
  • not detected → HW / pin / power issue

Step 2: Check clock output

Confirm:

  • CLK pin actually outputs waveform
  • frequency correct (24/25 MHz)

Step 3: Validate reset / power-down GPIO

Ensure DTS includes:

reset-gpios = <...>;

pwdn-gpios = <...>;

Test:

  • toggle manually (debug prints or GPIO sysfs)

Step 4: Compare with working NXP camera DTS

Use:

OV5640 or AP1302 DTS from BSP

Compare:

endpoint

port

lane config

Step 5: Check media graph

media-ctl -p

Verify pipeline is complete.

Step 6: Confirm lane configuration

Mismatch examples:

data-lanes = <1 2>;

clock-lane = <0>;

Wrong config → no stream


Recommendation:

Option A (recommended for project):

Use NXP-validated camera module → saves weeks of bring-up


Option B (if must use RPi camera):

You need to:

  1. Fully port sensor driver tuning:
    • clock frequency
    • link frequency
    • MIPI timing
  2. Carefully align:
    • power sequence
    • reset timing
  3. Adjust DTS + pipeline

Expect non-trivial effort

标记 (1)
无评分
版本历史
最后更新:
3 周之前
更新人: