Skip to main content

TechNexion TEVS Cameras on ASRock Industrial IMB-1250M-WV

Introduction

This article explains how to enable TechNexion TEVS Cameras on the ASRock Industrial IMB-1250M-WV platform. It covers the steps and configuration required to integrate TEVS Cameras with the ASRock Industrial IMB-1250M-WV platform.

Hardware Installation Instructions

Supported Cameras

Camera SeriesProducts
TEVS Series
TEVS-AR0144
TEVS-AR0145
TEVS-AR0234
TEVS-AR0235
TEVS-AR0246
TEVS-AR0521
TEVS-AR0522
TEVS-AR0544
TEVS-AR0821
TEVS-AR0822
TEVS-AR0830
TEVS-AR1335
TEVS-AR2020

More Camera Products Details...

Hardware Settings

Video

Software Installation Instructions

BIOS Configurations

Configure the camera settings in the BIOS first. Follow the steps below.

  1. Power on the ASRock Industrial IMB-1250M-WV device and press the F2 or Delete key to enter the BIOS setup.

  2. Use the arrow keys to navigate to Intel Advanced Menu -> Power & performance -> CPU - Power Management Control and set C states to Disabled.

  3. Use the arrow keys to navigate to Intel Advanced Menu -> System Agent (SA) Configuration -> MIPI Camera Configuration and set CVF/CVS Support to Disabled.

  4. Use the arrow keys to navigate to Intel Advanced Menu -> System Agent (SA) Configuration -> MIPI Camera Configuration.

  5. Enable Control Logic 1 to show Control Logic options.

  6. Set up Control Logic 1 according to the table below.

Control Logic 1 Options

OptionsParameter
Control Logic Type<Discrete>
CRD Version[CRD-D]
Input Clock<20 MHz>
PCH Clock Source<IMGCLKOUT_2>
Number of GPIO Pins[1]
GPIO 0
Group Pad Number[23]
Group Number<D_E_F_V>
Com number<COM0>
Function<Reset>
Active Value[1]
Initial Value[0]
  1. Enable Camera 1 to show Link options.

  2. Set up the Camera 1 link options according to the table below.

Camera 1 Link Options

OptionsParameter
Sensor Model<User Custom>
Custom HIDTN_TEVS
Lanes Clock division<4 4 2 2>
CRD Version<CRD-D>
GPIO control<Control Logic 1>
Camera position<back>
Flash Support<Driver default>
Privacy LED<Driver default>
Rotation<0>
Camera module nametevs
MIPI port[4]
LaneUsed<x4>
MCLK[19200000]
EEPROM Type<ROM_NONE>
VCM Type<VCM_NONE>
Number of I2C Components[1]
I2C Channel<I2C0>
Device 0
I2C Address[48]
Device Type<Sensor>
Customize Device ID List
Customize Device1 ID Number[17]
Customize Device1 ID Number[18]
Customize Device1 ID Number[19]
Flash Driver Selection<Disabled>

OS Configurations

Install Ubuntu 24.04. You can download it from the following website.

Download latest LTS Ubuntu 24.04

Camera Drivers Installation

After installing and setting up Ubuntu 24.04, please follow the steps below to complete the Camera Driver installation.

  1. Download the driver packages to the device.

Download DEB Packages

You can use the following command to download the packages:

wget https://download.technexion.com/demo_software/EVK/Intel/ARL/release/intel-cam-setup-asr-rel.tar.gz
  1. Extract the file and run the install.sh script to install the camera driver packages.
tar xf intel-cam-setup-asr-rel.tar.gz
cd intel-cam-setup/
./install.sh
  1. After the installation is complete, reboot the device and make sure the kernel version is updated to 6.12.48-tn-intel-rel260313.
$ uname -r
6.12.48-tn-intel-rel260313

Enable Cameras

Use the test script to enable the camera.

cd intel-cam-setup/test/
./launch_video_pipeline.sh # run the command to enable cameras

By default, it enables TEVS-AR0144 with a resolution of 640x480. To enable other cameras or resolutions, run the following command:

./launch_video_pipeline.sh  <cam_type> <resolution> <format>

For example:

  1. Enable TEVS-AR0234 on CAM with a resolution of 1920x1080:
./launch_video_pipeline.sh  tevs-ar0234 1920x1080 UYVY
  1. Enable TEVS-AR0234 on CAM with a resolution of 1280x720:
./launch_video_pipeline.sh  tevs-ar0234 1280x720 UYVY