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

Long Delay between triggering GPIOTE event and his execution

Hi

I use the nRF51 Development Kit and the pin_change_int example.

when i push the button the LED changes but there is a delay of 16us.

is this normal ? can i speed this up ? 

Blue is the Button Signal 

Red is the LED signal

Parents
  • Hi,

    Thanks this works perfect !

    Much faster.

    Just another question.

    is it possible to change direction with this pin configuration ? 

    nrf_gpio_cfg_sense_input(ONEWIRE_DATA_PIN, NRF_GPIO_PIN_NOPULL, NRF_GPIO_PIN_SENSE_LOW);  // OneWire data Pin

    as i did before  with ?

    nrf_gpio_pin_dir_set(ONEWIRE_DATA_PIN, GPIO_PIN_CNF_DIR_Output); // One Wire Direction output

    Best regards,

    Markus

Reply
  • Hi,

    Thanks this works perfect !

    Much faster.

    Just another question.

    is it possible to change direction with this pin configuration ? 

    nrf_gpio_cfg_sense_input(ONEWIRE_DATA_PIN, NRF_GPIO_PIN_NOPULL, NRF_GPIO_PIN_SENSE_LOW);  // OneWire data Pin

    as i did before  with ?

    nrf_gpio_pin_dir_set(ONEWIRE_DATA_PIN, GPIO_PIN_CNF_DIR_Output); // One Wire Direction output

    Best regards,

    Markus

Children
Related