MT9J003
www.onsemi.com
40
Figure 41. Using FLASH With Global Reset
ERS ERSRow Reset Integration Readout
Trigger
Wait for end of current row Automatic at end of frame readout
global_rst_end
FLASH
flash_count
(fixed)
External Control of Integration Time
If global_seq_trigger[1] = 1 (global bulb enabled) when
a global reset sequence is triggered, the end of the
integration phase is controlled by the level of trigger
(global_seq_trigger[0] or the associated GPI input). This
allows the integration time to be controlled directly by an
input to the sensor.
This operation corresponds to the shutter “B” setting on a
traditional camera, where “B” originally stood for “Bulb”
(the shutter setting used for synchronization with a
magnesium foil flash bulb) and was later considered to stand
for “Brief” (an exposure that was longer than the shutter
could automatically accommodate).
When the trigger is de-asserted to end integration, the
integration phase is extended by a further time given by
global_read_start – global_shutter_start. Usually this
means that global_read_start should be set to
global_shutter_start + 1.
The operation of this mode is shown in Figure 42. The
figure shows the global reset sequence being triggered by the
GPI2 input, but it could be triggered by any of the GPI inputs
or by the setting and subsequence clearing of the
global_seq_trigger[0] under software control.
The integration time of the GRR sequence is defined as:
IntegrationTime +
global_scale
[
global_read_start–global_shutter_start–global_rst_end
]
vt_pix_clk_freq_mhz
(eq. 18)
Where:
global_read_start + (2
16
global_read_start2[7 : 0] ) global_read_start1[15 : 0]
(eq. 19)
global_shutter_start + (2
16
global_shutter_start2[7 : 0] ) global_shutter_start1[15 : 0]
(eq. 20)
The integration equation allows for 24-bit precision when
calculating both the shutter and readout of the image. The
global_rst_end has only 16-bit as the array reset function
and requires a short amount of time.
The integration time can also be scaled using
global_scale. The variable can be set to
0–512, 1–2048, 2–128, and 3–32.
These programming restrictions must be met for correct
operation of bulb exposures:
global_read_start > global_shutter_start
global_shutter_start > global_rst_end
global_shutter_start must be smaller than the exposure
time (that is, this counter must expire before the trigger
is de-asserted)
Figure 42. Global Reset Bulb
ERS ERSRow Reset Integration Readout
Trigger
Wait for end of current row
Automatic at end of frame readout
global_rst_end
GPI2
global_read_start global_shutter_start
MT9J003
www.onsemi.com
41
Retriggering the Global Reset Sequence
The trigger for the global reset sequence is edge-sensitive;
the global reset sequence cannot be retriggered until the
global trigger bit (in the global_seq_trigger register) has
been returned to “0,” and the GPI (if any) associated with the
trigger function has been de-asserted.
The earliest time that the global reset sequence can be
retriggered is the point at which the SHUTTER output
de-asserts; this occurs approximately 2 * line_length_pck
after the negation of FV for the global reset readout phase.
The frame that is read out of the sensor during the global
reset readout phase has exactly the same format as any other
frame out of the serial pixel data interface, including the
addition of two lines of embedded data. The values of the
coarse_integration_time and fine_integration_time
registers within the embedded data match the programmed
values of those registers and do not reflect the integration
time used during the global reset sequence.
Global Reset and Soft Standby
If the mode_select[stream] bit is cleared while a global
reset sequence is in progress, the MT9J003 will remain in
streaming state until the global reset sequence (including
frame readout) has completed, as shown in Figure 43.
Figure 43. Entering Soft Standby During a Global Reset Sequence
ERS ERSRow Reset Integration Readout
mode_select[streaming]
system state
Software
Standby
Streaming
MT9J003
www.onsemi.com
42
SENSOR CORE DIGITAL DATA PATH
Test Patterns
The MT9J003 supports a number of test patterns to
facilitate system debug. Test patterns are enabled using
test_pattern_mode (R0x0600–1). The test patterns are listed
in Table 21.
Table 21. TEST PATTERNS
test_pattern_mode
Description
0 Normal operation: no test pattern
1 Solid color
2 100% color bars
3 Fade-to-gray color bars
4 PN9 link integrity pattern (only on sensors with serial interface)
256 Walking 1s (12-bit value)
257 Walking 1s (10-bit value)
258 Walking 1s (8-bit value)
Test patterns 0–3 replace pixel data in the output image
(the embedded data rows are still present). Test pattern 4
replaces all data in the output image (the embedded data
rows are omitted and test pattern data replaces the pixel
data).
HiSPi Test Patterns
Test patterns specific to the HiSPi are also generated. The
test patterns are enabled by using test_enable (R0x31C6 7)
and controlled by test_mode (R0x31C6[6:4]).
Table 22. HiSPi TEST PATTERNS
test_mode
Description
0 Transmit a constant 0 on all enabled data lanes
1 Transmit a constant 1 on all enabled data lanes
2 Transmit a square wave at half the serial data rate on all enabled data lanes
3 Transmit a square wave at the pixel rate on all enabled data lanes
4 Transmit a continuous sequence of pseudo random data, with no SAV code, copied on all enabled data lanes
5 Replace data from the sensor with a known sequence copied on all enabled data lanes
For all of the test patterns, the MT9J003 registers must be
set appropriately to control the frame rate and output timing.
This includes:
All clock divisors
x_addr_start
x_addr_end
y_addr_start
y_addr_end
frame_length_lines
line_length_pck
x_output_size
y_output_size
Test Cursors
The MT9J003 supports one horizontal and one vertical
cursor, allowing a crosshair to be superimposed on the image
or on test patterns 1–3. The position and width of each cursor
are programmable in R0x31E8–R0x31EE. Both even and
odd cursor positions and widths are supported.
Each cursor can be inhibited by setting its width to “0.”
The programmed cursor position corresponds to the x and y
addresses of the pixel array. For example, setting
horizontal_cursor_position to the same value as
y_addr_start would result in a horizontal cursor being drawn
starting on the first row of the image. The cursors are opaque
(they replace data from the imaged scene or test pattern).
The color of each cursor is set by the values of the Bayer
components in the test_data_red, test_data_greenR,
test_data_blue and test_data_greenB registers. As a
consequence, the cursors are the same color as test pattern
1 and are therefore invisible when test pattern 1 is selected.
When vertical_cursor_position = 0x0FFF, the vertical
cursor operates in an automatic mode in which its position
advances every frame. In this mode the cursor starts at the
column associated with x_addr_start = 0 and advances by a

MT9J003I12STMUH-GEVB

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
Optical Sensor Development Tools 10 MP NAVITAR
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union