Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AuvideaJNX30 with 4 cameras #123

Open
PierrickIntom opened this issue Nov 27, 2024 · 1 comment
Open

AuvideaJNX30 with 4 cameras #123

PierrickIntom opened this issue Nov 27, 2024 · 1 comment

Comments

@PierrickIntom
Copy link

PierrickIntom commented Nov 27, 2024

Hello,

I would like to connect 4 IMX183 cameras to my Auvidea JNX30 Carrier board with a Jetson Xavier NX. I modified the devicetree before flashing. When testing, three devices were recognized (/dev/video0, video1 and video2), but not the fourth one.

For the setup I changed the devicetree and put the four VC_MIPI_CAM to Enabled. And then deleted those lines:

#if VC_MIPI_CAM_AB == 1 && VC_MIPI_CAM_CD == 1
    #define VC_MIPI_CAMERAS 2
#else
    #define VC_MIPI_CAMERAS 1
#endif

And replaced them by:

#define VC_MIPI_CAMERAS 4

I also selected 2 lanes for VC_MIPI_LANES and changed 4 CSI lanes to 8, as I want to have 4 cameras with 2 lanes each:

#if VC_MIPI_LANES == 2
    #define BUS_WIDTH 2
    #define NUM_LANES "2" 
    #define NUM_CSI_LANES 8
#endif

I then set the values of the IMX183 four times, for each CSI interface. Could you please confirm that my changes in the devicetree are correct for 4 cameras ?

@bazo80
Copy link
Collaborator

bazo80 commented Dec 5, 2024

Hello @PierrickIntom ,

I've seen, that the dtsi for the Xavier on JNX30 has a bus-width = <1>; in the channel section of cam E and F.
It should be bus-width = <BUS_WIDTH>;

Hope that helps a little bit.

best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants