Hi all,
I did add a reset switch on my custom board. I read some topics how to active it, but I´m not sure if I did it right.
I did add it in the preprocessor define:
Do I have to do something else?
Hi all,
I did add a reset switch on my custom board. I read some topics how to active it, but I´m not sure if I did it right.
I did add it in the preprocessor define:
Do I have to do something else?
Hi,
Is it not working as you expected?
How is the external button connected an to what pin ? Is the switch pulling the nRESET pin low when pushed?
I see you are using the ble_app_uart_pca10056e for for base project, have you gotten it to work otherwise ?
Regards,
Jonathan
Hi,
Is it not working as you expected?
How is the external button connected an to what pin ? Is the switch pulling the nRESET pin low when pushed?
I see you are using the ble_app_uart_pca10056e for for base project, have you gotten it to work otherwise ?
Regards,
Jonathan
Hi Jonathan,
Sorry for the late reply but I didn't see any notification.
I is connected to the reset pin p0.21. Yes the switch is connected to the ground.
The only thing I did is set the CONFIG_GPIO_AS_PINRESET. Do I have to do something else? Because I didn't do anything else atm.
Yes, I'm using the ble_app_uart_pca10056e, but this is my first try. I thought it will be something easy.
Kind regards,
JP
Try removing the DVELOP_IN_NRF52840 config, this maps the pin to the pin that matches the nRF52840DK so it wont match the layout of you custom board in this case.
We have a section here: https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/nrf52811_user_guide.html?cp=8_1_5_1_3#ug_52811_project on how to move project from DK to custom board.
Alternatively you can use nrfjprog to enable pin reset:
--pinresetenable Enables the pin reset by the use of UICR PSELRESET
registers.
Regards,
Jonathan