Search found 24 matches

by brixton
Tue Dec 12, 2023 11:20 am
Forum: Libraries & Hardware
Topic: [STM32L452RE] How to reduce the 360 μA current consumption of I2C in deepSleep?
Replies: 10
Views: 32668

Re: [STM32L452RE] How to reduce the 360 μA current consumption of I2C in deepSleep?

Hi fpiSTM Unfortunately Wire.end() does not change the situation. Current consumption is still around 360 μA. Can you confirm that the update works on your end? I'm using the STM32 board package via the Arduino board manager, so I just copy pasted your commit into the file in "C:\Users\XXX\AppD...
by brixton
Thu Dec 07, 2023 4:26 pm
Forum: Libraries & Hardware
Topic: [STM32L452RE] How to reduce the 360 μA current consumption of I2C in deepSleep?
Replies: 10
Views: 32668

Re: [STM32L452RE] How to reduce the 360 μA current consumption of I2C in deepSleep?

Hi fpiSTM , thanks for making the PR so quick! I haven't been able to test it yet for the I2C, but I can confirm that using SPI.end() for SPI reduces the power consumption back down to 2.0 μA. #include "STM32LowPower.h" #include <SPI.h> void setup() { // pinMode(LED_BUILTIN, OUTPUT); // di...
by brixton
Wed Dec 06, 2023 3:28 pm
Forum: General discussion
Topic: [Nucleo 64 STM32L452RE] Insufficient disk space on current disk. Failed uploading
Replies: 3
Views: 9948

Re: [Nucleo 64 STM32L452RE] Insufficient disk space on current disk. Failed uploading

I just came across something that seems to have fixed the issue (for now) :D I followed this video tutorial for using the Nucleo with STM32CubeIDE. https://www.youtube.com/watch?v=hyZS2p1tW-g Then as I wanted to put the code onto the Nucleo ("debug as"), I got a message saying the ST link ...
by brixton
Wed Dec 06, 2023 3:21 pm
Forum: Libraries & Hardware
Topic: [STM32L452RE] How to reduce the 360 μA current consumption of I2C in deepSleep?
Replies: 10
Views: 32668

Re: [STM32L452RE] How to reduce the 360 μA current consumption of I2C in deepSleep?

.end() exist for both instance.... ah silly me, I should have checked that better! I had read some old forum posts elsewhere that indicated that these functions did not exist, without actually checking for myself in the Arduino reference. In any case, I have now implemented Wire.end() and it does n...
by brixton
Wed Dec 06, 2023 2:17 pm
Forum: Libraries & Hardware
Topic: [STM32L452RE] How to reduce the 360 μA current consumption of I2C in deepSleep?
Replies: 10
Views: 32668

Re: [STM32L452RE] How to reduce the 360 μA current consumption of I2C in deepSleep?

Hi fpiSTM , thanks for the quick response! Just to be clear, there are no peripherals attached to the Nucleo board. So no I2C device, and no SPI device. Just the Nucleo board, attached via USB to my PC. So when you say Up to the application to properly end the peripheral before entering in LP mode. ...
by brixton
Wed Dec 06, 2023 1:17 pm
Forum: Libraries & Hardware
Topic: [STM32L452RE] How to reduce the 360 μA current consumption of I2C in deepSleep?
Replies: 10
Views: 32668

Re: [STM32L452RE] How to reduce the 360 μA current consumption of I2C in deepSleep?

For SPI similar question, With SPI active I get 93.4 μA in deepSleep, and 2.4 μA without. #include "STM32LowPower.h" #include <SPI.h> void setup() { pinMode(LED_BUILTIN, OUTPUT); digitalWrite(LED_BUILTIN, HIGH); delay(5000); /*------- Enable/disable the below piece of code--------- */ // S...
by brixton
Wed Dec 06, 2023 1:05 pm
Forum: Libraries & Hardware
Topic: [STM32L452RE] How to reduce the 360 μA current consumption of I2C in deepSleep?
Replies: 10
Views: 32668

[STM32L452RE] How to reduce the 360 μA current consumption of I2C in deepSleep?

Hello everyone :) I'm currently using the Nucleo for the STM32L452RE. There are no peripherals attached to it. I measure current consumption in the following cases at at JP6, IDD. If I activate Wire functions, I get roughly 360 μA in deepSleep mode :shock: If I deactivate Wire functions, I get rough...
by brixton
Wed Dec 06, 2023 12:39 pm
Forum: General discussion
Topic: [Nucleo 64 STM32L452RE] Insufficient disk space on current disk. Failed uploading
Replies: 3
Views: 9948

[Nucleo 64 STM32L452RE] Insufficient disk space on current disk. Failed uploading

Hello everyone, Uploading the standard Arduino blink sketch to Nucleo does not work anymore for me since one day ago (before it worked fine). I get the following error. Insufficient disk space on current disk. Insert another disk and type <Return> to continue... Failed uploading: uploading error: ex...
by brixton
Mon Dec 04, 2023 5:44 pm
Forum: General discussion
Topic: [STM32L452RE] Can a 8 MHz HSE crystal cause 5 mA current usage increase in shutdown mode?
Replies: 1
Views: 8160

[STM32L452RE] Can a 8 MHz HSE crystal cause 5 mA current usage increase in shutdown mode?

Hello everyone, I have two devices, both using the same STM32L452RE chip as the main (and only) MCU. It's the Nucleo 64 L452RE board, and a custom PCB. When I put both into sleep modes (using STM32LowPower library), the custom PCB consistently draws more power . In "deepSleep" the Nucleo u...
by brixton
Wed Oct 18, 2023 3:47 pm
Forum: Libraries & Hardware
Topic: STM32LowPower - max limit on milliseconds for deepSleep()
Replies: 1
Views: 3832

STM32LowPower - max limit on milliseconds for deepSleep()

Hello, Is there max limit on deepSleep(uint32_t ms)? Other than the max of a uint32_t, which would be 2^32 - 1 = 4294967295. I'm coming from a teensy with Snooze library, and that uses a upper limit per sleep cycle of 60 s I believe, hence the question. This page only mentions the lower limit for so...

Go to advanced search