← index #4716Issue #6298
Off-topic · high · value 1.954
QUERY · ISSUE

H743ZI sleep modes

openby orelmiopened 2019-04-23updated 2019-08-27
port-stm32

Hello,

I see that function machine_deepsleep has a TODO for STM32H7.

Please could you help me to implement the TODO ? I should do that but i need main guide lines.

Thanks

Aurélien

CANDIDATE · ISSUE

Deepsleep() on nrf52832 not implemented?

closedby Deenisopened 2020-07-29updated 2020-07-31

I'm having a custom build hardware with the nrf52832, everything works so far, except deepsleep.

Pulling latest from repository, and building with:
make BOARD=feather52 FROZEN_MPY_DIR=freeze SD=s132 flash sd

Connecting to device through WebBluetooth REPL, everything works as expected. However:
import machine
machine.deepsleep(60000)

Throws the following error:
Traceback (most recent call last):
File "<stdin>", in <module>
TypeError: function takes 0 positional arguments but 1 were given

And the following has no effect:
import machine
machine.deepsleep()

Same goes with:
import machine
machine.lightsleep()

Are these features not implemented yet?

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied