I just noted that on my capture of the Excel sheet, I had CSI_PIXCLK on pin 35-----which will work if you adjust the IOMux setup. However. after I captured that picture, I decided to move PIXCLK to pin 40, which is the setup on the table to the right and on the board itself.
I've attached zip file that includes the CSI setup and the camera register setup code. I'm holding on to my sketch that calls the CSI and camera functions for now, as it uses a command processing library and sends the buffer output as a single Serial.write(cambuff, 614400) burst. If you try that with a normal comms program, you'll probably swamp your PC USB input handler. It will work with a program that knows to halt screen updates and simply buffer the USB input for later display--but distributing PC Executables is not easy if the receiver is worried about malware, so I'm still figuring out what to do with my ImageHost.exe program.
Attachment 22214
Now that I've got the CSI working, I plan to convert my code to library format so that you can add image collection by instantiating and OV7760 object and calling its member functions. Among the member functions would be the ability to capture an image to a user-defined buffer with a prepended header that would make it look like a PC .BMP file. You could then write the .BMP file to the SD card for later viewing on a PC. You could also have a sketch that implements the MTP protocol to allow you to open the .BMP file from a PC program like Paint.
I plan to move my posts on the progress of this library to the Project Guidance forum as I consider that the library generation won't involve so much examination of the hardware details of the OV7670 and CSI. It will be more of an exploration of user interface issues. I'll start posting library code when I get a set of member functions and a demo program that can be the basis of your own program to collect and use images from the OV7670. I expect the first thing to do would be to add an interface to an LCD display. What would be your recommendations on a display to use?
Thanks to the OP Cyrille as well as Defragster, KurtE, wagnick, and the others who have kept me occupied and socially distanced for the last month or so.
Now, is anyone ready to dive into the PixelPipeline?