Thank you for the support! I could fix the issue.
Fix:
- Changed to the discontinuous mode by setting BYPASS_LP_SEQ.
- Changed the T_HS_ZERO bit to 0x9 instead of 0xA based on the captures we obtained.
Using the following commands, I am not able to capture frames:
v4l2-ctl -d /dev/video0 --verbose --set-fmt-video=width=1280,height=720,pixelformat=RG12 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=1 --stream-to=data.raw
./yavta /dev/video0 -c1 -n1 -s1280x720 -fSRGGB12 -Fdata8.raw
Attempted gstreamer and nvgstcapture but didn’t work. I will open another thread to debug those.