A few days ago, a customer from Mainland China reported the same problem, when we saw you have a same problem again today, which attracted our attention. I just took two brand new Node 151 for testing, everything is normal. I think the problem may be in the configuration.
Here is mine micro definition (maybe you don’t need ADC_measurement):
In order to use debug function of Node 151, pay attention to two things:
Because the deep sleep mode have disabled the SWD and SWCLK pins.
Must disable the
USB_VCP is the micro definition for STM32L151’s USB virtual serial port, use virtual serial port and debug function at the same time, will cause a conflict.
I didn’t find relevant documents for this conflict, but with testing, the conflict does exist. I think it may be a protection mechanism of STM32. Because the SW debugging mode will power the chip, and the USB will also power the chip. It is very dangerous for a chip to have two sets of different total power supplies.