RAW data from Camera goes to 0 when adding gain in v4l2

I am using FRAMOS IMX335 sensor with JetsonTX2. When I use v4l2 to capture image and and configure v4l2 to use gain I get 00000000 in some of my raw data pixels. The more gain I add the more zeros I get.

v4l2-ctl -d /dev/video0 --set-ctrl bypass_mode=0 --set-ctrl=exposure=80476 --set-ctrl=gain=900 --stream-mmap --stream-count=1 --set-fmt-video=width=2616,height=1964,pixelformat=RG12 --stream-to=/home/jackson/night-gain900-80ms-RG12.raw;

I am wondering why this is happening. Does anyone have any ideas?


When increase the gain it may overexposure cause the problem.

Wouldn’t overexposure cause the bits to go to 1 and not 0?

@zoharj , are you still in need of help? If so, please let us know. You can reach FRAMOS team at support@framos.com.

Hi @p.mehta . Yes I still need help. Thanks

1 Like

Can you write to us at support@framos.com ? It will go to appropriate team member at FRAMOS

I did email the framos support but they are not helpful. They want me to pay $10,000 for 10 hours of support. In my opinion something like this should be in the documentation and not require extra support

1 Like

Hi @zoharj , please see our reply to your other post for this topic: Framos IMX335 questions