PWM Frame error

Hi,

I am working on PWM and i am using bellow function for pin set cycles and it's working fine as per Duty cycle  and frequency

i am getting the wave form also but i'm not getting why it's showing frame error

i have set duty cycle 25% and frequency 250Khz

Does anyone know what might be the issue here? 

Related