Instruction manual
Marlin Technical ManualV.2.7.0
219
Configuration of the camera
Advanced register: frame counter
The frame counter feature is controlled by the following advanced feature reg-
ister:
Having this feature enabled, the current frame counter value (images read out
of the sensor, equivalent to # FrameValid) will be inserted as a 32-bit integer
value into any captured image.
Setting the Reset flag to 1 resets the frame counter to 0 — the Reset flag is self-
cleared.
The ON_OFF and LinePos fields are simply mirrors of the time stamp feature. Set-
tings of these fields are applied to all image stamp features.
Additionally there is a register for direct read out of the frame counter value.
Bit0123456789101112131415
Cycle offset 12 bit Cycle count ...
Bit16171819202122232425262728293031
... Cycle count 13 bit Second count 7 bit
Table 124: Cycle timer layout
Register Name Field Bit Description
0xF1000610 FRMCNT_STAMP Presence_Inq [0] Indicates presence of this
feature (read only)
Reset [1] Reset frame counter
--- [2..5] Reserved
ON_OFF [6] SIS (time stamp) on/off
--- [7] Reserved
--- [8..15] Reserved
LinePos [16..31] Line position of SIS (time
stamp)
0xF1000614 FRMCNT [0..31] Frame counter
Table 125: Advanced register: Frame counter
Note
The 4 bytes of the frame counter value will be inserted as the
5th to 8th byte of a line.