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

Light_switch Example from Mesh SDK: New configured buttons on nRF52840 dongle do not work

Hello everybody,

I have programmed the example light_switch (server) and (client) from SDK for Mesh examples on two nrf52840 dongle and it worked .. I can control the LED with the help of the mobile app "nRF Mesh". The only problem is that the buttons do not work, I reconfigured them by mapping the BUTTONS (2, 3 and 4) to new GPIOs (1.15), (0.24) and (1.0)  ,

Does anyone know anything about this problem, I would be happy about your support

Parents Reply
  • hello joakim,

    first of all thank you for your answer.

    yes exactly, I re-mapped the button on the dongle, the only button that worked was the button with the port (0.24), because this port is also on the dongle.
    I also have two nrf25840 DKs. For testing I changed the line in the file "pca10056.h" (with different PINs)
    #define BUTTON_1 NRF_GPIO_PIN_MAP (0.17) // NRF_GPIO_PIN_MAP (0.20) // 11

    Note: if I print the value of the function bsp_board_pin_to_button_idx (NRF_GPIO_PIN_MAP (0.17)) I get 0.

    .. it didn't work either. Then I measured current with an oscilloscope .. and no current flows.

    do you have any idea why?

    best regards

Children
Related