Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
85 views28 pages

e-CAM313 CUMI031C MOD MCU Protocol App Note Rev 1 2

This document provides information about the e-CAM313_CUMI031C_MOD camera module, including its description, maximum supported frame rates, camera operation sequence for communicating with the microcontroller (MCU), streaming operation sequence for starting and stopping streaming, available MCU commands, and controls for settings like brightness, contrast, etc. It is intended to help developers integrate the camera module by explaining the I2C protocol used to communicate with the MCU.

Uploaded by

Kumar SSM
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
85 views28 pages

e-CAM313 CUMI031C MOD MCU Protocol App Note Rev 1 2

This document provides information about the e-CAM313_CUMI031C_MOD camera module, including its description, maximum supported frame rates, camera operation sequence for communicating with the microcontroller (MCU), streaming operation sequence for starting and stopping streaming, available MCU commands, and controls for settings like brightness, contrast, etc. It is intended to help developers integrate the camera module by explaining the I2C protocol used to communicate with the MCU.

Uploaded by

Kumar SSM
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 28

e-

CAM313_CUMI031C
_MOD

MCU Protocol Application Note

Version 1.2
e-con Systems
11/8/2023
Disclaimer

The specifications and features of e-CAM313_CUMI031C_MOD camera board are


provided here as reference only and e-con Systems reserves the right to edit/modify
this document without any prior intimation of whatsoever.

© Copyright e-con Systems. 2023. All rights reserved. 1


Contents

INTRODUCTION TO E-CAM313_CUMI031C_MOD 4

DESCRIPTION 4
MAXIMUM FRAME RATE SUPPORTED 4

CAMERA OPERATION SEQUENCE 6

HOST PROCESSOR TO MCU TRANSACTION 6


MCU TO HOST PROCESSOR TRANSACTION 6

STREAMING OPERATION SEQUENCE 7

STREAMING START SEQUENCE 7


STREAMING STOP SEQUENCE 9
CHANGING CONTROL VALUES 9
CHANGING STREAMING RESOLUTION 10

MCU COMMAND OVERVIEW 11

MCU I2C SLAVE ADDRESS 11


TYPES OF CAMERA COMMANDS 11
LIST OF CAMERA COMMANDS 11
LIST OF CAMERA FORMATS 12
LIST OF RETURN CODES 13
LIST OF COMMAND STATUS CODES 13
CAMERA STATUS CODES 13
MCU STATUS CODES 14

MCU COMMAND DESCRIPTION 15

STATUS COMMAND 15
CONFIGURE COMMAND 15
QUERY-REPLY COMMAND 17

CONTROLS OF E-CAM313_CUMI031C_MOD 19

BRIGHTNESS CONTROL 19
SETTING (WRITE) BRIGHTNESS VALUE 20
GETTING (READ) BRIGHTNESS VALUE 20
CONTRAST CONTROL 20

© Copyright e-con Systems. 2023. All rights reserved. 2


SETTING (WRITE) CONTRAST VALUE 20
GETTING (READ) CONTRAST VALUE 20
SATURATION CONTROL 20
SETTING (WRITE) SATURATION VALUE 20
GETTING (READ) SATURATION VALUE 21
HUE CONTROL 21
SETTING (WRITE) SATURATION VALUE 21
GETTING (READ) SATURATION VALUE 21
SHARPNESS CONTROL 21
SETTING (WRITE) SHARPNESS VALUE 21
GETTING (READ) SHARPNESS VALUE 21
AUTO EXPOSURE CONTROL 22
SETTING (WRITE) EXPOSURE VALUE 22
GETTING (READ) EXPOSURE VALUE 22
EXPOSURE TIME ABSOLUTE CONTROL 22
FRAME SYNC CONTROL 23
SETTING (WRITE) FRAME SYNC VALUE 23
GETTING (READ) FRAME SYNC VALUE 23

WHAT'S NEXT? 24

GLOSSARY 25

SUPPORT 26

© Copyright e-con Systems. 2023. All rights reserved. 3


Introduction to e-
CAM313_CUMI031C_MOD
e-CAM313_CUMI031C_MOD is a low voltage, small form factor, high performance,
3.01 MP pluggable camera module with S-Mount lens holder. It is based on
automotive grade 1/2.42" ISX031-AAQV-W CMOS image sensor from Sony®. The
standard S-Mount lens holder can accommodate a wide range of lenses based on
the customer choice.

