SOLVED different modules simultaneously on jetson nano mipi interface
-
Dear V-EYE support,
I would like to know if it is possible to connect and use two different camera modules simultaneously with a Jetson Nano via the MIPI interface. Specifically, I am interested in using the IMX462, AR234, or IMX265 modules.
Best regards,
-
@joe
Of course. What you need to do is to reintegrate the DTS based on our released code and compile it into the required DTB file.
Specifically, the DTB file we are currently releasing configures both CAM0 and CAM1 as the same camera model.
Now, you need to integrate the DTS files of the two camera models into one DTB file. This will specify that CAM0 is one model and CAM1 is another model of the camera. -
Thank you for your response. I'm happy to hear this. I will try to test it as soon as I can and reply here.
-
@veye_xumm
Hi, it's been a while.I am looking to use the veye-mipi-imx462 and raw-mipi-ar0234m cameras together on the Jetson Orin Nano (JetPack 6.1/Orin Nano Super). Is the process the same as running both cameras on the Jetson Nano, or do I need to add two DTBO files to /boot/extlinux/extlinux.conf? I have successfully set up the veye-mipi-imx462 on the Orin Nano. What steps should I take to add the second camera?
Thanks!
-
@joe said in different modules simultaneously on jetson nano mipi interface:
It's still the same procedureļ¼
What you need to do is to reintegrate the DTS based on our released code and compile it into the required DTB file.
Specifically, the DTB file we are currently releasing configures both CAM0 and CAM1 as the same camera model.
Now, you need to integrate the DTS files of the two camera models into one DTB file. This will specify that CAM0 is one model and CAM1 is another model of the camera. -
@veye_xumm
I'm encountering difficulties building my custom Device Tree Source (DTS) on a Jetson Orin. I've modified the DTS file and am attempting to build it directly on the Orin using the dtc command.However, I'm unable to locate the header file dt-bindings/tegra234-p3767-0000-common.h.
Could you please provide instructions, a link to a guide, or any relevant documentation on how to build DTS files on a Jetson Orin?
-
@joe
It is better to compile dtbo in the cross-compile environment of the jetson system, because there are some references that may not be available on the orin board.
I'll arrange to do a bit of compiling for you as soon as possible. -
@veye_xumm
Thank you so much for your willingness to assist with the dtbo compilation! I greatly appreciate your support and the effort you're putting into this. Please let me know if you need any additional details about my project or environment to facilitate the process. -
@joe
Please get tegra234-p3767-camera-p3768-veyecam2m-raw_ar0234m.dtbo
from here:
https://github.com/veyeimaging/nvidia_jetson_veye_bsp/tree/master/dtbs/Orin/JetPack_6.1_Linux_JETSON_ORIN_TARGETS/orin_nx_nano -
Thank you for building the DTBO! It works perfectly, and now I can access both /dev/video0 and /dev/video1. Streaming with the IMX462 works without any issues, but when I stream using the AR0234, the output shows a split view and looks green (see the attached image for reference).
Here is the command I used for streaming:
gst-launch-1.0 nvv4l2camerasrc device=/dev/video1 ! "video/x-raw(memory:NVMM),format=(string)UYVY, width=(int)1920, height=(int)1080" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420" ! nv3dsink sync=false
-
@joe The RAW-MIPI-AR0234M is a MONO camera that has no color information and therefore does not support the UYVY data format. Please refer to this link below:
https://wiki.veye.cc/index.php/Mv_series_camera_appnotes_4_jetson#Configuring_global_variables