Arducam (Both Mega and Mini versions working!)
Been translating some Arduino code to get Arducam working on P2 in Spin2.
Think have the QVGA RGB16 preview going now.
Used debug to see the result, that is nice!
Update: Got the new MEGA version working. See post #9 below for details.

Comments
Neat!
Nice
Now have it saving the QVGA preview to uSD.
There were some things wrong with the preview image that were easier to see on PC...
Should probably redo the above debug preview to fix that too...
This version is slightly better as can do just debug preview or just save to uSD or both...
This is working in Spin Tools IDE btw.
It runs in Prop Tool, but the image is messed up a bit for some reason... Not exactly sure what is causing that...
Just looked at the newest versions of Arducam:
https://www.arducam.com/embedded-camera-module/spi-camera-for-arduino/spi-microcontroller-cameras/mega-spi-camera.html
Seems they now having the FPGA doing I2C to camera, so just need SPI bus. That actually helps a lot for my BUS45 plans for this...
Got one of those when it first came out. Could not get it to work. Sample code was not easy to follow.
It has a desktop component that talks to the SPI interface to retrieve the pictures. Complex handshaking going on.
Mike
Got one now, guess we'll see. I do like the new enclosure and pushing I2C to FPGA makes sense...
Meanwhile, I've started getting tearing in my debug window. Not the code because saves to uSD are perfect.
Not really sure what is going on there, but have it in both Prop Tool and Spin Tools IDE.
Maybe it's just too much data...
Think somehow web browser messes it up, but not sure how. Maybe just anything else running will mess it up...
Just got a Mega version of Aducam working, in particular the 3MP BO400 SKU from Amazon:
https://www.arducam.com/presale-mega-3mp-color-rolling-shutter-camera-module-with-solid-camera-case-for-any-microcontroller.html
Should only need a couple changes to work with the 5 MP one as well...
What's nice here is that needs fewer pins, as doesn't need I2C anymore.
Also, comes in a nice enclosure. And price is about the same as the Mini...
Not sure yet if the default settings going to camera are ideal, but preview images from camera on an actual room (instead of computer screen) look good.
The attached code, like the Mini version, sends output to debug window, and optionally to uSD, for inspection.
Tested with Spin Tools IDE, but should also work in Prop Tool.