This document is intended for developers who may try to integrate e-con Systems e-
CAM313_CUMI031C_MOD with any host system other than what is supported by e-
con Systems directly. This also provides a detailed understanding of the I2C based
protocol used by the host application processor, for communicating with the
microcontroller provided as part of the e-con Systems e-CAM313_CUMI031C_MOD
camera.

Description
e-CAM313_CUMI031C_MOD is a small, low-power, high performance 3.01 MP
camera module with a built-in ISP. The camera module is based on an automotive-
grade 1/2.42" ISX031-AAQV-W CMOS image sensor from Sony® which is specially
designed to work in automotive grade temperature range of - 40°C to +80°C
ambient. The ISX031-AAQV-W is a 1/2.42" optical form-factor, CMOS image sensor
with an electronic rolling shutter. It can stream 1920 x 1536 and 1920 x 1080 at 30
and 60 fps in uncompressed UYVY format.

The camera module contains on-board microcontroller. The microcontroller will act
as a mediator between image sensor and processor to tune/set the camera
parameters. The microcontroller can be accessed through standard I2C interface and
some GPIOs terminated to control microcontroller firmware update mode.

The MCU protocol corresponding to the 32-byte MCU Firmware Version ID is


ISX031GMSLXXX01110e5e8627XXXXXXX.

Note: This MCU Firmware Version is subject to get updated in the future.

Maximum Frame Rate Supported


The following table lists the maximum frame rate supported.

© Copyright e-con Systems. 2023. All rights reserved. 4


Table 1: Maximum Frame Rate Supported

Format Resolution Frame Rate (fps)


UYVY 1920 x 1536 60 fps, 30 fps
UYVY 1920 x 1080 60 fps, 30 fps
Note: The frame rates listed in the above table varies based on platform capability.

© Copyright e-con Systems. 2023. All rights reserved. 5


Camera Operation Sequence
This section describes the basic operation for initiating the stream sequence and
control values using MCU.

The basic operation for initiating the stream sequence is explained below:

• Host processor refers to the application processor, for example, NVIDIA® Jetson
Orin™ or FX3 processors will act as I2C Master throughout this protocol.
• MCU acts as I2C Slave in this entire protocol.
• The I2C Master always initializes every transaction.
• Length of the byte sequence between the MCU and host processor is either
constant or pre-negotiated for each transaction.

Host Processor to MCU Transaction


If a transaction is from host processor to MCU, the host processor will perform the
following I2C sequence:

• I2C start condition.


• 7-bit slave address of MCU.
• Write bit.
• Host processor provides data according to the byte sequence defined for that
specific command. For more details, please refer to the MCU Command
Overview section.
• I2C stop condition.

MCU to Host Processor Transaction


If a transaction is from MCU to host processor, the host processor will perform the
following I2C sequence:

• I2C start condition.


• 7-bit slave address of MCU.
• Read bit.
• MCU will provide data according to the byte sequence specified in the
command.
• I2C stop condition.
Checksum

The checksum is calculated by performing bitwise XOR of the payload data which is
not same as the traditional checksum.

© Copyright e-con Systems. 2023. All rights reserved. 6


Streaming Operation Sequence
The following section illustrates the basic operation for initiating the stream
sequence and control values using MCU.

The following table lists the legend and its description used in the flowchart.

Table 2: Legend and its Description

Legend Description

Start or Stop

MCU Command Block

Process Block

Decision Block

Streaming Start Sequence


To start streaming, the sequences to be performed are as follows:

1. Send Init Camera command through I2C interface.


2. Send Get Command Status command sequence through I2C interface
repeatedly, until the return status code is 0x0000.
3. Send Stream Configure command with desired frame format, width, height and
frame rate.
4. Send Get Command Status command sequence through I2C interface
repeatedly, until the return status code is 0x0000.
5. Send Stream ON command to initiate streaming with updated stream
configurations.
6. Send Get Command Status command sequence through I2C interface
repeatedly, until the return status code is 0x0000.

The flowchart of streaming start sequence is shown below.

© Copyright e-con Systems. 2023. All rights reserved. 7


Figure 1: Flowchart of Streaming Start Sequence

