Max96712 with multiple cameras

Hello,

I am trying to setup one max96712 with multiple cameras (virtual channels)
with Jetson AGX Orin - Jetpack 5.1.3

I already implemented the driver. My sensor has a pretty big mod table.

When calling the regmap_write of my sensor in the probe function, everything is working fine.
However, when calling the regmap_write of my sensor in the dedicated set_mode function, I got some timeout:

  • Starting camera 1 → ok
  • Starting camera 2 / 3 / 4 → the stream start correctly, but randomly the stream of the first camera stop.

There is not error in dmesg,
I just got a timeout error in nvgstcapture.

I looked in the template driver nv_hawk_owl.c, and I can see that set_mode is also implemented in the probe function.
Is there an issue to implement the set_mode correctly in the set_mode function ?

Thanks

Hello,
My issue is not related to AI model,
I am trying to implement GMSL camera driver.

Thanks

If your device always power on then you can have the REG programing in the probe otherwise must in the set mode function.

Hello and thanks for the answer!

I don’t want to always power on my device,
The issue is that if I implement it in the set_mode function, starting second camera stream cause a timeout in the first camera stream.
Would you know if there is some limitation for the set_mode function that could cause a timeout in argus?
Would you have some clue how to resolve it?

Thanks!

There’s no any limitation for the set_mode function.
I would suspect the problem could be the configuration in the max96712

Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.