Time sync across cameras + triggering other sensors e.g. lidar

GMSL2 cameras are sync’d. Timestamps across frames are all matching, which verifies that frame grabs across all cameras are triggered off the same clock signal.

Any tips on how to synchronise other sensors e.g. lidar, radar, imu, gnss? So if a sensor has a trigger pin, how to get the sensor to be triggered at the same time as the cameras?

Dear @sleff,
Could you check How to synchronize camera with lidar? if it helps.

Thanks @SivaRamaKrishnaNV for the link. It helps to know that dwLidarDecodedPacket has separate timestamps for host and sensor, i.e. hostTimestamp and sensorTimestamp.

Can you help further with any tips on triggering sensors? For example, one of my sensors has a GPIO pin to trigger a detection, which I want to be able to trigger at the same clock sync as cameras. Is there a hardware pin out on the Drive that is sync’d to the cameras?

Dear @sleff ,
SoC generates a PWM signal on a GPIO pin that is connected to all deserializers. This common PWM signal is then forwarded to all 16 GMSL cameras to achieve frame synchronization.

Are you asking how to you want to use the same GPIO to trigger your lidar?

@SivaRamaKrishnaNV Yes, how do I do that?

Any update on this?

Dear @sleff,
AFAIK, it is not possible. I am checking internally if there is way to get access to it.

Dear @sleff ,
It is not possible access GPIO which generates PWM signal connected to all deserializers.

Is there any other way to get a pulse signal at a frequency matched to the frame rate of camera capture?

1 Like

I’m also interested in this topic, any update?