Phytec phyCAM Скачать руководство пользователя страница 1

 

=

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 

 

Introduction ......................................................................................................................................................................................................................................... 2 

SBC Kit Start-Up ................................................................................................................................................................................................................................. 2 

2.1 

Connecting and Starting the Camera .......................................................................................................................................................................................... 2 

Overview ............................................................................................................................................................................................................................................. 3 

Camera Connectors on the Polis - Carrier Boards ............................................................................................................................................................................. 6 

4.1 

Connecting the phyCAM-M Camera ............................................................................................................................................................................................ 7 

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 

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 

Configure camera and controller-camera-interface with “media-ctl” ................................................................................................................................................. 13 

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

 

 

 

Содержание phyCAM

Страница 1: ...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...

Страница 2: ...and lenses we offer ready made kits If the combination you require is not available we recommend that you first put a similarly equipped kit into operation and then connect the camera you require to t...

Страница 3: ...the first steps of the Quick Start Instructions of the respective kit To start the scripts on the module follow the steps to establish a serial connection with the module You can use the terminal pro...

Страница 4: ...onnector X3 On the PHYTEC or customer carrier boards can the interfaces are led out as phyCAM M For more information to phyCAM M see the phyCAM Manuals on PHYTEC Homepage On the phyBOARD Polis baseboa...

Страница 5: ...ad and the go out on the phyBOARD Polis i MX 8M Mini SBC The BSP shipped with the Kit includes already the software drivers for the supported phyCAM M camera modules The drivers are compatible with v4...

Страница 6: ...The phyCORE i MX 8M Mini is direct soldering on carrier board On the base board Polis PB 02820 we convert the MIPI CSI 2 interfaces in phyCAM M standard phyCAM M camera interface 1 support on connecto...

Страница 7: ...the kit This ensures the correct signal assignment between the camera and the baseboard in the kit The position of the camera socket on the baseboard can be found in the hardware manual of the kit Pa...

Страница 8: ...he image 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 After...

Страница 9: ...rdware Configuration Possible Parameters default I C address default jumper on camera and boards phyCAM camera model part number connected to csi_port cam_bus_type cam_type cam_i2c_address VM 017 BW M...

Страница 10: ...NU p e b WW HQV ESNPNF VOONJ PN WLL K K p e k W NJUMMJOTUJ VVNP WLL K K figure 6 output after load VM 017 117 driver AR052x Now the VM 0x17 driver AR052x is ready for use Now you can start working wit...

Страница 11: ...connected camera color type _cam fbdev_1280x720 sh scripts show a livestream on display _cam save_jpg_full_res sh scripts save a JPG File in this directory _cam save_raw_full_res sh scripts save a RA...

Страница 12: ...016 COL AR0144 series A live image should show on the display All camera video components get a separate dev video x or dev v4l subdev x device The v4l2 capabilities are showed if you type v4l2 ctl d...

Страница 13: ...st use the camera and controller camera interface must be configured with the tool v4l2 ctl See chapter 7 6 3 OpenCV scripts PHYTEC i MX 8M Mini BSP PD21 1 0 includes OpenCV4 4 For use OpenCV with ima...

Страница 14: ...de available as dev videox device The settings are necessary once after restarting the system and using the camera for the first time set a new resolution color format or bit depth set a new path thro...

Страница 15: ...csi 0 1 media ctl l csi 1 csi capture 0 1 Camera imx7_mipi_csis 0 CSI CSI capture dev videoX figure 8 video path VM 016 AR0144 video path VM 017 AR052x Then we formats the hardware blocks media ctl V...

Страница 16: ...j d e mevqb j d e OMOM NS L NU p e b WW HQV ESNPNF VOONJ PN WLL K K p e k W NJUMMJOTUJ VVNP WLL K K figure 9 Output media ctl p Now the Camera is present at dev video0 device The camera is ready for...

Страница 17: ...trl auto_exposure 1 set AR0144 AEC off v4l2 ctl d dev video0 set ctrl exposure 800 set the exposure time for a time that the sensor need to generate 800 rows 8 2 Configuration camera register direct T...

Страница 18: ...l processing power and the framerate goes down It is better to use the NEON coprocessor of the i MX 8M Mini For this support PHYTEC a special function It is present as GStreamer plugin bayer2rgbneon a...

Отзывы: