PixArt Imaging Inc.
PAS005B
CMOS Image Sensor IC
writing the registers followed by setting “flag” register to 1. Registers 4 ~ 15 are some critical registers that
influent the sensor cell array. If the readout pixels aare changed, register 16(mode_chg_reg) should be set to 1
to reset the full array. So the programming sequence is writing the registers, set mode_chg, than set flag. If
mode_chg_ena register is 1, these registers will be protected unchanged till setting mode_chg followed by
setting flag.
4.7 Exposure Programming
The Exposure Time calculation of PAS005 is based on the following sequence:
1. System clk
2. Pxclk
3. Frame rate
4. Exposure time
5. Equivalent exposure line and pixel number
6. Register (Ny)offset_ny,(Ne) offset_ne
For a given Sysclk, pxclk and EX-time:
Np = Sysclk / pxclk.
The Exposure Time calculation of PAS005 is based on the following Register:
Default
(Decimal)
R/W
R/W
R/W
Register
Register
Np[5:0]
Description
Pixel rate = frequency of I_Sysclk / Np
Programming range of Np: 1~63
Analog signal processing single or double path
0: double path, 1: single path
Color mode or Mono mode(used only in sub-
sampling mode)
Reg_3[5:0]
2
Reg_4[7]
Reg_4[6]
single_path
cm
0
1
R/W
R/W
0: Mono mode, 1: color mode
column frequency
00: Normal readout without sub-sampling,
01: 1/2 sub-sampling
10: 1/4 sub-sampling,
Reg_4[3:2]
Reg_4[1:0]
cf[1:0]
rf[1:0]
0
0
11: 1/8 sub-sampling
row frequency
00: Normal readout without sub-sampling,
01: 1/2 sub-sampling
R/W
10: 1/4 sub-sampling,
11: 1/8 sub-sampling
Reg_5[2:0]
Reg_6[7:0]
Reg_7[2:0]
Reg_8[7:0]
Reg_9[2:0]
wcp_in[10:8]
wcp_in[7:0]
wcw_in[10:8]
wcw_in[7:0]
wrp[10:8]
R/W
R/W
R/W
R/W
R/W
0
0
1287
1287
0
window column pointer
window column pointer
window column width
window column width
window row pointer
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw