is there a way to programatically leave safe mode?

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
digiron
 
Posts: 1
Joined: Tue Apr 13, 2021 12:40 pm

is there a way to programatically leave safe mode?

Post by digiron »

Howdy!

Our research team is running a project. We're using a
Power Timer Breakout
to cycle on a
Adafruit Feather M0 Express - ATSAMD21 Cortex M0
every 30 minutes or so.

However, we find that a majority of our feather's always ends up in safe mode after a while. We've done a tone of trials with different capacitors and fresh batteries, but the majority of our devices end up flashing yellow after being cycled on few times (or even after their first run). I am pretty sure this means they're in safe mode. Since we're deploying these in a literal field, we can't manually reset them every day once they stop running the main programming. Is there a way to get these to reboot (or write to the reset pin) if they start in safe mode?

Cheers

User avatar
Franklin97355
 
Posts: 23903
Joined: Mon Apr 21, 2008 2:33 pm

Re: is there a way to programatically leave safe mode?

Post by Franklin97355 »

What are your programming and how do you have the timer connected? Paste your programming between CODE TAGS TO MAINTAIN THE SPACING. Thanks.

User avatar
adafruit_support_mike
 
Posts: 67391
Joined: Thu Feb 11, 2010 2:51 pm

Re: is there a way to programatically leave safe mode?

Post by adafruit_support_mike »

The yellow LED on a Feather is connected to the buil-in LiPo charger's status pin. The LED lights when the LiPo is charging, or when the charger detects an error condition.

If no LiPo is attached, the voltage at the charger's output pin is undefined.. in practice, it will be controlled by parasitic currents in the board, static electricity, and seepage connections throug the film of humidity adsorbed to the surface of the PCB. Those conditions can change, and the LiPo charger considers some of the changes to be errors. That results in a blinking yellow LED that doesn't have any meaning related to board function.

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”