I’m testing an openmv n6 camera with the hello world example. but im getting a runtime error with csi0.snapshot(time=2000) # Wait for settings take effect. highlighted
commenting out img = csi0.snapshot() ofcourse works but this is obviously the most important part
I have tried the most recent version of the IDE, and tried downgrading to 4.8.11.
Tried the dev release of the n6 and release version.
Could it just be faulty hardware?
note: it does grab 1 (blurry) frame and then it crashes
The camera was used for some random projects at work, and was just sitting somewhere unused for some time now.. likely because it wasn’t working. I don’t know when we got it, but definetly from the openmv site.
Okay, uh… I can send a new camera module. However, do you have another one available to swap sensors with or etc? Just to verify the mainboard is okay.
The N6 doesn’t work with the OV5640 at the moment. This is due to the way the CSI driver for the N6 works; it can’t handle the parallel bus input to SDRAM. We’ll have to create the same MDMA system we did for the H7 to make that work on it; however, this isn’t a major priority right now.
To be clear, it can do some parallel input, but, not at the rate that the OV5640 generates data. The N6 is happy with, like ~40 MBs… which is good for pretty much every parallel bus sensor we support except the OV5640. The OV5640 does like 80 MB/s bursts. To handle this, a line buffer FIFO system has to be created. It’s doable, just a ton of work.
Considering the board gets detected as well as the sensor used. Might be useful to give a good warning for this specific combination inside the ide (until it’s actually implemented).