© Copyright e-con Systems. 2023. All rights reserved. 8


Streaming Stop Sequence
To stop streaming, the sequences to be performed are as follows:

1. Send Stream OFF command through I2C interface.


2. Send Get Command Status command sequence through I2C interface
repeatedly, until the return status code is 0x0000.
3. Send De-Init Camera command through I2C interface.
4. Send Get Command Status command sequence through I2C interface
repeatedly, until the return status code is 0x0000.

The flowchart of streaming stop sequence is shown below.

Figure 2: Flowchart of Streaming Stop Sequence

Changing Control Values


To change the control values, the sequence to be followed are as follows:

1. Ensure whether the camera is in streaming state, by performing the sequence of


Streaming Start Sequence section.
2. Send Set Control Value command with desired control index, and ID value.

© Copyright e-con Systems. 2023. All rights reserved. 9


3. Send Get Command Status command sequence through I2C interface
repeatedly, until the return status code is 0x0000.

The flowchart of changing control values is shown below.

Figure 3: Flowchart of Changing Control Values

Changing Streaming Resolution


To change the streaming resolution, the sequences to be performed are as follows:

1. Follow the steps of Streaming Stop Sequence section if the streaming is already
started.
2. Follow the steps of Streaming Start Sequence section with the desired stream
configuration.

© Copyright e-con Systems. 2023. All rights reserved. 10


MCU Command Overview
This section describes all the commands transferred between the host processor
and the MCU, and the return values from the MCU to the Host processor.

MCU I2C Slave Address


MCU has an I2C slave address of 0x42, which is 7-bit addressing mode.

Note: The above address is required for all the transactions.

Types of Camera Commands


The different types of camera commands are as follows:

• Status Command
• Configure Command
• Query-Reply Command

The following table lists the types of MCU commands.

Table 3: Types of MCU Commands

Types of MCU Commands Description


Status Get Command Status
Init Camera
De-Init Camera
Stream ON
Stream OFF
Configure Configure Stream
Set Control Value
Cam Power Down
Cam Wake Up
PWM Configuration
Get Firmware Version
Get Stream Info
Query-Reply
Get Control Info
Get Control Value

List of Camera Commands


The following table lists and describes all the camera commands that are supported
by MCU in e-CAM313_CUMI031C_MOD.

© Copyright e-con Systems. 2023. All rights reserved. 11


Table 4: List of Camera Commands

Query
S.NO Command Description Command
ID (Hex)
This command is used to get the
1 Get MCU F/W Version 0x00
actual FW version in the MCU.
This command is used to
initialize the camera by
changing state of hardware pins
2 Init Camera 0x04
and writing appropriate settings
to the camera. This command
returns immediately.
This command is used to query
the status of any executed
command. Additionally, it will
3 Get Command Status return the current status of 0x05
camera (Idle, Busy, and so on)
and the hardware specific
errors with respect to MCU.
This command is used to de-
initialize the camera by
4 De-Init Camera changing the state of hardware 0x06
pins and writing the necessary
configuration settings.
This command is used to allow
5 Stream ON camera to exit from standby 0x07
mode and returns immediately.
This command is used to allow
6 Stream OFF camera to enter into standby 0x08
mode and returns immediately.
This command is used to set the
format, width, height and frame
7 Configure Stream rate in the camera. The valid 0x09
values are specified by Get
Stream Info command.
This command is used to get the
value of any control
8 Get Control Value 0x10
enumerated by Get Control Info
command.
This command is used to set the
value of any control
9 Set Control Value 0x11
enumerated by Get Control Info
command.

List of Camera Formats


The following table lists the camera format codes that are returned from the MCU to
the host processor as part of this protocol.

© Copyright e-con Systems. 2023. All rights reserved. 12


Table 5: List of Camera Formats

Format Code Description


0x59565955 YUV 4:2:2 (UYVY)

List of Return Codes


The following table lists all the return codes that are transmitted from the MCU to
the host processor as part of this protocol.

Table 6: List of Return Codes

Return Code Description


0x00 Success or Command Completed
0x01 Busy or Command in Progress
0x02 Invalid Argument
0x03 Permission Denied
0x04 Device Not Found
0x05 I/O Error between ISP and MCU
0x06 Hardware Specific Error
0x07 Try Again
0x08 Already in Effect
0x09 Not Implemented
0x0A Out of Range
0x0B - 0xFE Reserved
0xFF Unknown Failure
Note: For more details, please refer to the Status Command section.

