BG0836 1/2.7 inch 1080P HD CMOS image sensor
18/ 24
In the figure below,
is the frame time.
is called porch back, it means time
between vsync and the first image data.
is called front porch, it means time
between the last image data and invalid vsync. VBLANK and ROWTIME is the name
of BG0836 registers, their relationship as follows:
Combined, the frame time formula is:
Registers which control the output frame rate is ROWTIME(line time)and VBLANK
(vertical blanking), the address is shown below:
Table 14 Frame rate control register
Bit[15:8] of Row time control
registers(main clock unit)
Bit[7:0] of Row time control
registers(main clock unit)
Bit[15:8] of Vertical blanking control
registers(row time unit)
Bit[7:0] of Vertical blanking control
registers(row time unit)
The default value of ROWTIME is 0x12C4(4808), the default value of VBLANK is
0x0024, according to the above formula, frame time is:
ROWTIME and VBLANK registers are written, 0x001d register need to write 0x01
or 0x02.
Adjust the exposure and gain
Adjust the exposure
The register TEXP and the register TEXP_MCK control exposure time. TEXP is as
row time as a unit,TEXP_MCK is as main clock as a unit. Formula for calculating
exposure time as follow:
Where ROWTIME is the register name. Please refer to the section "adjust the output
frame rate". Texp must be smaller than Tfrm, otherwise you can't output image. TEXP
and TEXP_MCK register address is as shown in the table below: