I have successfully used this sample app to capture to a 5 Volt Pro Mini. It works without error. I now wish to use a 3.3 Volt pro mini and I am having errors. The error seems to be in the read_fifo_burst function. Specifically, the FIFI length seems to come back/be read, but the while (length–) loop never goes into the sections to open or close a file. It just reads data until the function exits. Some errror messages are printed below.
SPI interface OK.
OV5642 detected.
SD Card detected.
start capture.
CAM Capture Done.
capture total_time used (in miliseconds):496
The fifo length is :68616
I am wondering if the 3.3 volt pro mini is having a tough time at the default spi speed? How can I slow the spi speed between the pro mini and the arducam?
I think the max spi speed is 8Mhz on the arducam, I’d like to try 2 or 4 Mhz.
Thanks, Jeff