Home
  Balloons
    Globo 4
      Digicam
        weeCam

Language:
  EspaƱol

Digicam
  weeCam
    Internals
    Principle
    Sensor
    Protocol
    Analyzer
    Program
    Tests

Subjects:
  Flight 2(bis)
  Flight 3(bis)
  Flight 4
  Theory
  Other 'ballooners'

Internal registers of the optical sensor

The data below has been taken from data sheet and publicly available information. There can be errors in the original info, and in my copying. Please do not trust this - at least consult the original publications!

Reg Function Bits Default 7610 6620 6630 Orig

00 Gain 5:0 0 Y Y Y


01 Blue 7:0 80 Y Y Y


02 Red 7:0 80 Y Y Y


03 Sat 7:0 80 Y Y Y 80 Saturation
04 - - - - - -


05 Cnt 7:0 0 Y Y Y 7F Contrast Default 0 in 7610
06 Brt 7:0 80 Y Y Y 50 Brightness
07 Shrp 7:4 C0 - Y Y 88 Sharpness, Threshold/Coring


3:0 06 - Y Y
Sharpness, level
08 Reserved







09 Reserved







0A Reserved







0B Reserved







0C Blue bias 5:0 20 Y Y Y 24 AWB Blue bias
0D Red bias 5:0 20 Y Y Y 24 AWB Red bias
0E COM_R 7 14 Y Y Y 0D x80 = 2x gain

Gamma 6
Y - -
1: Enable 0: B/W


4:3
Y - -
S-AWB 00-11: 0.2 - 0.8


2
Y - -
1: 0.45, 0: 0.5


1:0
Y - -
Fine tune: 00-11: 95-80%
0F COM_S 7 05 Y - - 25 EAC Method 1 (def on)


6
Y - -
EAC Method 2 (def off)


5:4
Y Y Y
ALC Black lvl: 00-11: 1.2-1.4V


3:2
Y Y Y
AWB Upper 00-11: 70-100%


1:0
Y Y Y
AWB Lower 00-11: 10-40%
10 AEC 7:0 9A Y Y Y
Auto exposure ctl def 7F for 7610 interlace, FF progressive
11 Clock 7:6 00 Y Y Y 0 Sync polarity


5:0
Y Y Y
Clock prescaler
12 COM_A 7 24 Y Y Y x 1: Start soft reset


6
Y Y Y
1: Mirror image


5
Y Y Y
1: Enable AGC


4
Y Y Y
1: Output YUYV 0: UYVY


3
Y Y Y
1: RGB 0: YcrCb


2
Y Y Y
1: AWB On


1
Y Y Y
1: Color bar test


0
Y Y Y
1: Line BLC, 0: Field BLC
13 COM_B 7 01 - - - 01 Reserved


6
- - -
Reserved


5
Y Y Y
1: 8-bit operation


4
Y Y Y
1: CCIR656


3
Y Y Y
1: Composite sync


2
Y Y Y
1: Tristate buses


1
Y Y Y
1: Single frame


0
Y Y Y
1: Main auto-set flag Puts reg 00, 01, 02, 10 in automode
14 COM_C 7 00 - - - 94 Reserved


6
- - -
Reserved


5
- - -
1: QCIF, 0: CIF


4
Y Y Y
1: Frame sync at odd only


3
Y Y Y
1: HREF negative


2
Y Y Y
1: Gamma on, 0: Gamma=1


1
- - -
Reserved


0
- - -
Reserved
15 COM_D 7 01 Y Y Y 01 Reserved


6
Y Y Y
1: Video change on rising PCLK


5:1
- - -
Reserved


0
Y Y Y
1: Invert VU order
16 FSD 7:2 03 Y Y Y
Field slot division


1:0
Y Y Y


17 HREFST 7:0 38 Y Y Y 38 Horizontal ref start 2pix ea in CIF 1pix on QCIF
18 HREFEND 7:0 EA Y Y Y EA Horizontal ref end Default 03 in 7610
19 VSTART 7:0 03 Y Y Y 04 Vertical window start
1A VEND 7:0 92 Y Y Y 93 Vertical window end Default F4 in 7610
1B PSHIFT 7:0 00 Y Y Y 00 Pixel shift Default 28 in 7610
1C MIDH 7:0 7F Y Y Y
Manuf ID High
1D MIDL 7:0 A2 Y Y Y
Manuf ID Low
1E Test A 7:0 C4 Y Y Y
Reserved
1F Test B 7:0
Y Y ?
Reserved
20 COM_E 7 00 Y Y Y 28 1: Include 704 PCLK


6
- - -
Reserved


5
Y Y ?
1: Stage 1 aperture on


4
Y Y Y
1: Stage 2 aperture ctrl


3
Y Y Y
1: Smart AWB control


2
Y Y -
1: Enable low lum AWB stop


1
Y Y Y
1: AWB Fast


0
Y Y Y
1: High current output
21 YOFFS 7:0 80 Y Y Y
Y manual offset
22 UOFFS 7:0 80 Y Y Y
U manual offset
23 REFC 7:6 04 - Y Y 04 Crystal power 00=Min


5:4
- - -
Reserved


3:0
- - -
Ref voltage 2.5-3.5V
24 AEW 7:0 33
Y Y 33 Auto exposure (White)
25 AEB 7:0 97 Y Y Y 97 Auto exposure (Blue) 3F(I)/7C(P) for 7610
26 COM_F 7:6 B2 Y Y - 92 Aperture correction 8-64mV


5:4
Y Y -
Aperture correction gain (50/100/200/400%)


3
- Y Y
1: UV BLC swap 6630: 1: Offset UV separate


2
Y Y Y
1: Swap MSB/LSB


1
Y Y Y
1: Enable A/D autocalibration


