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

Using NFC pin P0.10 as wake up pin in nrf52833

Hello ,

         I am trying to use NFC pin p0.10 as WAKE up pin , using nrf_gpio_cfg_sense_input(Btn, NRF_GPIO_PIN_PULLUP, NRF_GPIO_PIN_SENSE_LOW); this code. I have defined CONFIG_NFCT_PINS_AS_GPIOS in prepocessor. But still chip does not wake up from sleep on pressing the pin. The same pin however functions as GPIO (read and write). Is there any additional setting required to use the NFC pins as WAKE up?

Thanks And regards

Dilip

Parents
  • Hi Dilip

    After configuring the input by nrf_gpio_cfg_input() try reading the input pin until the input is high, before you call nrf_gpio_cfg_sense_set() to make sure it's in the right state before you go to sleep.

    Best regards,

    Simon

Reply
  • Hi Dilip

    After configuring the input by nrf_gpio_cfg_input() try reading the input pin until the input is high, before you call nrf_gpio_cfg_sense_set() to make sure it's in the right state before you go to sleep.

    Best regards,

    Simon

Children
No Data
Related