Skip to main content

TechNexion Cameras on Intel Panther Lake CRB

Introduction

This article explains how to enable TechNexion TEVS Cameras on the Intel Panther Lake CRB platform. It covers the required BIOS, OS, driver, and camera preview configuration for TEVS Cameras on Intel Panther Lake CRB.

Hardware Installation Instructions

Supported Cameras List

Camera SeriesProducts
TEVS
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
Camera Sensor Comparison

More Camera Products Details...

Software Installation Instructions

BIOS Configurations

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

  1. Power on the Intel Panther Lake CRB device and press the F2 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 and Control Logic 2 to show Control Logic options.

  6. Set up Control Logic 1 and Control Logic 2 according to the tables 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]

Control Logic 2 Options

OptionsParameter
Control Logic Type<Discrete>
CRD Version[CRD-D]
Input Clock<19.2 MHz>
PCH Clock Source<IMGCLKOUT_0>
Number of GPIO Pins[1]
GPIO 0
Group Pad Number[0]
Group Number<A_B_H_S>
Com number<COM3>
Function<Reset>
Active Value[1]
Initial Value[0]
  1. Enable Camera 1 and Camera 2 to show Link options.

  2. Set up the Camera 1 and Camera 2 link options according to the tables 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>
PPR Value[4]
PPR Unit[2]
Camera module nametevs
MIPI port[0]
LaneUsed<x4>
MCLK[19200000]
EEPROM Type<ROM_NONE>
VCM Type<VCM_NONE>
Number of I2C Components[1]
I2C Channel<I2C1>
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>

Camera 2 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 2>
Camera position<back>
Flash Support<Driver default>
Privacy LED<Driver default>
Rotation<0>
Voltage Rail<3 voltage rail>
PPR Value[4]
PPR Unit[2]
Camera module nametevs
MIPI port[2]
LaneUsed<x2>
MCLK[19200000]
EEPROM Type<ROM_NONE>
VCM Type<VCM_NONE>
Number of I2C Components[1]
I2C Channel<I2C2>
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/PTL/release/tn-camera-ptl.tar.gz
  1. Next, extract the file and run the install.sh script to install the camera driver packages.
tar xf tn-camera-ptl.tar.gz && sudo ./tn-camera-ptl/install.sh
  1. After installation is complete, reboot the device and verify the installed kernel version.
$ uname -r
6.17.0-tn-ptl-260128t080735z

Enable Cameras

Use the test script to enable cameras.

launch_video_pipeline_ptl.sh <cam_type> <resolution> <format>

The current PTL configuration maps tevs-ar0144, tevs-ar0145, tevs-ar0234, and tevs-ar0521 to port 0. It maps tevs-ar0522, tevs-ar0821, tevs-ar0822, and tevs-ar1335 to port 2. The camera port is selected by the PTL configuration, so the launch command uses the sensor name only.

For example:

  1. Enable TEVS-AR0144 on port 0 with a resolution of 1280x720:
launch_video_pipeline_ptl.sh tevs-ar0144 1280x720 UYVY
  1. Enable TEVS-AR0821 on port 2 with a resolution of 1920x1080:
launch_video_pipeline_ptl.sh tevs-ar0821 1920x1080 UYVY
  1. Enable TEVS-AR1335 on port 2 with a resolution of 4208x3120:
launch_video_pipeline_ptl.sh tevs-ar1335 4208x3120 UYVY