6by9 wrote: ↑Tue Apr 18, 2017 9:31 am
Global reset has to be used in combination with an external mechanical shutter or controlled lighting to get sensible results. It's a way of resetting the whole rolling shutter array at the same moment for the start of exposure, but it will still take the normal readout time to capture the data. If you can't stop the pixels exposing with an external shutter then the exposure time increases as you go down the image. IIRC OV5647 does have a global reset but no external shutter, so it is of limited gain.
Interesting that v1 camera ov5647 has a global reset, but v2 imx219 does not have it.
ethanol100 described in posting in "capture flying rifle bullet with Raspberry camera" how to make use of global reset of v1 camera with an air spark flash (that has ultra short flash duration of <1µs) to simulate global shutter:
https://www.raspberrypi.org/forums/view ... 9#p1434563
So in this setup the shutter is not needed because the flash only lights for a very short time, and after that further changes in the scene (eg. bullet moving forward) will not do harm because it is dark after the spark.
The global reset of ov5647 is described in section 4.10:
https://cdn.sparkfun.com/datasheets/Dev ... df#page=43
In FREX mode, whole frame pixels start integration at the same time, rather than integrating row by row.
The FREX pin of ov5647 seems not to be exposed, at least not on th CSI-2 bus.
FREX mode 2 helps, in that mode the exposure request is sent via SCCB register 0x3B08 bit 0.
Next step is to enable raspiraw to make use of FREX mode 2 for global reset.