0
- Y Y
1: Output 4-line black level
27 COM_G 7:6 A0 - - -
Reserved


5
- Y Y
U clock reference


4:3
- - -




2
Y Y Y
1: Manual digital offset


1
Y Y Y
1: Full (01-FE) digital output


0
- - -
Reserved
28 COM_H 7 00 Y Y Y 01 1: One line output


6
Y Y Y
1: Enable B/W


5
Y - -
1: Progressive scan


4
Y Y Y
1: Stop AGC/AEC


3
Y Y Y
1: Stop AGC


2
Y Y Y
1: Enable YG


1
Y Y Y
1: Add extra 2x gain


0
Y Y Y
1: Extend AGC range
29 COM_I 7 00

Y 00 1: AEC disable


6


Y
1: Slave mode selection


5:4
- - -
Reserved


3


Y
1: use 1/4 area to control AGC


2
- - -
Reserved


1:0


Y
Version flag
2A FRARH 7 04 Y Y Y 04 1: Frame rate enable


6
Y - -
Highest bits of rate


5
Y Y Y
Highest bits of rate


4
Y - -
1: Delay UV 2 pixels


3
Y Y Y
1: Enable Y brightness


2
Y - -
Always 1


1
Y Y Y
Always 0 6630: is 1 in frame exposure


0
Y Y -
Always 0
2B FRARL 7:0 5E Y Y Y 5E Frame rate low 7610: Default is 00
2C ALC 7:4 88 Y - - FE Auto level- set 0.08-1.3%


3:0
Y - - FE Auto level- step 0.08-1.3%
2D COM_J 7 03 Y - - 93 1: AEC slow


6
Y - -
1: Only odd fields in CIF


5
Y - -
1: ALC slow


4
- Y Y
1: Enable auto black expand


3
- Y Y
1: Enable AWB after AGC stable


2
- Y Y
1: Band filter enable


1
- - -




0
- Y Y
1: U V separate offsets
2E VCOFFS 7:0 80 Y Y Y
V Offset control
2F ARRBIAS 7:0 30 Y - -
Array bias - no changes!
30 Reserved







31 Reserved







32 Reserved







33 YGAMMA 7 A0 Y - - 28 1: Gamma enable


6
Y - -
1: Ygamma enable


5
Y - -
1: Ygamma enable


4:0
- - -
Reserved
34 BIAS 7:6 A2 Y Y Y 87 00-11: 110-140%


5:4
Y - -
00-11: UV lowpass 0.4-1.6 Mhz


3:2
Y - -
00-11: Peak level adj 60-90%


1:0
Y - -
00-11: Gamma curve knee 0.9-1.4V
35 COM_L 7:5 5E Y - -
Gamma delay line


4
Y - -
UV Filter 1


3
Y - -
UV Filter 2


2
Y - -
Y Algorithm


1
Y - -
Always 1


0
Y - -
Reserved
36 Reserved







37 Reserved







38 COM_K 7 81 Y Y Y 81 1: PCLK Falling edge


6
Y Y Y
1: Drive digital output


5
- - -
Reserved


4
Y Y Y
1: Vsync 2: Normal (ZV pin)


3
Y Y Y
1: Quick stable mode


2
- - -
Reserved


1
Y Y Y
1: AWB Fast slow 0: Slow slow


0
Y - -
Always 1
39 COM_L? 7 00 - - - 00



6
- Y Y
1: PLCK valid when HREF high


5
- Y -
Vert sync selection


4
- Y Y
1: CHSYNC from HREF port


3
- Y Y
1: HREF from CHSYNC port


2
- Y Y
1: Tristate all control pins


1
- Y Y
1: High bit of horsync start


0
- Y Y
1: High bit of horsync end
3A HSST 7:0 0F - Y Y 0F Horiz sync start pos
3B HSEND 7:0 3C - Y Y 3C Horiz sync end pos
3C COM_M 7:5 21 - Y - 5C Set min AEC for banding filter


4
- Y Y
AEC/AGC change mode selection


3
- Y Y
AEC/AGC change mode selection


2
- Y Y
AEC/AGC change fastest mode


1
- Y Y
AEC/AGC change fast mode


0
- Y Y
AEC/AGC change slowest mode
3D COM_N 7 08 - Y Y 80 1: Enable frame drop


6:4
- - -
Reserved


3
- Y Y
1: 50 Hz PAL video timing


2
- - -
Reserved


1
- - Y
1: Tristate UVY outputs in low pwer


0
- - -
Reserved
3E COM_O 7 80 - Y Y 80 1: Div main clock by 2, 0: /4


6:5
- - -
Reserved


4
- Y Y
1: Select nibble mode


3
- - -
Reserved


2
- Y Y
1: Min exposure 4 lines, 0: 1 line


1:0
- - -
Reserved
3F COM_P 7
- - - 02 Reserved


6
- Y Y
1: Main clock to FODD


5
- - -
Reserved


4
- Y Y
1: Softw power down


3:2
- - -
Reserved


1
- Y Y
1: CCIR656 output


0
- Y Y
1: Reset internal timing
40-4C Reserved

- - -


4D YMXC 7:5 02 - - - DA Reserved


4:3
- Y Y
00: U=u V=v








01: U=0.938u, v=0.838v








10: 0.563/0.714








11: 0.5/0.87


2:0
- - -
Reserved
4E ARL 7:5 A0 - Y Y C1 AGC reference level


4:0
- - -
Reserved
4F YMXB 7:6 00 - Y Y 04 Y Channel delay


5:4
- Y Y
UV delay


3:2
- Y Y
UV average mode


1:0
- Y Y
Color killer control

4042


(c) John Coppens ON6JC/LW3HAZ mail