Part Number: TMS320DM368
Hi,
Hi,
We had the issue of flickering when camera facing to light and on mobile flash, for that issue we made a fix by setting the minimum exposure to 10ms as reffered from TIE2E. And provided an option for flicker control enable, this exposure limit is applicable for only when flicker detect is enabled. That code part shown bellow setting the lower limit of exposure value.
Now another issue generated that is If flicker detect is enabled in day mode video is over exposed. Botht the two issue are not there in reffernce camera, which is using the same sensor ARO330 but processor is AMBERELLA.
And another issue is also there in some specific lighiting condition inside closed room with PAL light flickering is happening and the walls in that rom are painted with bright colour.
In the doc "Flicker Detect on DM36x IPNC" I found 2 known issues on Camera Conditions
Issue 1: The IPNC camera is pointed directly at a light source.
Issue 2: The IPNCE camera is in the presence if a weak NTSC or PAL light source.
Do these two issues have connection with what i stated above, and what does it meant by weak NTSC or PAL light source.
Suggest me any solution if there.
int DRV_imgsSetEshutter(Uint32 eshutterInUsec, int setRegDirect)
{
#if 1
int status;
Uint16 regAddr;
Uint16 regValue;
Set_Shutter = eshutterInUsec;
if (eshutterInUsec <= shutterSet_User) {
if (flicker_detection == 1) {
if (eshutterInUsec <= 8333)
eshutterInUsec = 8333; /* Min Exposure time for NTSC(60 Hz) */
} else if (flicker_detection == 2) {
if (eshutterInUsec <= 10000)
eshutterInUsec = 10000; /* Min Exposure time for PAL(50 Hz) */
}
regAddr = AR0331_COARSE_IT_TIME_A;
regValue = (float)(eshutterInUsec/ROW_TIME);
} else {
regAddr = AR0331_COARSE_IT_TIME_A;
regValue = (float)(shutterSet_User/ROW_TIME);
}
status = DRV_i2c16Write16(&gDRV_imgsObj.i2cHndl, ®Addr, ®Value, 1);
if(status!=OSA_SOK) {
OSA_ERROR("DRV_i2c16Write16()\n");
return status;
}
Thank you