VT5376
General features
7.5
Automatic exposure
Figure 10. Automatic exposure example - laser/LED driven by internal DAC
White
surface
LED on
1 Frame = 1 ms (1 KHz)/500μs (2 KHz)/250 μs (4 KHz)
1 μs
Dark
surface
LED on
43 μs (max)
LASER_OUT
GND
ILED
0A
VTOP
100 μA * R@RBIN
120 V / R@RBIN
7.6
Image (frame) capture
It is possible to capture an image and download it using a simple I2C write/read sequence.
This is useful to calibrate optics during pre-production or to perform basic tests.
In order to achieve this, the user must:
1. Put the firmware into IDLE by setting bit 7 of register 0x05 (fw_idle_state).
2. Disable the motion engine controller by clearing bit 1 of register 0x82
(timer_itr_enable).
3. Enable frame dump mode by setting bit 0 of register 0x62
(frame_dump_mode_enable).
The VT5376 resets the sensor, enables the DCDC, runs a single frame sequence and
stores it into an internal RAM. Once this process is complete, the VT5376 signals that the
image is ready for download, by asserting bit 2 in register 0x62
(frame_ready_for_download).
When this flag is asserted, the user can download the 400 consecutive pixels by reading
register 0x61 (image) 400 consecutive times.
When all the pixels have been read, the VT5376 signals the end of the process by setting
bit 3 in register 0x62 (frame_upload_complete).
To resume normal operation the user should reset bit 0 in register 0x62 to exit the frame
dump mode, take the firmware out of Idle by resetting bit 7 of register 0x05 and set bit 1 of
register 0x82 to enable the motion controller.
Doc ID 13939 Rev 4
21/31