Connecting the Cameras

Warning:

The GMSL camera must be 8V tolerant. Refer to the platform datasheet for details on the electrical requirements for the GMSL camera.

Always turn off main power before connecting or disconnecting cameras.

To connect multiple cameras using the quad camera breakout cable

  1. Connect the quad camera breakout cable to the platform camera group A.
  2. Using the Fakra coax cable, connect the GMSL camera to the other end of the quad camera breakout cable.
  3. Connect any subsequent cameras to each connector of the quad camera breakout cable.
  4. The mapping of the quad camera breakout cable:
    • Green: A0
    • Red: A1
    • Blue: A2
    • White: A3

To run the sample applications

  1. Start camera capture using commands.

    For example, for Valeo IMX728 B1 camera module connected to A0 port in the Group A, and an HDMI monitor is connected to the DP (DisplayPort) port. The commands are below.

    Before using the -d option with the nvsipl_camera application, you must complete the following requirements:

    1. Terminate Ubuntu Desktop
      • Terminate Desktop:
        systemctl disable gdm
        systemctl stop gdm
      • Alternatively:
        sudo service lightdm stop
        sudo service gdm stop
    2. Terminate X11
      sudo pkill Xorg
    3. Terminate any active Vulkan or OpenGL or Graphics applications.
    4. sudo lsmod | grep nvidia-drm
    5. If the output shows nvidia-drm, uninstall drm:
      sudo rmmod nvidia-drm
  2. Launch a terminal window and navigate to the following directory.
    • On Ubuntu rootfs:
    /opt/nvidia/drive-linux/samples/nvmedia/nvsipl/test/camera
    • On Yocto rootfs:
    /opt/root/samples/nvmedia/nvsipl/test/camera
  3. Enter this command.
    sudo ./nvsipl_camera --platform-config "V728S1-120V1-FWC_CPHY_x4" --link-enable-masks "0x0001 0x0000 0x0000 0x0000" -d 0

    Where:

    • V728S1-120V1-FWC_CPHY_x4 specifies the name of the platform configuration that describes the connection of image sensors to Orin based platforms.
    • -d 1 specifies the display number.
  4. To obtain the available display devices for Tegra, execute the following command:
    ./nvsipl_camera -h 

    The available display devices are identified.

  5. Select the desired display ID.