1
- # A low power usayncio adaptation
1
+ # A low power usayncio adaptation for Pyboards
2
2
3
- Release 0.11 8th April 2019
3
+ Release 0.11 9th April 2019
4
4
5
5
API change: low power applications must now import ` rtc_time_cfg ` and set its
6
6
` enabled ` flag.
@@ -15,8 +15,9 @@ Now supports Pyboard D.
15
15
3.2.1 [ Consequences of stop mode] ( ./README.md#321-consequences-of-stop-mode )
16
16
3.2.1.1 [ Timing Accuracy and rollover] ( ./README.md#3211-timing-accuracy-and-rollover )
17
17
3.2.1.2 [ USB] ( ./README.md#3212-usb )
18
- 3.2.2 [ Measured results] ( ./README.md#322-measured-results )
19
- 3.2.3 [ Current waveforms] ( ./README.md#323-current-waveforms )
18
+ 3.2.2 [ Measured results Pyboard 1] ( ./README.md#322-measured-results-pyboard-1 )
19
+ 3.2.3 [ Current waveforms Pyboard 1] ( ./README.md#323-current-waveforms-pyboard-1 )
20
+ 3.2.4 [ Pyboard D measurements] ( ./README.md#324-pyboard-d-measurements )
20
21
4 . [ The rtc_time module] ( ./README.md#4-the-rtc_time-module )
21
22
5 . [ Application design] ( ./README.md#5-application-design )
22
23
5.1 [ Hardware] ( ./README.md#51-hardware )
@@ -190,7 +191,7 @@ adaptor.
190
191
191
192
###### [ Contents] ( ./README.md#a-low-power-usayncio-adaptation )
192
193
193
- ### 3.2.2 Measured results
194
+ ### 3.2.2 Measured results Pyboard 1
194
195
195
196
The ` lpdemo.py ` script consumes a mean current of 980μA with 100ms latency, and
196
197
730μA with 200ms latency, while awaiting a button press.
@@ -219,7 +220,7 @@ A data logging application might tolerate latencies of many seconds while
219
220
waiting for a long delay to expire: getting close to ` ib ` may be practicable
220
221
for such applications during their waiting period.
221
222
222
- ### 3.2.3 Current waveforms
223
+ ### 3.2.3 Current waveforms Pyboard 1
223
224
224
225
Running ` lpdemo.py ` while it waits for a button press with latency = 200ms.
225
226
It consumes 380μA except for brief peaks while polling the switch.
@@ -233,6 +234,13 @@ Vertical 20mA/div
233
234
Horizontal 500μs/div
234
235
![ Image] ( ./current1.png )
235
236
237
+ ### 3.2.4 Pyboard D measurements
238
+
239
+ As of this release the two demo applications consume around 3.3mA. This is high
240
+ because the unused pins are floating. When I discover which pins can be set to
241
+ input with pullups as per the Pyboard 1.x implementation I hope to see figures
242
+ comparable to Pyboard 1.x.
243
+
236
244
###### [ Contents] ( ./README.md#a-low-power-usayncio-adaptation )
237
245
238
246
# 4. The rtc_time module
0 commit comments