The OV5642 has a FREX mode which means frame exposure mode. It works like the global shutter camera that all pixel exposed at the same time, but it requires an extra LED flashlight to work with. Some of the modules don’t include this pin in their design, so you have to enable this feature through the I2C register settings. You can find more info from https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=235523&p=1448036#p1448036