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

"app_button" functions doesn't work on XL1 gpio "P0.00"

Hello,

On my custom board, on nrf52832, I can can use app_buttons for all usual pins, but not the XL1 (P0.00). I didn't try XL2 (not routed)

Using this pin as input or output works fine with standard functions.  I use sdk15.2, with softdevice s132, and didnt't try without it (I'm not sure it would help, and anyway I need the softdevice)

As I'm not using the 32kHz crystal, I set my sdk_config with:

#define NRFX_CLOCK_CONFIG_LF_SRC 0
#define CLOCK_CONFIG_LF_SRC 0
#define NRF_SDH_CLOCK_LF_SRC 0
Do you have some idea?
I guess is might need some interuption configuration.
Parents Reply
  • fine,
    you might want to check NRF_GPIO->PIN_CNF[0]  compared to NRF_GPIO->PIN_CNF[1], after config, and during loop.
    If it change, something wrong happened, try to find where.
    If it's not the case, you might need to create you own topic, as it's not the same bug than me Slight smile
    You might have a faster answer from someone from Nordic. Also, you might need to give more details about your problem.


Children
Related