2022-02-11 06:53 AM
Greetings, i am developing a application that will run on a RAK3172 module and i have been attempting to use the radio End-Of-Life flag to detect when the battery supply is too depleted to operate the radio safely.
The base application is the LoRaWAN_End_Node sample with modifications to make it run on a RAK3172 package mounted on a custom PCB.
As the first thing upon entering the main function, i activate the end of life detection enable register with the function (HAL_PWREx_SetRadioEOL) provided to me by the sdk. Then i connected the board to a power supply to simulate different battery charge levels.
To make a long story short, for some reason the EOL flag (in PWR-SR2) remains always set to 1, regardless of:
-enabling or disabling of the EOL enable register
-state of the radio
-supply voltage
Unfortunately this makes the end-of-life detector useless as i cannot discriminate whether or not the battery is sufficiently full to operate the radio safely.
Thanks in advance
2022-03-15 03:03 AM
Hello,
Thank you for your message
We are investigating. Note anyway that a more accurate and more power-efficient way to detect voltage to enable or not sub-Ghz radio is to use the PVD feature.
Please look at chapter 5.2.2 of RM0461
We keep you inform
Best Regards
2022-04-29 04:18 AM
Hello, has there been any news in that regard?
Minor addendum, further tests on the MCU in our possession have shown that:
2022-05-03 07:53 AM
Hello @IFant.1 ,
Thank you for your precisions !
We are still working on this issue, we will let you know when we found a fix.
Hope you are not stuck because of this issue
Best Regards
2022-05-13 02:44 AM
Hello,
Thank you for your investigations.
We confirm this feature works properly but there is indeed an error in the user manual as you state it.
We will correct it in the next release.
Best Regard,
Benoit