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

nRF52840 custom hardware Reset using External switch

Hi All,

I have designed one device using nRF52840 MCU and software SDK nRF5_SDK_for_Thread_and_Zigbee_v3.0.0_d310e71.

From Software end all features are implement and are working as expected.

In our custom device we have included RESET feature using External Switch means, whenever the switch is pressed device must reset it like when we press if BOOT/Reset button on Dev-kit.

For this features, we have connected External Switch to P0.25 with pull-up register and connected to RESET circuit in path of P0.18 pin. I am attaching schematic file for reference.

Also, I have checked software in system_nRF52840.c and in Pre-processor definition regarding MACRO "CONFIG_GPIO_AS_PINRESET", attached are screen shot of the same.

I tried to add the MACRO again in preprocessor but still the result same. I am not able to RESET my device using external switch.

1. Screen shots,

2. Schematic file

0160.UP_DI_ZB 755-00-CIR.pdf

Let me if I am doing some thing regarding RESET feature or Is there anything to be added in software or any file to be changed so that I can RESET custom hardware using external switch.

Thanks in advance

Rohit R

Related