The phyCORE-AM57x development kit provides access to an 8-bit parallel camera at connector X23 which was designed to work with PHYTEC's Embedded Imaging phyCAM-P camera. This guide will walk through the basic validation of this camera interface by utilizing a GStreamer Pipeline to feed video captured by the camera to the LCD-018 display.
The following hardware is required to successfully replicate this guide:
|Item||Item Number (Description)||Link|
PHYTEC's Embedded Imaging phyCAM-P Camera
|VM-009-M12 with 12 x 0.5 mm (s-mount) lens||https://www.phytec.eu/product-eu/embedded-imaging/phycam/phycam-p/vm009-color/|
7" LVDS Capacitive Touch Display
Carrier Board PCB PL1435.2 can be used if solder jumper J6 is set to position 2+3.
- With the development kit powered off and the power supply removed, connect the phyCAM-P camera to the Carrier Board using the supplied ribbon cable to connector X23.
- Connect the display to the connectors at X25
- Power on the phyCORE-AM57x development kit and boot into Linux (you should see TI's Matrix Demo appear on the LCD).
Run the following commands to stop the active graphics processes:
/etc/init.d/matrix-gui-2.0 stop /etc/init.d/weston stopCODE
Now take the video feed from the camera and output it to the display:
gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1000 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)1024' ! vpe num-input-buffers=8 ! queue ! kmssinkCODE
- You should now be able to view the camera's video feed through the display.
- Ctrl + C to quit