MINI 5mp

"We noticed a problem when the camera tries to capture the second video.
After verifying that the value of the “capture done flag” register becomes 1, from the registers of the data size we get a size of 0 bytes.
Before each acquisition we reset the FIFO write and read pointers and the “capture done” flag.
The behavior is stable, we get the error every two videos.

The problem is not present when we acquire single frames, and the operations used are perfectly the same except the set of the number of photos to be acquired.
The SPI configuration we are using is 4MHz baud rate."