GMSL cameras frame sychronization

Hi Team,

From NVIDIA docs,
“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.”

we are planning to use PWM signal and synchronize GMSL cameras. Please let us know which kernel driver we have to use to configure PWM GPIO and share some sample device tree entries for the same. we are using GPIO35(GP_PWM5), configured the same in pinmux sheet and generated the .cfg files.

@WayneWWW

Thanks,
Arun

I don’t have experience on GMSL. Maybe you can find other developers here.

@WayneWWW
Thanks for the reply.

@Trumany
@SivaRamaKrishnaNV
@JerryChang
Any idea on this?

hello arunkumar.d,

there’s Argus sample application, i.e. argus/public/samples/syncSensor to enable dual camera in the same capture session.
suggest you should also check this topic for reference,
Keeping camera synchronization at software level - #5 by JerryChang
thanks

@JerryChang
How to configure GPIO35(GP_PWM5) in device tree(dts)?

hello arunkumar.d,

could you please also point-out which documentation mention this paragraph?
there’s documentation, Jetson Virtual Channel with GMSL Camera Framework, it doesn’t mention frame synchronization with PWM.

you should access L4T Driver Package (BSP) Sources,
please check kernel documentation for the PWM configuration in the device tree.
for example,
$L4T_Sources/r32.5/Linux_for_Tegra/source/public/kernel/kernel-4.9/Documentation/devicetree/bindings/pwm/pwm.txt

@JerryChang

here is the link,
https://docs.nvidia.com/drive/drive-os-5.2.0.0L/drive-os/index.html#page/DRIVE_OS_Linux_SDK_Development_Guide/Camera/camera_xavier.html#wwpID0E0YB0HA

hello arunkumar.d,

it’s Driver OS documentation, may I know what’s your actual use-case? thanks