=
mevqb`=jÉëëíÉÅÜåáâ=dãÄe=
=
«=mevqb`=jÉëëíÉÅÜåáâ=dãÄe=OMOM= = N=L=NU=
pìééçêí=eçíäáåÉ=bìêçéÉWW=HQV=ESNPNF=VOONJ ●PN==ÜííéWLLïïïKéÜóíÉÅKÇÉ=
pìééçêí=eçíäáåÉ=kçêíÜ=^ãÉêáÅ~W==NJUMMJOTUJ ●VVNP==ÜííéWLLïïïKéÜóíÉÅKÅçã=
Application Note
How to use phyCAM camera modules with phyCORE-i.MX 8M Mini SBC on phyBOARD Polis
Revision History
Version Changes Author Date
A0 Initial Release H. Fendrich 02.03.2021
A1 Insert chapter 1 and 2 H. Fendrich 31.03.2021
Content
1 Introduction ......................................................................................................................................................................................................................................... 2
2 SBC Kit Start-Up ................................................................................................................................................................................................................................. 2
2.1 Connecting and Starting the Camera .......................................................................................................................................................................................... 2
3 Overview ............................................................................................................................................................................................................................................. 3
4 Camera Connectors on the Polis - Carrier Boards ............................................................................................................................................................................. 6
4.1 Connecting the phyCAM-M Camera ............................................................................................................................................................................................ 7
5 Supported camera boards (YOCTO Linux PD21.1.0 and higher) ...................................................................................................................................................... 8
5.1 Supported camera types in standard vision image (phytec-vision-image-phyboard-polis-imx8mm-3) ....................................................................................... 8
5.2 Change the camera types in standard vision image (phytec-vision-image-phyboard-polis-imx8mm-3) ..................................................................................... 9
6 Demo scripts ..................................................................................................................................................................................................................................... 11
6.1 GStreamer scripts ...................................................................................................................................................................................................................... 11
6.2 Scripts to call C/C++ files based on v4l2 interface .................................................................................................................................................................... 13
6.3 OpenCV scripts .......................................................................................................................................................................................................................... 13
7 Configure camera and controller-camera-interface with “media-ctl” ................................................................................................................................................. 13
8 Configuration of camera features ...................................................................................................................................................................................................... 17
8.1 Configuration with v4l2-ctl .......................................................................................................................................................................................................... 17
8.2 Configuration camera register direct ......................................................................................................................................................................................... 17
9 De-Bayering (demosaicking) with NEON CoProcessor .................................................................................................................................................................... 17