1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

SAM3N00B repeatedly powers up and down..is this OK?

Discussion in 'ARM' started by Flyback, Apr 27, 2013.

  1. Flyback

    Flyback Well-Known Member

    Joined:
    Jan 5, 2007
    Messages:
    1,989
    Likes:
    34
    Hello,

    We are using a SAM3N00B microcontroller in our "special" emergency light application.

    Whenever the battery is removed when the mains is ON, the microcontroller repeatedly powers down and powers back up again.......(once every 5 seconds)

    Is this a problem? (does repeated power up and down damage the micro?)

    Our new software engineer says it is a problem, but can't say why.


    Its certainly not a problem from the point of view of the operation of the unit.

    SAM3N00B datasheet
    http://www.electro-tech-online.com/custompdfs/2013/04/doc11011.pdf
     
  2. dougy83

    dougy83 Well-Known Member

    Joined:
    May 18, 2008
    Messages:
    2,672
    Likes:
    215
    Location:
    Brisbane, Australia
    Powering up and down of a microcontroller doesn't damage it. It is important to take the rest of the circuit into account, as it is possible for things that the microcontroller is connected to cause issue to themselves or to the microcontroller. This is not normally an issue if the hardware engineer has put in the appropriate fail-safes for when e.g. the microcontroller pins are at undefined states.

    Your new software guy should provide a reason for his opinion, otherwise it's as good as baseless superstition.
     
  3. moffy

    moffy Member

    Joined:
    Mar 23, 2011
    Messages:
    233
    Likes:
    11
    As dougy83 says it depends on the circuit. On switch off things could be left in an undefined state if the code doesn't have a warning to power stuff down. Also you need a reliable power up sequence for the hardware and the software. But you should do these things as a matter of good design, as power interruptions can occur when least anticipated.
     

Share This Page