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

I have a question about the power switch.

Hello!

I'm doing the firmware that will be applied to the custom device.
This device contains one button, which has two functions. (Function output according to button input time)

(This device is not yet manufactured.)

One of the two functions is to turn the power on/off.  This is the first time to control the power, is the power of the device done in the design of the hardware? Or should I control the firmware after setting up the hardware?

Can I know about this?

Thank you in advance.

Parents
  • Hi,

    I'm not sure I understood your question right.. The common way is to connect a button with power-on functionality to some GPIO like any other button. The device will be powered on automatically when battery is connected, then you can configure wake-up from PORT event and put CPU into SYSTEM OFF mode (power consumption will be about 3uA).

Reply
  • Hi,

    I'm not sure I understood your question right.. The common way is to connect a button with power-on functionality to some GPIO like any other button. The device will be powered on automatically when battery is connected, then you can configure wake-up from PORT event and put CPU into SYSTEM OFF mode (power consumption will be about 3uA).

Children
Related