This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Dephasage on PWM

Hi,

I want to ask you, if they're any phase locked loop (PLL) that can be used ? 

My problem : I have two square signal generate by an Arduino Nano and a PWM on the nordic and I wanted to synchronise them (they have the same frequency). I tried with the function delay without success.

If you have any solutions, thanks in advance.

Best Regards.

Parents Reply
  •  if(!nrf_gpio_pin_latch_get(PINTRANSZERO)){ //Sense_LOW of the pin
        if((previous_state)){
          count++; //count number of falling edge
        }
        nrf_gpio_pin_set(LED3);
        previous_state = 0;
     }else{
        nrf_gpio_pin_clear(LED3);
        previous_state = 1;
     }
     nrf_gpio_pin_latch_clear(PINTRANSZERO);

    I done this for detect a falling edge.

    Where can I find an example of the configuration of the start. 

Children
Related