Input capture example for nrf52833

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

Parents Reply
  • 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

Children
Related