Question
Answer
The following steps assume the user has flashed the AD-GMSL522-SL with the required software as indicated in the AD-GMSL522-SL Getting Started Guide [Analog Devices Wiki] and the user has an AD-GMSL717MIPI-EVK Evaluation Board | Analog Devices and a Raspberry Pi Camera Module 2 – Raspberry Pi.
1. When the AD-GMSL522-SL boot's up, please verify the following:
In a terminal window execute the following command:
ll /boot/dtb
- Use the ribbon cable that comes with the Raspberry Pi Camera Module 2.
- Make sure the contacts in the ribbon cable are set according to the following capture:
- Finally connect the camera module with a coaxial cable to the AD-GMSL522-SL INA+ (J2) socket,
- Reboot the AD-GMSL522-SL
3. Check if the devices were discovered during bootup using the following command:
In this case you should only see one /dev/videoX device, since we are only connecting one AD-GMSL717MIPI-EVK. If you have camera modules connected more then you see the respective number up to 4.
4. Run the configuration file for the imx219 found under Workspace:
The errors seen here are due to the fact the shell script is programming all the 4 GMSL2 channels for the MAX96724. Since only one camera was connected in this tutorial, only one channel was programmed, and the 3 remaining are left unprogrammed.
5. When running the run_demo.sh script found in the Workspace, you should be able to see one camera output:
The demo uses Gstreamer and NVidia's own nvarguscamerasrc as the video source from the GMSL2 link stablished with the Rpi Camera Module 2. In this case only one video stream is presented, if you had more modules connected you should be able to see the number of streams you have connected.
If you are having issues connecting with the camera, makes sure to check the following:
- Check the camera ribbon cable and make sure it is properly connected.
- Make sure the condition of the cable is good as not bent or broken.
- Make sure the coaxial cable it is properly connected. Since the Camera module it is powered by the GMSL PoC connection, you should be able to see the PGOOD LED in the back of the camera module.
For more Troubleshooting procedures visit the following link and documentation: