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. 


Requirements

The following hardware is required to successfully replicate this guide:

ItemItem Number (Description)Link

PHYTEC's Embedded Imaging phyCAM-P Camera 

Image result for PHYTEC's Embedded Imaging phyCAM-P Camera

VM-009-M12 with 12 x 0.5 mm (s-mount) lenshttps://www.phytec.eu/product-eu/embedded-imaging/phycam/phycam-p/vm009-color/

7" LVDS Capacitive Touch Display 

LCD-018-070-KAPhttps://wiki.phytec.com/productinfo/hardware-accessories/7-display-with-capacitive-touch-lcd-018-070-kap


Note

Carrier Board PCB PL1435.2 can be used if solder jumper J6 is set to position 2+3.

Hardware Setup

  • 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:

    Target (Linux)

    /etc/init.d/matrix-gui-2.0 stop
    /etc/init.d/weston stop
    CODE
  • Now take the video feed from the camera and output it to the display: 

    Target (Linux)

    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 ! kmssink
    CODE
  • You should now be able to view the camera's video feed through the display.
  • Ctrl + C to quit