Frame rate decreate in config file for imx477

1.Which seller did you purchase the product(s) from?
Uctronics
2.The Model number of the product(s) you have purchased?
2x imx477 UC-517 Rev.D with USB Camera Shield UC-593 Rev.C
3.Which Platform are you using the product(s) on?
Jetson Xavier NX with JetPack 4.4.1
4.Which instruction are you following?
documentation
5.Has your product ever worked properly?
quit working
6.What problems are you experiencing?
When I run ArduCam_Py_Demo.py ./ArduCAM_USB_CameraShield/Config/USB3.0_UC-593_Rev.C/MIPI/IMX477/stereo/4Lane/4032x3040/RAW12_8b/IMX477_4Lane_4032x3040_RAW12_8b_BA.cfg I encounter

USB_CAMERA_DATA_LEN_ERROR.

The fps is 13/s. I would like to decrease the fps to get rid of the error. Which register do I have to edit?

I also tried to connect two USB3.0 shields, but the second one wasn’t working at all. It there some limitation (shared resources) in the example python script? On the first look, I did’t find anything suspicious.

Many thanks for your answer.
7.What attempts at troubleshooting have you already made?
I tried different config files, but the fps is probably the highest possible on jetson xavier nx.
8.How would you like us to help you?
Provide the register that controls the fps and exposiiton time. What is the correct usage of control functions like ArducamSDK.Py_ArduCam_setCtrl(handle, “setFramerate”, 5)?

Hi @oivan

this should work:

ArducamSDK.Py_ArduCam_setCtrl(handle, “setFramerate”, 5)

But there is a problem here. You can’t directly use two imx477 UC-517 Rev.D for USB Camera Shield UC-593 Rev.C (stereo) at the same time. You need to make a little hardware modification: Re-solder the position of a resistor.
We can tell you how to modify it if you need it.

Hi arducam guys,

we are building the HW prototype for 3D reconstruction which includes more types of cameras connected to jetson xavier nx:
4x low resolution OV9281 monochrome cameras connected via camarray hat to CSI2 (pose estimation)
2x imx477 connected to USB Camera Shield (stereo)
Of course we would like to connect the imx477 stereo to the second CSI2 slot, but there is a limitation of the driver – one driver could be installed at the same time. Or is there some hack on how to run different cameras connected to the camarray hat with jetson xavier nx? This would be an ideal setup for us.

Because our application is only to make snapshots, not video, we shouldn’t be limited with the bandwidth. Thanks for the hints.

Hi @oivan

We can modify the device tree to make the two CSI2 interfaces connect to different cameras.

After installing the driver, you should be able to see multiple device tree files in the /boot/arducam/ or /boot/arducam/dts directory. The end of the name is similar to arducam_imx477, arducam_imx219, which means that one interface can be connected to the arducam camera, and the other interface can be connected. imx477 or imx219.
You can specify the device tree by modifying /boot/extlinux/extlinux.conf.