Imx519 and arducam 64mp not working with CM3 custom board

  1. Where did you get the camera module(s)?
    Amazon

  2. Model number of the product(s)?
    imx519 & arducam 64mp

  3. What hardware/platform were you working on?
    Compute Module three with a custom board.
    GitHub - magkopian/raspberry-pi-compute-module-base-board: Base board for the Raspberry Pi Compute Module

  4. Instructions you have followed. (link/manual/etc.)
    Quick start guide. FAQs et. Installed lib camera apps etc.

  5. Problems you were having?

Camera modules are not detected via i2c.

pi@raspberrypi:~ $ i2cdetect -y 10
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:                         -- -- -- -- UU -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- -- 

But the driver motor i2c is detected correctly? --^

pi@raspberrypi:~ $ dmesg | grep -E "imx477|imx519|arducam"
[    0.054705] platform 3f801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/imx519@1a
[   12.213911] imx519 10-001a: failed to read chip id 519, with error -5
[   12.215605] imx519: probe of 10-001a failed with error -5
  1. The dmesg log from your hardware?
    See above

  2. Troubleshooting attempts you’ve made?
    Both camera modules work correctly on a Pi Zero.

The imx477 works correctly on the new hardware. But I had to put this extra into config.txt

dtparam=cam1_reg
dtparam=cam1_reg_gpio=30
  1. What help do you need?
    I’ve come to a dead end in what to try to get the cameras working. The imx477 works correctly but imx519 and arducam 64mp don’t. Installed all of your software, upgraded to the latest kernel. 6.1.28-v7+. I’m either missing something from my config.txt or the driver doesn’t know how to honor cam1_reg changes or something else entirely.

Thanks,

Rick

@borangejuice

Before, I need some information

Please reboot your device and execute the following command:

wget -O arducam-camera-bug-report https://github.com/ketai-dhr/arducam-camera-bug-report/releases/download/tools/arducam-camera-bug-report
chmod +x ./arducam-camera-bug-report
./arducam-camera-bug-report

This will output an arducam-bug-report.txt in the current directory.

Please send this file to me via google cloud disk or similar platform or email ([email protected])

And if possible, please send me the hardware connection diagram.

Thank you for your cooperation and have a nice life.

Hi, I sent you the file you requested to your support email address, also I sent details on how this carrier board works with imx477.

Do you have any ideas on how to resolve this issue?

Thanks,

Rick.

Hi,

No worries I fixed it. Wrong register.

Cheers,

Rick

@borangejuice

Coluld you use the latest kernel?

In fact, I did a lot of experiments, and I found that the status of the old version kernel (5.15.61) and the new kernel (6.1.x) are not the same. On the old kernel I run everything perfectly, on the new kernel I can’t get the image, but the i2c is recognized and the waveform is weird. I’m going to take another look at the waveforms on the old kernel.