Note

This is the documentation for the latest development branch and may refer to features that are not available in released versions. If you are looking for the documentation for a specific release, use the drop-down menu on the left and select the desired version.

RTOS Sensor Support List#

Supported Sensors#

The current SDK includes built-in driver support for a variety of sensors:

Note: The support list is continuously updated with each SDK release.

  • GC2093: 1920×1080@30, 1920×1080@60, 1280×960@90, 1280×720@90

  • OV5647: 2592×1944@10, 1920×1080@30, 1280×960@45, 1280×720@60, 640×480@90

  • SC132GS: 1080×1200@30, 640×480@30

  • XS9950: 1280×720@30

  • BF3238: 1920×1080@30, 1280×960@30

  • IMX335: 1920×1080@30, 2592×1944@30

Sensor Usage Guide (RTOS)#

How to enable a specific sensor driver in the kernel?#

Although the SDK ships with driver code for many sensor models, only a small subset of commonly used models are enabled by default in the hardware configuration file — enabling all drivers would increase firmware size and degrade system performance. You can compile custom firmware to enable the sensors you need:

How to check which sensors are supported in the current firmware?#

On an RTOS system, run the list_sensor command to see all cameras and modes supported by the current firmware:

list_sensor

Download the RTOS SDK#

How to Validate a Specific Sensor on the RTOS Application Layer#

  1. Confirm the sensor driver is enabled and rebuild + flash the SDK.

  2. On the board, confirm the sensor and mode:

list_sensor
  1. Choose a sample program related to camera capture (e.g. vicap / sensor):

./mpp/<your_sensor_sample>.elf

If the sample name in your image differs, use the find command output as the reference.

Reference (CanMV Python, for CanMV Firmware Only)#

If you are using CanMV firmware (not RTOS-only), the following Python usage applies:

from media.sensor import *

sensor = Sensor(id=2, width=800, height=600, fps=30)
  • id: the CSI number matching the physical MIPI CSI connection for your sensor

  • width, height, fps: must match a resolution and frame rate listed in the table above

Comments list
Comments
Log in