Phytec L-1029e.A1 Getting Started Manual

Phycam with phyboard-pollux i.mx 8m plus

Advertisement

Quick Links

L-1029e.A1 phyCAM with phyBOARD-Pollux i.MX 8M
Plus Getting Started Guide
Manuals & Documentation
Exported on  09/15/2022

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the L-1029e.A1 and is the answer not in the manual?

Questions and answers

Summary of Contents for Phytec L-1029e.A1

  • Page 1 L-1029e.A1 phyCAM with phyBOARD-Pollux i.MX 8M Plus Getting Started Guide Manuals & Documentation Exported on  09/15/2022...
  • Page 2: Table Of Contents

    Manuals & Documentation  –  L-1029e.A1 phyCAM with phyBOARD-Pollux i.MX 8M Plus Getting Started Guide Table of Contents Introduction ......................4 SBC Kit Start-Up ..................... 5 2.1 Before You Start ........................... 5 Connecting and Starting the Camera..............6 3.1 Overview............................6 Camera Connectors on the Pollux - Carrier Boards..........
  • Page 3 Manuals & Documentation  –  L-1029e.A1 phyCAM with phyBOARD-Pollux i.MX 8M Plus Getting Started Guide L-1029e.A1 phyCAM with phyBOARD-Pollux i.MX 8M Plus Getting Started Guide Document Title L-1029e.Ax phyCAM with phyBOARD-Pollux i.MX 8M Plus Getting Started Guide Document Type Hardware/Software Guide Article Number L-1029e.A1...
  • Page 4: Introduction

    1 Introduction The SBC (Single Board Computer) kits from PHYTEC represent an ideal basis for testing and the first design steps with phyCAM camera modules. The kit forms the starting point for your development project. The kit can be used to develop and test application software before your own adapted hardware is available.
  • Page 5: Sbc Kit Start-Up

    Manuals & Documentation  –  L-1029e.A1 phyCAM with phyBOARD-Pollux i.MX 8M Plus Getting Started Guide 2 SBC Kit Start-Up Before you try out the camera and image processing functions, we recommend that you first familiarize yourself with the basic functions of the kit and the associated development environment. Each kit contains a Quick Start Guide that guides you through installing the software on your development PC and configuring the hardware.
  • Page 6: Connecting And Starting The Camera

    Depending on the kernel version, the software installation may differ in some details from the described procedure. When you purchase an SBC kit, you will receive the PHYTEC guarantee. If you encounter any difficulties during installation, PHYTEC support will help you! 3.1 Overview...
  • Page 7 Manuals & Documentation  –  L-1029e.A1 phyCAM with phyBOARD-Pollux i.MX 8M Plus Getting Started Guide On PHYTEC or customer carrier boards, the interfaces are led out as phyCAM-M. For more information on phyCAM- M, see the phyCAM-Manuals on our website On the phyBOARD-Pollux baseboard, the camera interfaces are led out as phyCAM-M (MIPI CSI-2) interfaces. Here you can connect different phyCAM-M camera modules: phyCAM-M Camera Interfaces of phyCORE-i.MX 8M Plus (Quad) and the output on the phyBOARD-Pollux-i.MX 8M...
  • Page 8: Camera Connectors On The Pollux - Carrier Boards

    Manuals & Documentation  –  L-1029e.A1 phyCAM with phyBOARD-Pollux i.MX 8M Plus Getting Started Guide 4 Camera Connectors on the Pollux - Carrier Boards The development kits for the i.MX 8M Plus phyBOARD-Pollux contains: • one carrier board (phyBOARD-Pollux) • one phyCORE-i.MX 8M Plus module SOM (phyCORE-i.MX 8M Plus) The phyCORE-i.MX 8M Plus is plugged into the carrier board.
  • Page 9 Manuals & Documentation  –  L-1029e.A1 phyCAM with phyBOARD-Pollux i.MX 8M Plus Getting Started Guide Open the lock of the 30-pin FFC connector on the camera by lifting the lock upwards. phyCAM-M Flip Lock – FCC Socket Camera Connection Plug the 30-pin FFC cable into the FFC socket with the contact surfaces facing downwards until you feel the stop.
  • Page 10: Supported Camera Boards (Yocto Linux Pd21.1.1 And Higher)

    Manuals & Documentation  –  L-1029e.A1 phyCAM with phyBOARD-Pollux i.MX 8M Plus Getting Started Guide 5 Supported Camera Boards (YOCTO Linux PD21.1.1 and higher) The cameras and the camera interface are supported as sub-devices. To configure the v4l2 framework is the handler "media-ctl"...
  • Page 11: How To Change The Device Tree

    Manuals & Documentation  –  L-1029e.A1 phyCAM with phyBOARD-Pollux i.MX 8M Plus Getting Started Guide • VM-016-BW-M series (VM-016-BW-M, VM-016-BW-M-M12, VM-016-BW-M-H, …) based on camera sensor “AR0144” • VM-016-COL-M series (VM-016-COL-M, VM-016-COL-M-M12, VM-016-COL-M-H, …) based on camera sensor “AR0144" • VM-116-BW-M series (VM-116-BW-M, VM-116-BW-M-M12, …) based on camera sensor “AR0144”...
  • Page 12 Manuals & Documentation  –  L-1029e.A1 phyCAM with phyBOARD-Pollux i.MX 8M Plus Getting Started Guide VM-016-__-L (- X12 on phyCAM 0x10, 0x10 imx8mp-phyboard-pollux-rdk- M12/-H) Pollux 0x18 vm016-csi2.dtb (driver must be loaded via modprobe) VZ-018 VM-_16-__-M (- phyCAM 0x10, 0x10 imx8mp-phyboard-pollux-rdk- M12/-H) and...
  • Page 13: How To Activate The Vm-017/Vm-117 Camera Series

    Manuals & Documentation  –  L-1029e.A1 phyCAM with phyBOARD-Pollux i.MX 8M Plus Getting Started Guide * When both camera interfaces are used simultaneously, each supports maximum resolution up to 1080p (1936x1188). E.g. two VM-017 camera boards can only be used up to maximum resolution up to 1080p (1936x1188).
  • Page 14: Demo Scripts

    Manuals & Documentation  –  L-1029e.A1 phyCAM with phyBOARD-Pollux i.MX 8M Plus Getting Started Guide Demo Scripts If you want to see the live images, we recommend using a HDMI monitor on the Pollux Board. There are 3 subdirectories with demo scripts for the cameras: •...
  • Page 15: Scripts To Call C/C++ Files Based On V4L2 Interface

    Manuals & Documentation  –  L-1029e.A1 phyCAM with phyBOARD-Pollux i.MX 8M Plus Getting Started Guide Call of “colcam-fbdev_1280x720.sh” for VM-016-COL (AR0144) series (A live image should show on the display) All camera/video components get a separate "dev/v4l-subdev[x]" device. The v4l2 capabilities are shown if you type: "v4l2-ctl -d [device] -L" e.g. "v4l2-ctl -d /dev/v4l-subdev1 -L".
  • Page 16: Opencv Scripts

    Manuals & Documentation  –  L-1029e.A1 phyCAM with phyBOARD-Pollux i.MX 8M Plus Getting Started Guide 6.3 OpenCV Scripts PHYTEC i.MX 8M Plus BSP PD21.1.0 includes OpenCV4.4.  To use OpenCV with image output, we use window manager Wayland. PHYTEC tested OpenCV with PYTHON programming language.  Examples of scripts can be found in the path “opencv-examples”:...
  • Page 17: Configure Camera And Controller Camera Interface With "Media-Ctl

    Manuals & Documentation  –  L-1029e.A1 phyCAM with phyBOARD-Pollux i.MX 8M Plus Getting Started Guide 7 Configure Camera and Controller Camera Interface with “media-ctl” Modern System-on-Chip (SoC) devices support a wide range of functionality in the way of internal hardware blocks which has resulted in a variety of ways to interconnect functions within the SoC that alter the V4L device content.
  • Page 18 Manuals & Documentation  –  L-1029e.A1 phyCAM with phyBOARD-Pollux i.MX 8M Plus Getting Started Guide First, we set the links: media-ctl -r media-ctl -l "'ar0144 2-0010':0->'mxc-mipi-csi2.0':0[1]" media-ctl -l "'mxc-mipi-csi2.0':4->'csi':0[1]" media-ctl -l "'mxc_isi.0':12->'mxc_isi.0.capture':0[1]" #           Camera -> mxc-mipi-csi2.0 -> mxc_isi.0 -> mxc_isi.0.capture (/dev/videoX) Video path VM-016 (AR0144)                  ...
  • Page 19 Manuals & Documentation  –  L-1029e.A1 phyCAM with phyBOARD-Pollux i.MX 8M Plus Getting Started Guide  “media-ctl –p” Output Now the camera is present at “dev/video0” device. The camera is ready for access. Configure Camera and Controller Camera Interface with “media-ctl” –  19...
  • Page 20: Camera Features Configuration

    Manuals & Documentation  –  L-1029e.A1 phyCAM with phyBOARD-Pollux i.MX 8M Plus Getting Started Guide 8 Camera Features Configuration 8.1 v4l2-ctl Configuration To set the various camera functions (e.g. exposure, gain, ...) use please the v4l2-ctl functions. You can get an overview of the existing functions by entering the commands: •...
  • Page 21: Bayering (Demosaicking) With Neon Coprocessor

    It is better to use the NEON coprocessor of the i.MX 8M Plus. It is available as a GStreamer plugin "bayer2rgbneon" and in sources for use in an own C-program. PHYTEC supports a simple bilinear algorithm. The algorithm is very efficient and converts nearly in real-time.
  • Page 22: Revision History

    Manuals & Documentation  –  L-1029e.A1 phyCAM with phyBOARD-Pollux i.MX 8M Plus Getting Started Guide 10 Revision History Date Version Numbers Changes in this Manual 08.07.2021 L-1029e.A0 Preliminary Manual 28.10.2021 L-1029e.A1 Software updates Revision History –  22...

Table of Contents