Skip to main content
Associate III
May 10, 2024
Solved

STM32WL55JC LoRa End Node example - Stop Mode/Low Power Mode

  • May 10, 2024
  • 1 reply
  • 2453 views

Good morning,
I have been following the stm channel board videos on the LoraWan examples. I was able to correctly configure and connect the board from the example provided in the MX “LoRaWan_EndNode”.

But replicating the last video:
https://www.youtube.com/watch?v=uYULivHQoNI&t=242s

I get a current on the order of 350mA, far from its 2uA.
Is there any practical and simple example on how to set RTC so that it goes into stop mode after TX?
thanks for your help

Best answer by Andrew Neil

 


@IngSerio wrote:

my board is a STM32WL55JC1.


That's just the chip - not the board.

What board is that chip mounted on - if it's an ST Board, state which; if it's a custom board, give schematics.

 


@IngSerio wrote:

It's actually one of my first times with these technologies so I was starting with the “LoRaWan End Node” example


That's throwing in a huge amount of LoRaWAN complexity if you're just starting!

I would strongly suggest that you start with an ST Nucleo board, and the basic examples that just put it into the low-power modes.

Once you're familiar with getting it into and out of low power modes, and measuring the currents in those modes, then move on to adding LoRaWAN...

 

I see a new knowledgebase article on low power modes has just been posted:

https://community.st.com/t5/stm32-mcus/tips-for-using-stm32-low-power-modes/ta-p/621007

 

See also:

https://wiki.st.com/stm32mcu/wiki/Introduction_to_Low_power_with_STM32

 

And:

https://www.st.com/resource/en/application_note/an4777-how-to-optimize-power-consumption-on-stm32-mcus-stmicroelectronics.pdf 

1 reply

Andrew Neil
Super User
May 13, 2024

What board are you using?

How are you measuring the current?

Before getting into all the LoRa stuff, can you just put the chip into Stop, and measure 2uA?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
IngSerioAuthor
Associate III
May 13, 2024

Hello,

my board is a STM32WL55JC1.

i'm using a STLINK-V3PW gor the measurement.

It's actually one of my first times with these technologies so I was starting with the “LoRaWan End Node” example because there was a tutorial and it seemed to be enough to enable it so that when it was in idle it would go into stopmode. I'm a stuck now though.

If you can help me I would be grateful

Roberto

Andrew Neil
Andrew NeilBest answer
Super User
May 13, 2024

 


@IngSerio wrote:

my board is a STM32WL55JC1.


That's just the chip - not the board.

What board is that chip mounted on - if it's an ST Board, state which; if it's a custom board, give schematics.

 


@IngSerio wrote:

It's actually one of my first times with these technologies so I was starting with the “LoRaWan End Node” example


That's throwing in a huge amount of LoRaWAN complexity if you're just starting!

I would strongly suggest that you start with an ST Nucleo board, and the basic examples that just put it into the low-power modes.

Once you're familiar with getting it into and out of low power modes, and measuring the currents in those modes, then move on to adding LoRaWAN...

 

I see a new knowledgebase article on low power modes has just been posted:

https://community.st.com/t5/stm32-mcus/tips-for-using-stm32-low-power-modes/ta-p/621007

 

See also:

https://wiki.st.com/stm32mcu/wiki/Introduction_to_Low_power_with_STM32

 

And:

https://www.st.com/resource/en/application_note/an4777-how-to-optimize-power-consumption-on-stm32-mcus-stmicroelectronics.pdf 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.