This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

external device RST pin

Hello! I'm in doubts about proper configuration of GPIO pin, which I'd like to be able to reset external device (DWM1000), connected to nRF51 by SPI. The datasheet says, the RST pin of device has to be connected directly to output pin of uController. After powering up, RST pin is driven to high impedance internally by device and to signal reset I have to pull it down for short time, then disconnect it.

Do I understand it right, that below config and operations have to be considered to implement this feature?

        nrf_gpio_cfg(
            pin_number,
            NRF_GPIO_PIN_DIR_OUTPUT,
            NRF_GPIO_PIN_INPUT_DISCONNECT,
            NRF_GPIO_PIN_NOPULL,
            NRF_GPIO_PIN_H0D1,
            NRF_GPIO_PIN_NOSENSE);

then to reset:

nrf_gpio_pin_set(pin_number);
// wait couple usecs
nrf_gpio_pin_clear(pin_number);
Related