-
How do you configure the pin to act as reset?
it is enabled by this line
and the change is permanently saved to configuration registers in UICR flash area (so removing that flag from build does not disable it)Reason being I want to add a brownout detection chip that resets the board if power dips.
just fyi the nrf5232 has brownout detection and does a reset
https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/power.html?cp=4_2_0_17_3_0#unique_521647991
there is also reset reason flag for brownout so you know it happened
https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/power.html?cp=4_2_0_17_5_5#brown_out_reset
On the MDBT42Q page it says that pin D21 can be configured as 'NRST'. This conflicts with Raytac's datasheet where it says it can be configured as 'RESET'. I couldn't find anything in the API reference as to how to configure the pin.
So questions are:
1) How do you configure the pin to act as reset?
2) Is it active high or active low?
Reason being I want to add a brownout detection chip that resets the board if power dips.
Thanks in advance,
Rob