This guide is designed to assist users with the installation and connection of the STEREOLABS GMSL capture card and the NVIDIA Jetson Xavier NX to be used with the ZED X and ZED X Mini GMSL2 cameras.
Requirements
- NVIDIA Jetson Xavier NX devkit, flashed with Jetpack 5.0 to 5.1.1 (L4T 35.1, 35.2, 35.3)
- Stereolabs GMSL2 capture card with 4x1 Fakra cable (included with the board)
- 2 MIPI 15pin 1mm Pitch CSI cable (not included) *
- 12V-19V power input (Jack) to power the GMSL2 capture card (not included)
- 12V power input (Jack) to power the Xavier NX
(*) The 15-pin CSI cable must not be mistaken for a DSI cable where the active pin connection is on the same side.
On CSI, the 15 pins are on the opposite side when looking at the flat cable.
MIPI cables transmit video signals. If the length increase, the video signal will be noisy. The max length recommended is 15cm.
Warning: Make sure the boards are not powered during installation.
Cabling
Step 1
Connect the CSI cable at each MIPI 15-pin port of the Carrier board. Make sure the correct side is plugged in for each port.
Warning: Inverting the side might damage the carrier board or the capture card
Both MIPI cables must be connected to have access to 2 ZED Xs on the capture card.
Step 2
Connect the CSI cable to the capture card. Make sure that J9/CAM0 is connected to the centered MIPI port of the GMSL2 capture card.
J1/CAM1 must be connected to the MIPI port close to the edge.
Make sure to respect the side of the MIPI pins, according to the following picture.
Once connected, the setup should look like as in the following picture
Step 3
Connect the FAKRA 4x1 cable to the GMSL2 capture card, then the ZED X cameras.
Note that GMSL2 cameras must be ideally plugged in before booting up. If it is not the case, you can restart the zed_x_daemon that will be installed by the driver in the next section.
Once the cables are connected, plug the power for the GMSL2 capture card (12V-19V) so that cameras will be powered through the FAKRA cable (PoC).
Then connect the power and an optional HDMI/Keyboard. Wait for boot up.
Driver Installation
The driver is provided by the deb package that contains :
- the driver files (*.ko)
- the dtb file (*.dtb)
- the zed_x_daemon that loads and restarts the driver if necessary
To install the driver, simply execute the following command:
$ sudo dpkg -i stereolabs-zedx_0.5.3-MAX96712-L4T35.2_arm64.deb
Note: You might need to install `libqt5core5a` if not already installed. Use the following command:
$ sudo apt install libqt5core5a
The following log should appear in the terminal window
Reboot the Jetson so that DTB and driver are applied.
When rebooted, the LED on the capture card should be green.
You can type the following command to check that the driver is correctly loaded:
$ sudo dmesg | grep zedx
Depending on the number of cameras connected, the log should be similar to the following picture:
Note: 2 devices are bound (Left and Right) for a single ZED-X camera
ZED SDK Installation
The ZED SDK v4.X is compatible with ZED-X/ZED-XM. The installation is similar to the previous versions.
You can find the latest version available on our website: https://www.stereolabs.com/developers/release/
No changes are required to have the ZED X/ZED X Mini working on your existing code.
If it is the only camera connected, it will automatically detect the camera and open it.
You can use ZED Explorer to list the available camera with:
$ ZED_Explorer --all
Depending on the number of cameras connected, the log should be similar to the following picture:
Enjoy your ZEX X on Xavier NX. If you need help you can contact the support team by email at support@stereolabs.com.