I’ve tried a few different ways but fails with either init=4100 error or fails looking for OV5647 register settings. Is there a way to import the different register settings for the ov9281 sensor or some way to make this work?
I haven’t got a chance to try it yet as I’m experimenting with other methods at the moment.
That link appears to be for the four camera multi-camera board, does it also apply to the RPI Zero multi board? And do you run the demo as is, or make adjustments as needed for my particular setup?
Yes you are right. This demo is used for multi-adapter-board. For the uc444 board, you need to change some code. You can try this demo I attached for you.
I’m still failing to get it working however. It fails with a ‘NULL pointer access’ error.
Open camera…
Found sensor ov9281 at address 60
Setting the resolution…
Can’t open the file
mmal: Failed to fix lens shading, use the default mode!
Can’t open the file
mmal: Failed to fix lens shading, use the default mode!
NULL pointer access
It looks like in the RaspberryPi/Multi_Camera_Adapter/Multi_Adapter_Board_2Channel_uc main example code, it’s calling on default API device id 0. And says advanced uses can select any API backend. If the ov9281 settings are already setup could they called on a different device id number?
OK, For UC444 multi Cam board + OV9281, you can’t use the RaspberryPi/Multi_Camera_Adapter/Multi_Adapter_Board_2Channel_uc path demo which is used for official camera instead of ov9281.
I have reconnected all the board and cameras to ensure good contact. Hardware specs are as above. I have run that code again and still received NULL pointer access again.
I have also tested both cameras connected by themselves directly to the Pi to rule out camera issue.
I can’t seem to attach photos but my hardware specs are as above.
I have successfully tested both cameras connected directly to Pi individually. The multi board is installed all the back on the gpio pins, over the top of the sd card.
I ran that code again but still receive Null pointer access error.
Now some very strange things happened with this. First I ran the old code you sent accidently and it kind of worked, but only displayed Camera A in both split screens for A and B.
Next I ran the new code which I copied and pasted into a new file. It gave me a NULL pointer access error.
Than I noticed that both codes seemed to be exactly the same, so you’re changes must be in the libraries somewhere, so I pulled the entire MIPI_Camera library again to refresh, and then ran your new code again.
However it still only displays Cam A. I switched cameras around but still only A shows. If I watch carefully though, Cam B displays for the first frame then only Cam A in both split screens.
I have not optimized the library and I just add gpio11 control to switch the camera A and B and I have tested it normally. Please check your hardware carefully. You can change each camera to each channel.