ARCS SDK
LISTENAI Software Development Kit
Loading...
Searching...
No Matches
tc6036_settings.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2025, LISTENAI
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*
6
* TC6036 default settings.
7
*/
8
#ifndef _TC6036_SETTINGS_H_
9
#define _TC6036_SETTINGS_H_
10
11
#include <stdint.h>
12
#include <stdbool.h>
13
#include "
tc6036_regs.h
"
14
15
#define REG_DLY 0xff
16
17
/* TC6036 640x480 YUV422 @ 24MHz MCLK */
18
static
const
uint8_t
tc6036_default_regs
[][2] = {
19
// Reset all register
20
// {0xfe, 0x01},
21
// {0xc4, 0x80},
22
// {0xc4, 0x00},
23
24
// Analog
25
{0xfe, 0x01},
26
{0x30, 0x5f},
27
{0x48, 0x18},
28
{0xc3, 0x11},
29
{0xc4, 0x15},
// output driver
30
{0xc5, 0x01},
31
{0xc6, 0x00},
32
{0xc7, 0xe0},
33
{0xc8, 0x52},
34
{0xc9, 0x92},
35
{0xca, 0x47},
36
{0xcb, 0x56},
37
{0xe0, 0x00},
38
{0xe2, 0xd1},
39
{0xe3, 0x01},
40
{0xe4, 0x00},
41
{0xe8, 0x52},
42
{0xfe, 0x00},
43
{0x1b, 0x67},
44
{0x1d, 0x00},
45
{0x2b, 0x57},
46
47
// BLC
48
{0xfe, 0x01},
49
{0x08, 0x18},
// blc target
50
51
// Lens
52
{0xfe, 0x02},
53
{0x11, 0x18},
// blc value
54
{0x15, 0x20},
// lens gain r
55
{0x16, 0x20},
// lens gain g
56
{0x17, 0x20},
// lens gain b
57
{0x18, 0xa2},
// xr
58
{0x19, 0x7a},
// yr
59
{0x1A, 0xa2},
// xg
60
{0x1B, 0x7a},
// yg
61
{0x1C, 0xa7},
// xb
62
{0x1D, 0x7a},
// yb
63
64
// Frame size 800x600
65
{0xfe, 0x00},
66
{0x00, 0x02},
// vts[15:8]
67
{0x01, 0x58},
// vts[7:0]
68
{0x02, 0x03},
// hts[15:8]
69
{0x03, 0x20},
// hts[7:0]
70
71
// Window 320x240
72
{0xfe, 0x02},
73
{0x80, 0x04},
74
{0x81, 0x44},
75
{0x82, 0x10},
76
{0x83, 0x02},
77
{0x84, 0xf2},
78
{0x85, 0x00},
79
80
// DNS & EDGE
81
{0xfe, 0x01},
82
{0x70, 0x37},
// enable dns edge
83
{0x80, 0x54},
// EDGE
84
{0x81, 0x86},
// EDGE
85
{0x85, 0xb6},
86
{0x86, 0x48},
87
88
{0x78, 0x54},
// DNS
89
{0x79, 0x76},
90
{0x7c, 0xcc},
91
{0x7d, 0xcc},
92
93
// AE
94
{0xfe, 0x01},
95
{0x30, 0x5c},
// front mode
96
{0x3e, 0x01},
// expo time hsb
97
{0x3f, 0x27},
// expo time lsb
98
{0x3d, 0x20},
99
{0x32, 0xa0},
100
{0x48, 0x28},
101
{0x4a, 0x60},
// max again*dcg ratio
102
{0x4b, 0x68},
// max again*dcg ratio
103
{0x4c, 0x76},
// dcg_ratio 2.16
104
{0x50, 0xff},
// AE window
105
{0x51, 0xff},
// AE window
106
{0x60, 0x01},
// AEC
107
{0x3a, 0x85},
// max step - low to 12.5fps
108
{0x3b, 0x82},
109
{0x60, 0x00},
110
{0x39, 0x96},
// banding
111
{0x54, 0x48},
// *2, ae target
112
{0x59, 0x0b},
// [7:4] 192+[7:4]*4 luma th
113
{0x30, 0x2f},
// enable aec
114
115
// AWB
116
{0xfe, 0x01},
117
{0x90, 0xd0},
118
{0xa0, 0x83},
// AWB - bit7 disable skin detect
119
{0xa1, 0x53},
120
{0x92, 0x1c},
121
{0x93, 0x39},
122
{0x94, 0x0e},
123
{0x95, 0x23},
124
{0x96, 0x2a},
125
{0x97, 0x18},
126
{0x98, 0x6c},
127
{0x99, 0x39},
128
{0xac, 0x21},
// rgain
129
{0xad, 0x1f},
// bgain
130
{0x90, 0xd1},
131
{0xaa, 0x00},
// disable analog awb gain
132
133
// Gamma1
134
{0xfe, 0x02},
135
{0x30, 0x00},
136
{0x31, 0x0E},
137
{0x32, 0x1C},
138
{0x33, 0x32},
139
{0x34, 0x54},
140
{0x35, 0x70},
141
{0x36, 0x86},
142
{0x37, 0x97},
143
{0x38, 0xA4},
144
{0x39, 0xB0},
145
{0x3a, 0xBB},
146
{0x3b, 0xC5},
147
{0x3c, 0xCF},
148
{0x3d, 0xE0},
149
{0x3e, 0xF1},
150
{0x3f, 0xFF},
151
152
// Saturation & Contrast
153
{0xfe, 0x02},
154
{0x6b, 0x08},
// bit5:0 low light area increase saturation
155
{0x79, 0x00},
// sat
156
{0x71, 0xa0},
157
{0x72, 0xc0},
158
{0x77, 0x20},
// skin threshold
159
{0x75, 0x48},
// contrast
160
161
// CCM
162
{0xfe, 0x02},
163
{0xd1, 0x3f},
// enable CCM
164
165
// CCM1
166
{0x60, 0x00},
// CCM R
167
{0x61, 0x90},
168
{0x62, 0x10},
169
{0x63, 0x10},
// CCM G
170
{0x64, 0x00},
171
{0x65, 0x90},
172
{0x66, 0x90},
// CCM B
173
{0x67, 0x10},
174
{0x68, 0x00},
175
176
// Mirror + VFlip
177
{0xfe, 0x00},
178
{0x1c, 0x60},
// [1:0] mirror flip
179
180
// System clock
181
{0xfe, 0x03},
182
{0xd8, 0x00},
183
{0xd9, 0x00},
184
{0xdb, 0x00},
185
{0xfe, 0x00},
186
{0x41, 0x06},
187
{0x4f, 0x04},
188
{0x62, 0x02},
// digital timing margin
189
{0xfe, 0x02},
190
191
// Output format select
192
{0x86, 0x04},
// YUV422
193
{0xe0, 0x01},
194
195
// Enable stream
196
{0xfe, 0x03},
197
{0xd8, 0xff},
198
{0xd9, 0xff},
199
{0xfe, 0x02},
200
};
201
202
#endif
// _TC6036_SETTINGS_H_
tc6036_regs.h
tc6036_default_regs
static const uint8_t tc6036_default_regs[][2]
Definition
tc6036_settings.h:18
drivers
lisa_camera
sensors
inc
tc6036_settings.h
Generated on Mon Apr 27 2026 11:48:02 for ARCS SDK by
1.9.8