I am facing an issue in cc data decoding. When Video source with closed caption of DVD is input given to ADV7180, it captures most of the data. However the decoder is missing few characters in between. I am setting CC_CLEAR-0x78 to 1 reinitialize the CCAP readback registers everytime.
Is there anything I am mising here ? Can you please take a look ?
I have attached the register dump I am using to initialize the decoder and the code snippet to read cc data.
Please note : I tried connecting TVP5150 video decoder from TI instead of ADV in the same development board for comparision. With this setup I can able to get all the data without any loss.