Can anyone help explain the use of CGAMMAWD[4:1] in plain english? It seems to be different than the way I understand it from the datasheet (VPFE Programmer's Guide).
I have a 12-bit sensor attached to C_DATA[15:4], therefore sensor[11] is attached to C_DATA[15]. I read the setting as "the bit of the bus (C_DATA) that is attached to the MSB of the sensor". Thus, the value should be set up to 0x0 so that the MSB is 15.
However, it seems that a setting of 4 (MSB == C_DATA[11]) provides better results (i.e. CGAMMAWD[4:1] = 0x0 is much darker than when set to 0x4). Is this correct? I'm not sure if this setting is somehow in line with another datashift down in the pipleline somewhere, and/or if I am losing the four upper bits from this (apparent) initial shift.
Regards,
Derek