Hi,
I have a question about the reset_DW1000 function in the DWM1001 TWR simple example.
void reset_DW1000(void)
{
nrf_gpio_cfg_output(DECA_RST_PIN);
nrf_gpio_pin_clear(DECA_RST_PIN);
nrf_delay_ms(200);
nrf_gpio_pin_set(DECA_RST_PIN);
nrf_delay_ms(50);
nrf_gpio_cfg_input(DECA_RST_PIN, NRF_GPIO_PIN_NOPULL);
nrf_delay_ms(2);
}
I’m wondering what is the purpose of nrf_gpio_pin_set(DECA_RST_PIN). Doesn’t this action set the Reset pin high? The manual emphasizes that the Reset pin must not be driven high externally.
Thanks!