List of Command Status Codes


The length of command status is 2-bytes. The command status code is returned by
the MCU to the host processor. The following table lists the command status code
and its description.

Table 7: List of Command Status Codes (General)

Command Status Code Description


0x0000 No error or Command Completed
0xF000 Command in Progress
Note: For more details, please refer to the Status Command section.

Camera Status Codes


The following table lists the error codes returned by the camera to the host
processor.

© Copyright e-con Systems. 2023. All rights reserved. 13


Table 8: List of Command Status Codes (ISP)

Command Status Code Description


0x0FF0 Camera is Powered Down
0x0FF1 Camera is Uninitialized
Note: For more details, please refer to the Status Command section.

MCU Status Codes


The following table lists the error codes which describe the enumerations of errors
specific to MCU.

Table 9: List of Command Status Codes (MCU)

Command Status Code Description


0x2001 Master I2C Init Error
0x2002 Master I2C Timeout
0x2003 Master I2C I/O Error
0x2004 SPI Init Error
0x2005 SPI Timeout Error
0x2006 SPI I/O Error
0x2007 USART Init Error
0x2008 Framework Error
0x2009 Slave I2C I/O Error
Note: The return values help in querying the current state of MCU. For more details,
please refer to the Status Command section.

© Copyright e-con Systems. 2023. All rights reserved. 14


MCU Command Description
This section explains the transactions handled from the MCU to the host processor
while processing the basic MCU commands.

Status Command
The status command is used to query the status of MCU using the Get Command
Status command. This command involves three transactions where the reply length
from MCU is always constant.

The transaction of status command is shown below.

0x43 0x05 0x00, 0x01 0x01


Transaction 1
(Host Payload Check Sum
Communication Command ID
Processor to Length (2 of Payload
ID (1 Byte) (1 Byte)
MCU) (Write) Bytes) (1Byte)
Transaction 2 0x43 0x05 0xFF
(Host
Communication Command ID Query Command ID
Processor to
ID (1 Byte) (1 Byte) (Payload length)
MCU) (Write)
0x43 0x05 0xXX 0xXX, 0xXX 0xXX 0xXX
Transaction 3
(MCU to Host Command
Command Check Return
Processor) Communication Command ID ID of Issued
Status Code (2 Sum (1 code (1
(Read) ID (1 Byte) (1 Byte) Command
Bytes) Byte) Byte)
(1 Byte)

Figure 4: Transaction of Status Command

Note:

• The command ID returned by the MCU in Transaction 3 corresponds to the


Command ID that was used prior to Get Command Status command.
• Please refer to the List of Command Status Codes section to know the various
command status codes returned by MCU.

Configure Command
The configure command is used for starting an operation in the sensor through
MCU. For example, Stream Config, Set Control Config, Init Cam and so on. This
command always returns immediately, while MCU executes the request in the
background. The status of the last issued command can be queried through the Get
Command Status command.

© Copyright e-con Systems. 2023. All rights reserved. 15


The configure command involves two transactions as shown below.

0x43 0xXX 0xXX, 0xXX 0xXX


