Hi,
A short summary, while using the app_PWM on our application I noticed an initial pulse on the PWM pin, its a 3V 1ms pulse that happens about 1 sec after powering on the nRF52832...
The PWM configuration and initializations code is quite standard:
int main(void) { initialize(); // Initializing the PWM instance in main() function ret_code_t err_code; app_pwm_config_t pwm1_cfg = APP_PWM_DEFAULT_CONFIG_1CH(1000L, ON_OFF_LED); pwm1_cfg.pin_polarity[1] = APP_PWM_POLARITY_ACTIVE_LOW; err_code = app_pwm_init(&PWM1,&pwm1_cfg,pwm_ready_callback); app_pwm_enable(&PWM1); while ( app_pwm_channel_duty_set(&PWM1, 0, MIN_LIGHT_INTENSITY) == NRF_ERROR_BUSY); APP_ERROR_CHECK(err_code); execution_start(start);
Is there something I need to configure / disable / initialize on the PWM or the Startup sequence so I don't get this initial pulse?