You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The micro:bit contains two microcontrollers, the Interface MCU (KL27) which provides the USB functionality, and the Target MCU (nRF52) where the user code runs.
32
+
More information can be found in the [Tech Site DAPLink page](https://tech.microbit.org/software/daplink-interface/).
33
+
34
+
In micro:bit V1 the Interface MCU (KL26) is not powered via batteries or the Edge Connector, so the sleep functionality is only implemented in the Target MCU (nRF51).
35
+
The micro:bit V2 powers both MCUs with all power sources, so to set the board into a sleep mode some co-operation via the [I2C protocol](https://github.com/microbit-foundation/spec-i2c-protocol) is needed.
36
+
37
+
The micro:bit V2 has four power modes described in this document:
38
+
39
+
-[On Mode](#on-mode)
40
+
-[Deep Sleep Mode](#deep-sleep-mode)
41
+
-[Off Mode](#off-mode)
42
+
-[Stand-by Mode](#stand-by-mode)
16
43
17
44
18
45
## Terminology
@@ -32,20 +59,11 @@ This is version 1.0.0 of the specification.
32
59
| COMBINED_SENSOR_INT | Interrupt signal shared between all the internal I2C devices in the micro:bit board |
33
60
34
61
35
-
## Introduction
36
-
37
-
The micro:bit contains two microcontrollers, the Interface MCU (KL27) which provides the USB functionality, and the Target MCU (nRF52) where the user code runs.
38
-
More information can be found in the [Tech Site DAPLink page](https://tech.microbit.org/software/daplink-interface/).
39
-
40
-
In micro:bit V1 the Interface MCU (KL26) is not powered via batteries or the Edge Connector, so the sleep functionality is only implemented in the Target MCU (nRF51).
41
-
The micro:bit V2 powers both MCUs with all power sources, so to set the board into a sleep mode some co-operation via the [I2C protocol](https://github.com/microbit-foundation/spec-i2c-protocol) is needed.
42
-
43
-
44
62
## micro:bit Power Modes
45
63
46
64
We want to define 4 user-facing power modes for the micro:bit board. These board-level modes will be achieved via a combination of different subsystem power modes.
47
65
48
-
-**On Mode**: Normal running mode.
66
+
-**<aid="on-mode"></a>On Mode**: Normal running mode.
49
67
- As far as the user is concerned, everything is running
50
68
- The software in the Target (nRF52) and Interface (KL27) can decide to go into Sleep if they are idle
51
69
- If the Interface (KL27) is not PC Connected and is idle it must go into Sleep
@@ -58,7 +76,7 @@ We want to define 4 user-facing power modes for the micro:bit board. These board
58
76
- The Power (red) LED must be ON
59
77
- If the board is PC connected the USB (orange) LED must be ON
60
78
- If the board is not PC connected the USB (orange) LED must be OFF
61
-
-**Deep Sleep Mode**: A mode triggered by the user code to go into a low-power state
79
+
-**<aid="deep-sleep-mode"></a>Deep Sleep Mode**: A mode triggered by the user code to go into a low-power state
62
80
- The Interface (KL27) does not do anything different to the On Mode
63
81
- The Target (nRF52) must turn off the on-board components
64
82
- The Target (nRF52) must go into Sleep
@@ -81,7 +99,7 @@ We want to define 4 user-facing power modes for the micro:bit board. These board
81
99
- The Interface (KL27) must reset the Target (nRF52) when the reset button is released
82
100
- If the board is PC Connected the USB (orange) and Power (red) LEDs must be ON
83
101
- If the board is not PC Connected the USB (orange) and Power (red) LEDs must be OFF
84
-
-**Off Mode**: Lowest possible power state for all components on the board
102
+
-**<aid="off-mode"></a>Off Mode**: Lowest possible power state for all components on the board
85
103
- The board can be considered "off", although it will still consume power
86
104
- This mode can only be reached if the micro:bit is powered via battery or USB bank (not USB Connected)
87
105
- The Target (nRF52) must turn off the on-board components
@@ -97,7 +115,7 @@ We want to define 4 user-facing power modes for the micro:bit board. These board
97
115
- Pressing the reset button
98
116
- The Power (red) LED must be OFF
99
117
- The USB (orange) LED must be OFF
100
-
-**Stand-by Mode**: User long presses the reset button, while the micro:bit is PC Connected, to stop their Target (nRF52) programme
118
+
-**<aid="stand-by-mode"></a>Stand-by Mode**: User long presses the reset button, while the micro:bit is PC Connected, to stop their Target (nRF52) programme
101
119
- This is the same as the Off Mode, but this mode is activated when the micro:bit is PC Connected
102
120
- The Interface (KL27) must not go into any sleep in this case, the rest behaves the same
103
121
- The Power (red) LED must be blinking
@@ -297,3 +315,15 @@ The only way to transition from Sleep to Stand-by is by the user pressing the re
297
315
### Off or Stand-by -> Deep Sleep
298
316
299
317
Not possible.
318
+
319
+
320
+
## Changelog
321
+
322
+
**1.0.1**:
323
+
- Added Table of Contents.
324
+
- Rorganised sections for better presentation.
325
+
- Added links to the power modes to the intro
326
+
- Added markdown frontmatter metadata for tech.microbit.org website rendering.
0 commit comments