Search found 1738 matches

by fpiSTM
Fri Jan 26, 2024 8:36 am
Forum: IDE's
Topic: How to debug stm32 using arduino IDE debug function?
Replies: 4
Views: 1687

Re: How to debug stm32 using arduino IDE debug function?

Normally step 5 is enough. 6 and 7 are not properly managed by IDE.
by fpiSTM
Fri Jan 26, 2024 6:49 am
Forum: IDE's
Topic: How to debug stm32 using arduino IDE debug function?
Replies: 4
Views: 1687

Re: How to debug stm32 using arduino IDE debug function?

You need to build with optimize for debug selected in the menu. A STlink with reset signal connected.
by fpiSTM
Fri Jan 26, 2024 6:47 am
Forum: General discussion
Topic: Why can't I go to definition?
Replies: 1
Views: 622

Re: Why can't I go to definition?

This is an Arduino IDE issue. Maybe some configuration could help.
by fpiSTM
Thu Jan 25, 2024 8:38 am
Forum: General discussion
Topic: Building with CMake?
Replies: 3
Views: 699

Re: Building with CMake?

You should have arduino-cli installed to be able to retreive info from the installed core:
https://github.com/stm32duino/Arduino_C ... rduino-cli
by fpiSTM
Tue Jan 23, 2024 8:44 am
Forum: General discussion
Topic: I failed to output PWM with PA7 and PA8 at the same time
Replies: 4
Views: 1483

Re: I failed to output PWM with PA7 and PA8 at the same time

PA7 have several other TIM:

https://github.com/stm32duino/Arduino_C ... .c#L95-L99

Simply use the suffixed _ALTx naming, example to use TIM3, use PA7_ALT1.
analogWrite(PA7_ALT1, 128);
by fpiSTM
Tue Jan 09, 2024 10:57 am
Forum: General discussion
Topic: Happy new year 2k24
Replies: 5
Views: 1144

Happy new year 2k24

Hi all,
All my best wishes for this new year for you and your families.
Fred
by fpiSTM
Mon Dec 18, 2023 2:38 pm
Forum: Libraries & Hardware
Topic: [STM32L452RE] How to reduce the 360 μA current consumption of I2C in deepSleep?
Replies: 10
Views: 21343

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

I've made some test and found why. I've made a fix:
https://github.com/stm32duino/Arduino_C ... /pull/2227

You can test on your side, adding below lines after the Wire.end():

Code: Select all

pinMode(SDA, INPUT_ANALOG);
pinMode(SCL, INPUT_ANALOG);
by fpiSTM
Wed Dec 13, 2023 8:33 am
Forum: Libraries & Hardware
Topic: [STM32L452RE] How to reduce the 360 μA current consumption of I2C in deepSleep?
Replies: 10
Views: 21343

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

I did not test, just do this fix after code review. The I2C is disable by the HAL I2C deinit then the clock are disable, nothing more we can do.
So the issue is elsewhere but no idea.

Go to advanced search