When encoder processing frames some it gets stuck and will not return ..So I use semaphore to wait for 33ms and try to the reset by calling HDVICP_Reset. but reset gets hung in the while loops in the function the location
WR_MEM_32(CM_IVAHD0_IVAHD_CLKCTRL , 0);
do
{
temp = RD_MEM_32(CM_IVAHD0_IVAHD_CLKCTRL);
temp = ((temp >> 16) & 3);
}while(temp != 3);
May I know how to reset the hdvicp if module gets stuck ..
Regards,Prashanth