ZED Link Duo GPIO Triggering
The ZED Link Duo GMSL2 capture card allows you to synchronize external sensors by using triggering signals on the 6-pin 2mm pitch GPIO connector J13.
Master mode - Trigger out
The ZED Link Duo capture card is configured to operate in master mode by default.
In any case, if you change mode, you can set the card back to master mode by setting sync_mode=0 in the file /etc/systemd/system/zed_x_daemon.service and restarting the ZED X daemon service:
The default content of the file /etc/systemd/system/zed_x_daemon.service is as follows:
The output synchronization signal is available on pin #5 of the GPIO connector J13 as soon as the Jetson™ device boots and the ZED Link GMSL2 driver is installed.
- Connect the ground signal (Yellow - GND) to pin #9.
- Connect the trigger out signal (Green - MFP0) to pin #5.
Triggering signal
The output trigger signal is a square wave, with its rising edge synchronized with the end of the exposure phase of the CMOS sensor.
The signal has a fixed Amplitude of 3.75V +/- 12%, while Width and Frequency change according to the frame rate setting of the camera.
Frame rate: 120 FPS - ZED X / ZED X Mini / ZED X One GS / ZED X One S
- Amplitude: 3.75V +/- 12%
- Width: 2.08 msec
- Frequency: 120 Hz
- Period: 8.33 msec
Frame rate: 60 FPS - ZED X / ZED X Mini / ZED X One GS / ZED X One S / ZED X One 4K
- Amplitude: 3.75V +/- 12%
- Width: 4.17 msec
- Frequency: 60 Hz
- Period: 16.67 msec
Frame rate: 30 FPS - ZED X / ZED X Mini / ZED X One GS / ZED X One S / ZED X One 4K
- Amplitude: 3.75V +/- 12%
- Width: 8.33 msec
- Frequency: 30 Hz
- Period: 33.33 msec
Frame rate: 15 FPS - ZED X / ZED X Mini / ZED X One GS / ZED X One S / ZED X One 4K
- Amplitude: 3.75V +/- 12%
- Width: 16.67 msec
- Frequency: 15 Hz
- Period: 66.67 msec
Slave mode - Trigger in
The ZED Link Duo capture card requires specific commands to switch to slave mode.
-
Set
sync_mode=2in the file/etc/systemd/system/zed_x_daemon.serviceto enable the external trigger input. -
Reload the systemd configuration:
-
Connect PIN #9 (
GND) to the ground signal of the trigger source. -
Connect PIN #5 (
DESER - MFP10) to the trigger input signal, i.e., a 3.3V square wave signal. -
Restart the driver by restarting the ZED X daemon service:
To verify that the Slave configuration is active, run the command:
The output should be similar to:
You must use an external trigger signal with the following characteristics:
- Square wave
- Amplitude: 3.3V +/- 10%
- Frequency: Match the camera grab frame rate setting used with the ZED SDK - 15Hz, 30Hz, 60Hz, or 120Hz
Master/Slave mode - Multiple ZED Link Duo cards synchronization
When using multiple ZED Link Duo capture cards on the same NVIDIA® Jetson platform (i.e., 2x ZED Link Duo on an NVIDIA® Jetson Orin Nano), it’s possible to synchronize them together by using the trigger out signal of one card as the trigger in signal for the other card.
The first GMSL2 deserializer will automatically be configured as master, while the second one will operate in slave mode.
-
Set
sync_mode=1in the file/etc/systemd/system/zed_x_daemon.serviceto enable the external trigger input. -
Reload the systemd configuration:
-
Connect together the PIN #9 (
GND) of both ZED Link Duo cards. -
Connect the PIN #5 (
DESER - MFP10) of the first card to the trigger input signal PIN #5 (DESER - MFP10) of the second card. -
Restart the driver restarting the ZED X daemon service:

