Is it possible to create a CSI-2 Signal via Jetson TX2

Hi everyone,

i am searching for a possibliity to create a CSI-2 Signal (some recorded data or artifical data created on the fly).

Is it possible to do something like this with a jetson?

best regards


hello juergen.falb,

yes, you can enable Test Pattern Generator (TPG) buffer.
here’s example for enable TPG buffer for Xavier.

ubuntu@ubuntu-desktop:~$ sudo insmod /lib/modules/4.9.140-tegra/kernel/drivers/media/platform/tegra/tpg/nvhost-vi-tpg-t19x.ko
[sudo] password for ubuntu:
ubuntu@ubuntu-desktop:~$ ls /dev/video*
/dev/video0   /dev/video13  /dev/video18  /dev/video22  /dev/video27  /dev/video31  /dev/video36  /dev/video8
/dev/video1   /dev/video14  /dev/video19  /dev/video23  /dev/video28  /dev/video32  /dev/video4   /dev/video9
/dev/video10  /dev/video15  /dev/video2   /dev/video24  /dev/video29  /dev/video33  /dev/video5
/dev/video11  /dev/video16  /dev/video20  /dev/video25  /dev/video3   /dev/video34  /dev/video6
/dev/video12  /dev/video17  /dev/video21  /dev/video26  /dev/video30  /dev/video35  /dev/video7

for Jetson-TX2 you should insert kernel module nvhost-vi-tpg.ko.
you should be able to access /dev/video* with v4l2-ctl or nvarguscamerasrc
for example,

gst-launch-1.0 nvarguscamerasrc sensor-id=1 ! 'video/x-raw(memory:NVMM),width=1920, height=1080, framerate=30/1, format=NV12' ! nvoverlaysink -ev