Hello
how can i found a input capture example to read external 125KHz PWM Signal, so we can measure the time from falling/falling edge or rising/rising edge or falling/rising edge or rising/falling edge
Regards
Hello
how can i found a input capture example to read external 125KHz PWM Signal, so we can measure the time from falling/falling edge or rising/rising edge or falling/rising edge or rising/falling edge
Regards
Hello
Have you looked at Zephyr's PWM API?
http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/hardware/peripherals/pwm.html
Best regards,
Einar
Thanks
Sorry but I have no Zephyr.
I use this Zephyr example wrote it to a segger gcc projekt, but I got 4 warnigs and linker error
nrf_gpiote_publish_set(NRF_GPIOTE_EVENTS_IN_0, dppi_ch_1);
nrf_timer_subscribe_set(timer.p_reg, NRF_TIMER_TASK_START, dppi_ch_1);
IRQ_DIRECT_CONNECT(GPIOTE_IRQn, 0, nrfx_gpiote_irq_handler, 0);
irq_enable(GPIOTE_IRQn);
and I dont now how to solve the problem

I assume you know you can't just use a Zephyr example in the nRF5 SDK with SES, so what you're doing is porting the example to the nRF5 SDK?
From your errors it looks like you are missing an include for some GPIO driver I think, so I would recommend double checking the includes in your project.
-Einar