Wiki

This version (04 Mar 2024 14:54) was approved by Tom Brady.The Previously approved version (28 Feb 2024 14:26) is available.Diff

Raspberry Pi User Guide

Required hardware

Development Kits

Supported image sensors & cameras

Cables

Do not use the 15-pin ribbon cable included with the Raspberry Pi camera since that is an opposite sided cable.
  • 15 Pin Type A (same side) Flexible Ribbon Cable, P/N: MP-FFCA10152003A or Similar
  • 22 Pin Type B (opposite side) Flexible Ribbon Cable, P/N: MP-FFCA05222002B or Similar
  • FAKRA Jack to FAKRA Jack coaxial cable, provided in EV kits


Board modifications

Using the procedure to Set CFG Pin Levels, configure the serdes pair as follows:

MAX96717 MAX96724
CFG0 0I2C, ROR, 0x80 0I2C, 0x4E
CFG1 7 – Coax, 6Gbps, Pixel 0 – Coax, GMSL2, 6Gbps

GMSL Deserializer Evaluation Kit

  • Slide the SW5 switches to the ON position - enables I2C communication over the CSI bus

  • Bridge R88 - provides VDDIO to the adapter

GMSL Serializer Evaluation Kit

  • Place a jumper on the J10 connector - enables power over the coaxial cable

  • Bridge R70 - provides 12V to the adapter
  • Bridge R80 - connects MFP2 to the adapter for IMX219
  • Bridge R66 - provides VDDIO to the adapter

AD-GMSLCAMRPI-ADP# Adapter

  • Configure the switch S2 on the GMSL Serializer adapter for CAM1 on connector P9.
  • Configure the switch S1 on the GMSL Deserializer adapter for CAM2 on connector P6 and slide switch S3 towards connector P6.
Serializer adapter Deserializer adapter

System setup

MAX96717 Serializer EV kit Configuration

For the following setup, please ensure ribbon cables and boards are oriented to match the diagrams.

Connect the 15 pin ribbon cable to the camera board.

Connect the other end of the 15 pin ribbon cable into the 15-to-22 pin adaptor board.

On the other side of the 15-to-22 pin adaptor board, connect the 22-pin ribbon cable. Note: This is an opposite sided flex cable, please ensure it matches the orientation in the picture.

Connect the other end of the 22 pin ribbon cable into the EV kit adaptor board P9 connector.

Lastly, connect the EV kit adaptor board to the MAX96717 EV kit.

MAX96724 Deserializer EV kit Configuration

Starting with the Raspberry Pi 4 B, connect the 15 pin ribbon cable to the CSI input connector.

Connect the other end of the 15 pin ribbon cable into the 15-to-22 pin adaptor board.

On the other side of the 15-to-22 pin adaptor board, connect the 22-pin ribbon cable. Note: This is an opposite sided flex cable, please ensure it matches the orientation in the picture.

Connect the other end of the 22 pin ribbon cable into the EV kit adaptor board P8 connector.

Lastly, connect the EV kit adaptor board to the MAX96724 EV kit.

With both sides of the SerDes devices connected up, the last step it to connect the two sides together with the coax cable. The MAX96717 serializer only has one connection. The MAX96724 deserializer has 4 inputs so connect the coax cable to link A (INA) on J7.

Connect power to the 12V barrel jack J1 of the MAX96724 deserializer. If utilizing the GMSL GUI, also connect the micro USB cable to J6 of the MAX96724 deserializer EV kit.

Raspberry Pi 4 Configuration

  • Connect the USB-C power supply to the Raspberry Pi 4 connector.
  • Connect the HDMI cable from the monitor to the Raspberry Pi micro HDMI connector.
  • Write the Raspberry Pi latest SD card image on a 8GB (or more) SD card.
  • Plug the SD card into the Raspberry Pi 4 SD card slot.
  • Connect a USB mouse and keyboard to the Raspberry Pi 4. It's possible to use either a mouse & keyboard combo or a separate mouse and keyboard.

Running the evaluation application

Once Linux boots you'll see on the HDMI monitor the Linux desktop and on the top left corner a shortcut to the script named video_cfg.sh. Double-clicking on the icon will start the media-ctl configuration script to connect to the V4L2 media pipeline. It may not appear that anything happens but the script runs in background without any pop ups.

After the script runs, double-click on the Qt V4L2 test Utility icon to start the video capture application. A window will open then press the green play button to start video capturing.

The capture window will look like below.

Note: some displays may have vertical/horizontal lines. This is typically an artifact caused on HDMI monitors and unrelated to the evaluation setup.

Power off sequence

  • Open a terminal and type sudo poweroff. This will safely power off the Raspberry Pi 4 and ensure that the SD card is properly unmounted.
  • Remove the power supply from the Raspberry Pi 4.
  • Remove the power supply from the MAX96724 EV kit.

Getting the software

The GMSL Linux kernel drivers, the complete Linux distributions for the supported processing platforms, and software user guides can be found on the Analog Devices GMSL github repository.


Navigation - ad-gmslcamrpi-adp

resources/eval/user-guides/ad-gmslcamrpi-adp/ug_rpi.txt · Last modified: 04 Mar 2024 14:54 by Tom Brady