Skip to main content
Associate
August 17, 2025
Question

VD6281 overexposure read value

  • August 17, 2025
  • 1 reply
  • 577 views

Hi All,

I am trying to implement VD6281 readout layer and I do struggle with quite random '0' return value with relatively intense light exposure.
The implemented script automatically adjust sensor gain. For relatively high register values [15..12] what correspond to gain equal to 1 and lower (basically attenuation) - used for intense light exposure - sensor returns 0 and trigger script gain increase what causes algorithm latch.

For instance, readouts with the same light exposure:
Ch: 0 gain: 13 value: 2649333 calc value: 2649333
Ch: 1 gain: 13 value: 0 calc value: 0  (ought to be :value 1097992 and  calc value: 1097992)
Ch: 2 gain: 13 value: 1139807 calc value: 1139807
Ch: 3 gain: 13 value: 3132285 calc value: 3132285
Ch: 4 gain: 13 value: 7223551 calc value: 7223551
Ch: 5 gain: 13 value: 7223551 calc value: 7223551

And the different gain:
Ch: 0 gain: 12 value: 3211258 calc value: 2569006
Ch: 1 gain: 12 value: 1372490 calc value: 1097992
Ch: 2 gain: 12 value: 1323700 calc value: 1058960
Ch: 3 gain: 12 value: 3862291 calc value: 3089832
Ch: 4 gain: 12 value: 7223551 calc value: 5778840
Ch: 5 gain: 12 value: 7223551 calc value: 5778840

Changing internal exposure time or read request period doesn't change the behaviour.

Logs with the same light source and different exposure are attached.

Any ideas how to proceed with debugging?

Best,
Mat





1 reply

Anne BIGOT
Technical Moderator
August 28, 2025

This product came in end of life end of 2024.
We won't be able to give any support anymore on this product.

 

You may want to try the VD6283 which is pin to pin compatible with this one and has lots of life left. Parts are very similar, and you won't loss anything by switching.

Regards

 

Our community relies on fruitful exchanges and good quality content. You can thank and reward helpful and positive contributions by marking them as 'Accept as Solution'. When marking a solution, make sure it answers your original question or issue that you raised. ST Employees that act as moderators have the right to accept the solution, judging by their expertise. This helps other community members identify useful discussions and refrain from raising the same question. If you notice any false behavior or abuse of the action, do not hesitate to 'Report Inappropriate Content'