NRF9160 GPIO boot state defaults to high

Hi,

When the NRF9160 boots the GPIO level of a given pin, such as P12, is set to high (3.3V) before the main application gets a chance to call gpio_pin_configure and gpio_pin_set to set it to low. Is there a way to set in the overlay file so that it remains at zero combined with a HW pull-down while the OS boots? It seems Zephyr is overriding the default low-impedance state of the chip.

Thanks!

Parents
  • Hey,

     Sorry for the delayed response. Any given pin in the nrf9160 DK should be set to low by default when booting the OS unless you set it otherwise in your application. Could you try going through your code and the dts file to make sure that the pin is not used for anything else. Does this happen only with some specific pins.?.

    Kind Regards,

    Swathy

Reply
  • Hey,

     Sorry for the delayed response. Any given pin in the nrf9160 DK should be set to low by default when booting the OS unless you set it otherwise in your application. Could you try going through your code and the dts file to make sure that the pin is not used for anything else. Does this happen only with some specific pins.?.

    Kind Regards,

    Swathy

Children
No Data
Related