Looks a little bit messy: https://github.com/micropython/micropython/pull/16431
With the last MicroPython v1.25.0-preview.117.gee8d8b344 on 2024-12-16; Raspberry Pi Pico2 with RP2350
I see it behaves better, doesn't end in hard-fault crash anymore, but USB is gone ... I mean dead, cold stone dead.
And 'lightsleep' name is very misleading, it should not block interrupts, eventually stop the source of unwanted interrupts (like wifi -which can consume a lot of current), otherwise that peripheral might crash itself or cause a chain of crashes.
That explains a lot.Test on RP2350 (help wanted, I don't have hardware).
With the last MicroPython v1.25.0-preview.117.gee8d8b344 on 2024-12-16; Raspberry Pi Pico2 with RP2350
I see it behaves better, doesn't end in hard-fault crash anymore, but USB is gone ... I mean dead, cold stone dead.
And 'lightsleep' name is very misleading, it should not block interrupts, eventually stop the source of unwanted interrupts (like wifi -which can consume a lot of current), otherwise that peripheral might crash itself or cause a chain of crashes.
Statistics: Posted by gmx — Tue Dec 17, 2024 1:38 pm