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

nRF52810 crash within 1 day of idle (sd_app_evt_wait) with every 4s advertising.

Hi, I using nrf52810 with custom BLE profile and 4 sec advertising + continuous RTC. Device is battery powered (750 mAh) and PMDC motor equipped. Most of time (90% of day) it sleep with sd_app_evt_wait continuously checking state if turn-on button or connection of battery charger or BLE connection. After 8..20 hours of sleeping the firmware crashes. Within 3 hours after reset it dont crash.

Parents Reply Children
  • Hello, I set debug level to 4, and left the device for holidays. But there is no any text except that i already saw when turn device to sleep. I added many files to template project, my app has SAADC-based battery capacity calculation algorithm (work if device turned on) that uses picewise interpolation of battery discharge curve points, button/endstop and external capacitive sensor ic control that uses "app_button" library, sound buzzer, pmdc motor PID double direction control by PWM, motor feedback by measuring time with transflective optical sensor, bluetooth (adv+connection with IAS, BAS, my custom service, DIS), device has some settings that I saving in and read of GPREGRET2 register, RTC date and time callback by "app_timer" library. Also if I dont connect a debugger - it will crash. Maybe bug in a Logging module? nrf_log

Related