kdb351: USB3.0 camera setup on Connect Tech Jetson TX2/TX1 carriers

Introduction

Connect Tech TX2/TX1 carriers provide a unique application specific approach to peripheral usage, as such one of the usages is the incorporation of USB3.0 cameras.

DISCLAIMER

It has been found when using GStreamer that 4+ cameras can saturate the memory on the TX2/TX1 and will cause the cameras to hang or lock up, and in some instances crash Unity desktop. Try to refrain from using long cabling for the cameras as it has been found that they may not sync correctly on device start up and cause the modules to fail to start or hang.

Known working module(s)

KDB352: NVIDIA® Jetson™ TX2/TX1 Supported Cameras

Setup

You may use the one of the available USB3.0 ports on your ASG00X, if there is no available USB3.0 ports you may use a powered USB3.0 hub to expand USB3.0 functionality on the carrier board (ASG00X). If you are using a carrier with an mPCIe such as the ASG002 (Elroy) and have an mPCIe to USB3.0 adapter you may also use those additional USB3.0 ports for cameras. Keep in mind that not all USB3 cameras will work on USB2 ports and as such should not be used in this setup. Ensure that you are using the latest version of the CTI BSP installed on your device.

KDB350: CTI-L4T NVIDIA® Jetson™ TX2/TX1 Board Support Package Release Notes

GSTREAMER and Software

You may use GStreamer with your camera(s), this software allows for multiple cameras streams and formats to be present on a variety of different cameras to ensure that your device is recognized check /dev/videoX, if you have four cameras you will see a list like so;

/dev/video0

/dev/video1

/dev/video3

If your device is not recognized you may require additional drivers/software, if you are unsure if your camera is supported please email [email protected] for assistance.

You may also assess the supported formats of the cameras using gst-device-monitor-1.0 which will list all the available formats for each camera. Using the readout data you can then formulate a GStreamer command like so;

gst-launch-1.0 v4l2src device=/dev/videoX ! 'video/x-raw, format=YUY2, width=1280, height=800, pixel-aspect-ratio=1/1, interlace-mode=progressive, framerate=15/1' ! xvimagesink -ev

This will output a single camera at 1280×800@15Hz

Go to Top