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

Is it possible to disable MCU reset behavior when using Mesh stack.

Hi
I have implemented a controller device using nRF52832. The controller device is installed in an industrial
control box where it is used to control relays that subsequently controls Magnetic switches. I tested two
wireless communication options, i.e.:
1) Standard stack with BLE communication enabled.
2) Mesh stack with mesh communication enabled.

In the first case (using BLE stack), when the nRF52832 commands the relay (and hence the magnetic
switch) to turn on or off, an interference occurs, I noticed that BLE is interrupted and connection to a
mobile phone is disconnected. However, the controller can still perform its control function and can
continue the control algorithm as programmed.

In the second case (using Mesh stack), when the nRF52832 commands the relay (and hence the
magnetic switch) to turn on or off, an interference occurs as in the above case, I noticed that MCU is
reset. This has a severe consequence, where the control function / algorithm is also interrupted.

Is it possible to turn reset command off or disable reset behavior when using Mesh stack in a case where
there is an interruption to the RF signal? I hope that mesh stack will have an option to produce the same
behavior as BLE stack (reset only RF function but not other running functions). The control algorithm
should be able to run uninterrupted even when RF signal is interrupted.

I have tried to comment out all commands in the source code that seem to relate to resetting the MCU.
However, the MCU stills reset when using mesh stack.

Parents Reply Children
No Data
Related