Hello, I have two OVM6211 cameras connected to CSI1 and CSI2 of a CanMV-K230-V1.1 board. The sd card has the k230_sdk image most likely version 1.9, compiled from source with my custom camera drivers, and I followed the instructions for adding new camera sensors.
When I run
./sharefs/app/sample_vicap.elf -mode 1 -conn 1 -dev 0 -sensor 81 -chn 0 -ow 400 -oh 400
the output looks perfect. This is with the camera cofigured for 400x400 at 120fps. I also have tested the same command with sensor 82, which is the other CSI port, and the same result. However, when I run
./sharefs/app/sample_vicap.elf -mode 1 -conn 1 -dev 0 -sensor 81 -chn 0 -ow 400 -oh 400 -dev 1 -sensor 82 -chn 0 -ow 400 -oh 400
I get two frozen frames, with some visual artifacts.
Things I have tried:
- Just in case it was a framerate issue, I added sensors 83 and 84 with 400x400 at 60fps, but the same result as above. Only difference is that now the two frozen frames have white noise and lots of artifacts
- I checked for ISP bandwidth limitation, the specs say it can do 8MP@30fps, or 240MP/s. My two cameras are 2 * 400*400 * 120 = 38.4MP/s so I think it should be fine. 60fps should be even easier.
- Not sure if it matters but all ISP stages are disabled and bypassed
I am not sure what to try next, can someone please suggest some options? Thank you.