Transaction 1 Communication Command ID Payload Checksum (1
(Write) ID (1 Byte) (1 Byte) Length (2 Byte)
Bytes)
0x43 0xXX 0xXX, 0xXX 0xXX
Transaction 2 Communication Command ID Payload Data Checksum (1
(Write) ID (1 Byte (1 Byte) (Payload Byte)
Length bytes)

Figure 5: Transaction of Configure Command

The following table lists the transaction values of configure command.

Table 10: Configure Command Transaction Values

Init De Init Stream Stream Configure Set Control


Transaction Packet
Camera Camera ON OFF Stream Value
Communication
0x43 0x43 0x43 0x43 0x43 0x43
ID
Command ID 0x04 0x06 0x07 0x08 0x09 0x11

Transaction Byte
0x00 0x00 0x00 0x00 0x00 0xXX, 0xXX
1 (Host Payload 1
(Based on
Processor to Length
Byte Control Index)
MCU) 0x00 0x00 0x00 0x00 0x0E
2
0xXX (Based
Checksum 0x00 0x00 0x00 0x00 0x0E on Control
Index)
Communication
0x43 0x43 0x43 0x43 0x43 0x43
ID
Command ID 0x04 0x06 0x07 0x08 0x09 0x11
14-byte
data
(Based on 0xXX (Based
Format on Control
Transaction
Index). For Index). For
2 (Host Payload - - - -
more more details,
Processor to
details, please refer
MCU)
please to Table 13
refer to
Table 11
0xXX
0xXX (Based
(Based on
Checksum - - - - on Control
Format
Type)
Index)
Note: Please traverse the above table from top to bottom.

© Copyright e-con Systems. 2023. All rights reserved. 16


The following table lists the details about the communication to the MCU from the
host, for configure stream.

Table 11: Configure Stream Payload Data

Payload Data in Bytes


Payload
Stream FourCC Frame Rate Frame Rate
Formats Width (2 Height Checksum
Index (2 Format (4 (Numerator) (Denominator)
B) (2 B) (1 B)
B) B) (2 B) (2 B)
0x59,
1920x1536 0x00, 0x07, 0x06,
0x56, 0x00, 0x1E 0x00, 0x01 0x9D
at 30 fps 0x00 0x80 0x00
0x59, 0x55
0x59,
1920x1536 0x00, 0x07, 0x06,
0x56, 0x00, 0x3C 0x00, 0x01 0xBE
at 60 fps 0x01 0x80 0x00
0x59, 0x55
0x59,
1920x1080 0x00, 0x07, 0x04,
0x56, 0x00, 0x1E 0x00, 0x01 0xA5
at 30 fps 0x02 0x80 0x38
0x59, 0x55
0x59,
1920x1080 0x00, 0x07, 0x04,
0x56, 0x00, 0x3C 0x00, 0x01 0x86
at 60fps 0x03 0x80 0x38
0x59, 0x55
Note: Please traverse the above table from left to right.

Query-Reply Command
The query-reply command is used to query information such as streaming formats,
controls and so on, from MCU. This command uses four transactions between the
host and MCU as shown below.

0x43 0xXX 0xXX 0xXX


Transaction
Communication Command ID Payload Length Checksum
1(Write)
ID (1 Byte) (1 Byte) (2 Bytes) (1 Byte)
0x43 0xXX 0xXX, 0xXX 0xXX
Transaction
Communication Command ID Payload Data (Payload Checksum
2 (Write)
ID (1 Byte) (1 Byte) Length) (1 Byte)
0x43 0xXX 0xXX, 0xXX 0xXX 0xXX
Transaction Return
Communication Command ID Reply Length (2 Checksum
3 (Read) Code (1
ID (1 Byte) (1 Byte) Bytes) (1 Byte)
Byte)
0x43 0x00 0xXX, 0xXX 0xXX 0xXX
Transaction Check Return
Communication Command ID
4 (Read) Reply Data (Reply Length) sum (1 code (1
ID (1 Byte) (1 Byte)
Byte) Byte)

Figure 6: Transaction of Query-Reply Command

The following table lists the transaction values of query-reply command.

© Copyright e-con Systems. 2023. All rights reserved. 17


Table 12: Query-Reply Command Transaction Values

Get Get
Transaction Packet Firmware Control
Version Value
Communication
0x43 0x43
Transaction 1 ID
(Host Command ID 0x00 0x10
Processor to Payload Byte 1 0x00 0x00
MCU) Length Byte 2 0x00 0x02
Checksum 0x00 0x02
Communication
0x43 0x43
ID
Transaction 2
Command ID 0x00 0x10
(Host
0xXX, 0xXX
Processor to
Payload Data - (Control
MCU)
Index)
Checksum - 0x00
Communication
0x43 0x43
ID
Transaction 3 Command ID 0x00 0x10
(MCU to Host Reply Byte 1 0x00 0x00
Processor) Length Byte 2 0x20 0x09
Checksum 0x20 0x09
Return Code 0x00 0x00
Communication
0x43 0x43
ID
Command ID 0x00 0x10
Based on
Transaction 4 Firmware Control
(MCU to Host Reply Data version - Index.
Processor) 32-bytes Refer to
Table 13
Based on Based on
Checksum
reply data reply data
Return Code 0x00 0x00
Note: Please traverse the above table from top to bottom.

© Copyright e-con Systems. 2023. All rights reserved. 18


Controls of e-CAM313_CUMI031C_MOD
This section describes the controls available in e-CAM313_CUMI031C_MOD, which
can be set or get through the MCU.

The controls available in e-CAM313_CUMI031C_MOD are as follows:

• Brightness
• Contrast
• Saturation
• Hue
• Sharpness
• Auto Exposure
• Frame Sync
The following table lists the get/set control payload data of e-
CAM313_CUMI031C_MOD.

Table 13: Get/Set Control Payload Data

Payload
Control Index
Control Name Control
(2B) Control ID (4B) Current Value (4B)
Type (1B)
Brightness 0x00 0x00 0x00 0x98 0x09 0x00 0x01 0xXX 0xXX 0xXX 0xXX
Contrast 0x00 0x01 0x00 0x98 0x09 0x01 0x01 0xXX 0xXX 0xXX 0xXX
Saturation 0x00 0x02 0x00 0x98 0x09 0x02 0x01 0xXX 0xXX 0xXX 0xXX
Hue 0x00 0x03 0x00 0x98 0x09 0x03 0x01 0xXX 0xXX 0xXX 0xXX
Sharpness 0x00 0x09 0x00 0x98 0x09 0x1B 0x01 0xXX 0xXX 0xXX 0xXX
Auto Exposure 0x00 0x0A 0x00 0x9A 0x09 0x01 0x01 0xXX 0xXX 0xXX 0xXX
Exposure time
0x00 0x0B 0x00 0x9A 0x09 0x02 0x01 0xXX 0xXX 0xXX 0xXX
absolute
Frame Sync 0x00 0x15 0x00 0x9A 0x09 0x2B 0x01 0xXX 0xXX 0xXX 0xXX
Note: Please traverse the above table from left to right.

Brightness Control
The brightness values can be changed from a minimum value of -17 to 16. This
control increases the low light performance of e-CAM313_CUMI031C_MOD. The
default value is 0.

Range: -17 (0x0000FFEF) to 16 (0x00000010)

Data Type: 32-bit signed integer

Control ID: 0x00980900

© Copyright e-con Systems. 2023. All rights reserved. 19


Setting (Write) Brightness Value
MCU Command type: Configuration command. You can refer to the Set Control
Value of Table 10.

Getting (Read) Brightness Value


MCU Command type: Query-reply command. You can refer to the Get Control Value
of Table 12.

Contrast Control
The contrast values can be changed from a minimum value of 0 to 255. Increasing
the value of contrast control increases the luminance of e-
CAM313_CUMI031C_MOD. The default value is 128.

Range: 0 (0x00000001) to 255 (0x000000FF)

Data Type: 32-bit unsigned integer

Control ID: 0x00980901

Setting (Write) Contrast Value


MCU Command type: Configuration command. You can refer to the Set Control
Value of Table 10.

Getting (Read) Contrast Value


MCU Command type: Query-reply command. You can refer to the Get Control Value
of Table 12.

Saturation Control
The saturation values can be changed from a minimum value of 0 to 255. Increasing
the value of saturation control increases the intensity of the color of e-
CAM313_CUMI031C_MOD. The default value is 128.

Range: 0 (0x00000000) to 255 (0x000000FF)

Data Type: 32-bit unsigned integer

Control ID: 0x00980902

Setting (Write) Saturation Value


MCU Command type: Configuration command. You can refer to the Set Control
Value of Table 10.

© Copyright e-con Systems. 2023. All rights reserved. 20


Getting (Read) Saturation Value
MCU Command type: Query-reply command. You can refer to the Get Control Value
of Table 12.

Hue Control
The hue values can be changed from a minimum value of 0 to 255. Increasing the
value of hue control increases the intensity of the color of e-
CAM313_CUMI031C_MOD. The default value is 2.

Range: 0 (0x00000000) to 255 (0x000000FF)

Data Type: 32-bit unsigned integer

Control ID: 0x00980903

Setting (Write) Saturation Value


MCU Command type: Configuration command. You can refer to the Set Control
Value of Table 10.

Getting (Read) Saturation Value


MCU Command type: Query-reply command. You can refer to the Get Control Value
of Table 12.

Sharpness Control
The sharpness values can be changed from a minimum value of 0 to 255. This
control increases the image clarity of e-CAM313_CUMI031C_MOD. The default
value is 64.

Range: 0 (0x00000001) to 255 (0x000000FF)

Data Type: 32-bit unsigned integer

Control ID: 0x0098091B

Setting (Write) Sharpness Value


MCU Command type: Configuration command. You can refer to the Set Control
Value of Table 10.

Getting (Read) Sharpness Value


MCU Command type: Query-reply command. You can refer to the Get Control Value
of Table 12.

© Copyright e-con Systems. 2023. All rights reserved. 21


Auto Exposure Control
e-CAM313_CUMI031C_MOD supports auto and manual controls. The default
exposure mode is set to Auto Exposure Mode.

Values: 0x00000000 (Auto Mode)

0x00000001 (Manual Mode)

Data Type: 32-bit unsigned integer

Control ID: 0x009A0901

Setting (Write) Exposure Value


MCU Command type: Configuration command. You can refer to the Set Control
Value of Table 10.

Getting (Read) Exposure Value


MCU Command type: Query-reply command. You can refer to the Get Control Value
of Table 12.

Exposure Time Absolute Control


The exposure time absolute control is used to set the absolute exposure time for e-
CAM313_CUMI031C_MOD. This control can be enabled only when exposure control
is set to manual mode (1).

When exposure time is changed, the frame rate varies accordingly. The values range
from 1500 to 133000. The default value is 33ms.

Values: 1500 (0x000005DC) to 133000 (0x00020788)

Data Type: 32-bit unsigned integer

Control ID: 0x009A0902

Setting (Write) Manual Exposure Value


MCU Command type: Configuration command. You can refer to the Set Control
Value of Table 10.

Getting (Read) Manual Exposure Value


MCU Command type: Query-reply command. You can refer to the Get Control Value
of Table 12.

© Copyright e-con Systems. 2023. All rights reserved. 22


Frame Sync Control
e-CAM313_CUMI031C_MOD provides frame sync control to switch between master
and trigger modes. When switched to trigger mode, the camera will provide frame
synchronous to an external trigger signal. The default mode is master.

Values: 0x00000000 (Master Mode)

0x00000001 (Trigger Mode)

Data Type: 32-bit unsigned integer

Control ID: 0x009A092B

Setting (Write) Frame Sync Value


MCU Command type: Configuration command. You can refer to the Set Control
Value of Table 10.

Getting (Read) Frame Sync Value


MCU Command type: Query-reply command. You can refer to the Get Control Value
of Table 12.

© Copyright e-con Systems. 2023. All rights reserved. 23


What's Next?
After understanding the detailed information of I2C based protocol used by the host
application processor for communicating with the microcontroller, you can refer to
the e-CAM313_CUMI031C_MOD Datasheet to understand more about e-
CAM313_CUMI031C_MOD.

© Copyright e-con Systems. 2023. All rights reserved. 24


Glossary
CMOS: Complementary Metal Oxide Semiconductor.

HDR: High Dynamic Range.

ISP: Image Signal Processor.

MCU: Microcontroller unit.

© Copyright e-con Systems. 2023. All rights reserved. 25


Support
Contact Us

If you need any support on e-CAM313_CUMI031C_MOD product, please contact us


using the Live Chat option available on our website - https://www.e-
consystems.com/

Creating a Ticket

If you need to create a ticket for any type of issue, please visit the ticketing page on
our website - https://www.e-consystems.com/create-ticket.asp

RMA

To know about our Return Material Authorization (RMA) policy, please visit the RMA
Policy page on our website - https://www.e-consystems.com/RMA-Policy.asp

General Product Warranty Terms

To know about our General Product Warranty Terms, please visit the General
Warranty Terms page on our website - https://www.e-
consystems.com/warranty.asp

© Copyright e-con Systems. 2023. All rights reserved. 26


Revision History
Rev Date Description Author
1.0 14-Aug-2023 Initial draft Camera Dev Team
1.1 18-Sep-2023 Updated Section “Camera Operation Sequence” Camera Dev Team
1.2 08-Nov-2023 Updated Firmware Version Camera Dev Team

© Copyright e-con Systems. 2023. All rights reserved. 27

You might also like