2020-10-14 04:09 AM
I'm trying to measure an IoT device current consumption with the devKit STM32L562E-DK. It claims to measure currents from 300 nA to 150 mA but I'm unable to measure any current beyond 50mA. To run the tests I'm using STM32CubeMonitor-Power and the board works fine with low currents but it stops as soon as the Tx (LoRa) starts.
[https://www.st.com/content/st_com/en/products/evaluation-tools/product-evaluation-tools/mcu-mpu-eval-tools/stm32-mcu-mpu-eval-tools/stm32-discovery-kits/stm32l562e-dk.html]
Am I missing anything?
Kind regards,
Diego
Solved! Go to Solution.
2020-11-02 10:28 AM
Hi Diego,
Behavior you are describing looks very strange to me and especially regarding the workaround (removing R155 and connecting R154 with 10k ) that solves your issue.
In the STM32L562E-DK, there are both:
Your workaround (removing R155) disables the software overcurrent detection; but does not disable the hardware overcurrent protection.
I suspect there is a very short overcurrent in your application when you enable the Tx (LoRa).
Could you please make a new measurement with STM32CubeMonitor-Power:
Please provide Max current and make a screen shot of the curve when this max current occured (and past the screenshot to this post)
By the way, if the current exceed 166mA, it is normal that STM32L562E-DK detects an overcurrent.
2020-10-16 03:10 AM
I managed to run the measurement removing R155 and populating R154 (10K).
This way the microcontroller doesn't know if the protection circuit is enabled and carry on measuring all the time.
2020-11-02 10:28 AM
Hi Diego,
Behavior you are describing looks very strange to me and especially regarding the workaround (removing R155 and connecting R154 with 10k ) that solves your issue.
In the STM32L562E-DK, there are both:
Your workaround (removing R155) disables the software overcurrent detection; but does not disable the hardware overcurrent protection.
I suspect there is a very short overcurrent in your application when you enable the Tx (LoRa).
Could you please make a new measurement with STM32CubeMonitor-Power:
Please provide Max current and make a screen shot of the curve when this max current occured (and past the screenshot to this post)
By the way, if the current exceed 166mA, it is normal that STM32L562E-DK detects an overcurrent.
2021-04-29 05:09 AM
This very-limited maximum for dynamic measurement - and, in particular, the way over-limit is handled - makes the X-NUCLEO-LPM01A PowerShield useless in many STM32 applications - see:
:unamused_face: