I use timer+ppi+pwm model.my init code like this
void PWM_init()
{
/* ƵµÀµÄ PWM, 200Hz£¨5000us=5ms), ͨ¹ý ¿ª·¢°åLED ¹Ü½ÅÊä³ö. */
app_pwm_config_t pwm0_cfg = APP_PWM_DEFAULT_CONFIG_1CH(250L, PWM_PIN);
/* Çл»ÆµµÀµÄ¼«ÐÔ */
pwm0_cfg.pin_polarity[0] = APP_PWM_POLARITY_ACTIVE_HIGH;
/* ³õʼ»¯ºÍʹÄÜPWM. */
err_code = app_pwm_init(&PWM0,&pwm0_cfg,pwm_ready_callback);
APP_ERROR_CHECK(err_code);
app_pwm_enable(&PWM0);//ʹÄÜPWM
while (app_pwm_channel_duty_set(&PWM0, 0, 50) == NRF_ERROR_BUSY);
}
I use some code to close and open PWM ,like this
void PWM_stop()
{
app_pwm_disable(&PWM0);
}
void PWM_start()
{
app_pwm_enable(&PWM0);
while (app_pwm_channel_duty_set(&PWM0, 0, 50) == NRF_ERROR_BUSY);
}
question:I use oscilloscopes to check PWM, I find that when I start PWM,I must to wait about 260us before 52832 product PWM.
why I need to wait 260us?

