Do we use different projects?
I do not see the parameter f1 and d1 in the last project.
C1 and C2 are very large. They can be very different and introduce a delay.
I created a test project, let's compare the result
i just add the below code in my last project.
if(freq < 59.5 || freq > 60.5)
freq1 = freq;
if(phase < 29 || phase > 30.5)
phase1 = phase;
sprintf(ch,"freq:%.2f f1:%.2f, deg:%.2f d1:%.2f \r\n",freq, freq1, phase, phase1);
however,i applied the test project directly but the same thing still happened even though i removed the RC filter.