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

why the system reset every 3minutes?

I modified "pca10001\ble\experimental\ble_app_uart". I add 1 button(app_button.c) and 1 second Timer (app_timer.c)to display clock through UART to PC terminal.

But the system reset every 3minutes. Pls help me.

ble_app_un.zip

Parents
  • This happens because the advertising is setup to have a timeout of 180 s (3 minutes), and in the on_ble_evt() method, the chip is put in system off when this occurs. In system off, everything is turned off, and the clock hence stops.

    Please note that the chip doesn't reset before you actually wake it up again; it will just stay in system off waiting for a reset or a GPIO configured with SENSE is set.

Reply
  • This happens because the advertising is setup to have a timeout of 180 s (3 minutes), and in the on_ble_evt() method, the chip is put in system off when this occurs. In system off, everything is turned off, and the clock hence stops.

    Please note that the chip doesn't reset before you actually wake it up again; it will just stay in system off waiting for a reset or a GPIO configured with SENSE is set.

Children
No Data
Related