Sleep Broken on DipCortex-M0?

14 Nov 2013

If I try to call sleep() or deepsleep() using this target, the microcontroller locks up. I dug into the code, and it looks like mbed_interface_disconnect() is the culprit. The DipCortex-M0 doesn't have an interface chip, but the semihosting code is still being compiled in since it shares a device.h with the official LPC11U24 mbed board.

14 Nov 2013

Hi Neil,

Until the mbed library is fixed here is a working demo of sleep and deepsleep with a DipCortex M0

Import programDipCortex-SleepyTime

Demo of working sleep and deepsleep commands. mbed's version currently does not

14 Nov 2013

Thanks!