This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM368 CGAMMAWD MSB setting with 10 bits sensor

Hi all,

Can any one help explain how to set CGAMMAWD GWDI?

I have a 10-bit sensor link from LSB CIN0(B17) to MSB YIN1(D14). (RAW0~RAW9)

in order to make sure the raw is correct, I do the following test.

step 1. control sensor to OVER EXPOSURE via i2c, then the sensor output will always be 1023.

step 2. set CGAMMAWD[4-1] as 4

step 3. save raw data in VIDEO_captureTskRunIsifIn() API

step 4. open raw data to check the value is 1023.

step 5. repeat step 2 ~ step 4 from 4 to 6 

 Finally, I need to set   CGAMMAWD[4-1] as 4, thus i can get raw value is 1023

(if set as 5 ->raw is 2046, 6->4092)

However, described in the dm36x_vpfe_nda_sprugu5b.pdf, CGAMMAWD[4-1]  4 looks like input sensor is 11 bit ?

(My device list: OV2710(10-bits OV sensor), DM368 IPNC_v5.0)

Regards,

Veloso