Hi Fayaz,
I am a bit surprised that you still got the issue 8 times since you forced the standard to PAL-M. Was your source only providing PAL-M all the time during your testing?
What type of PAL-M source are you using? Are you always using the same source? Is this source providing good quality signal within the spec or is it a poor source (at the edge or outside the PAL-M spec)?
With your original settings, (i.e. without the 2 settings you added - reg[0x00] = 0xa0 and reg[0x07] = 0x04), could you read back AD_RESULT[2:0] (Reg 0x10[6:4]) when you get the issue to know exactly which standard gets detected.
Is your system only expecting the PAL-M standard at its input? Or is it limited to certain standards? Or can it accept any NTSC, PAL and SECAM standards?
Best regards