I’m having IMX485 image sensor and driver working in binning mode 1932x1090 resolution. Now I want to add one more mode to have FHD 1920x1080 crop resolution from this binning mode.
From the datasheet, I added register settings for the crop (I did the same with all pixel mode crop from 3864x2180 → 3840x2160 without problem), added camera mode in device tree. But when trying to read raw image using v4l2, the dmesg gives “PXL_SOF syncpt timeout! err = -11” and v4l2-ctrl returns “VIDIOC_DQBUF: failed: Input/output error”
Please find the trace/dmesg/v4l2 output attached.
I tried following command to get raw image. Similar for binning 1932x1090 mode, just change the resolution. Binning 1932x1090 is working fine, binning crop 1920x1080 is having timeout.
Thank you for point it out. I will check more.
Another question is: is there a way to crop the image using VI with configuration? Is there any example if it is possible? Thank you.