I’m using a raspberry pi 4, and running the included examples for testing a new AR1820 board. I can talk to the camera over I2C, but collecting an image fails.
./list_formats gives the following:
Hardware Platform: c03111
Found sensor ar1820 at address 37
mode: 0, width: 640, height: 480, pixelformat: pgAA, desc: (null)
mode: 1, width: 1232, height: 920, pixelformat: pRAA, desc: (null)
mode: 2, width: 1920, height: 1080, pixelformat: pRAA, desc: (null)
mode: 3, width: 2456, height: 1842, pixelformat: pRAA, desc: (null)
mode: 4, width: 4912, height: 3684, pixelformat: pRAA, desc: (null)
index: 0, CID: 0x00980914, desc: V4L2_CID_HFLIP, min: 0, max: 1, default: 0, current: 0
Get ctrl V4L2_CID_VFLIP fail.
index: 1, CID: 0x00980915, desc: V4L2_CID_VFLIP, min: 0, max: 1, default: 0, current: 0
index: 2, CID: 0x00980911, desc: V4L2_CID_EXPOSURE, min: 0, max: 65535, default: 1606, current: 1000
index: 3, CID: 0x00980913, desc: V4L2_CID_GAIN, min: 1, max: 16, default: 16, current: 2
Get ctrl V4L2_CID_RED_BALANCE fail.
index: 4, CID: 0x0098090E, desc: V4L2_CID_RED_BALANCE, min: 0, max: 511, default: 64, current: 0
Get ctrl V4L2_CID_BLUE_BALANCE fail.
index: 5, CID: 0x0098090F, desc: V4L2_CID_BLUE_BALANCE, min: 0, max: 511, default: 64, current: 0
close camera status = 0
./python/capture_raw.py yields:
Open camera…
Hardware Platform: c03111
Found sensor ar1820 at address 37
Setting the resolution…
mmal: Failed to start sensor.
mmal: Failed to enable camera
set_resolution: Unexpected result.
Is this likely a connection issue and I should just keep trying to re-seat the ribbon cable?
Thanks.