2025-12-24 12:51 PM
I have tested the LoRaWAN_End_Node example on a B-WL5M-SUBG1 board and I measure power consumption of 1.7uA when the processor is in STOP mode between transmissions. This is exactly what I expected to see.
I designed a very simple custom board based on the B-WL5M-SUBG1 design, downloaded the same .elf file to it, and it communicates with my LoRaWAN gateway as I expect. However I measure ~300uA current draw while it is in STOP mode. I have compared my custom board schematic to that of the B-WL5M-SUBG1 several times looking for a difference that would account for that much extra power consumption and I just have not found it.
I am using STM32CubeMX v6.16.0, STM32Cube FW_WL V1.4.0, and the part is STM32WL5MOCH6TR. I have attached the schematic of my custom board.
I am hopeful that someone can see what I have missed.
2026-01-11 11:18 AM
After reviewing DS13293 and AN4899 with regards to unconnected pins I tried defining all unused pins to analog input with a pulldown in STM32CubeMX. It made no difference in my current draw.
I am still searching for answers on this. Any suggestions will be appreciated.
2026-01-11 10:06 PM
2026-01-15 12:26 PM
Thanks for the help. It turns out that "remove the debugger completely for the test" and configuring pullups on PA2 and PA3 (UART pins) did the trick. It draws about 1.2uA in STOP mode now.