Search found 1944 matches

by fpiSTM
Tue Apr 29, 2025 8:58 pm
Forum: General discussion
Topic: PWM on PB5 pin
Replies: 1
Views: 20

Re: PWM on PB5 pin

PB5 has a timer:
https://github.com/stm32duino/Arduino_Core_STM32/blob/9154e6e0d3b9cbe8692692380517616fda6c5320/variants/STM32L0xx/L051T(6-8)Y/PeripheralPins.c#L89
But PB14 and PB2 do not have one.
So doing analogWrite(PB2, 255) is the same than doing digitalWrite(PB2, HIGH).
Try digitalWrite(PB5 ...
by fpiSTM
Tue Apr 22, 2025 8:56 am
Forum: General discussion
Topic: Blink the PC13 LED with an ST-Link V2
Replies: 1
Views: 386

Re: Blink the PC13 LED with an ST-Link V2

Remove the 3.3v from the swd connector and power the bord with usb.

Boot 0 an 1 have to be 0.
by fpiSTM
Wed Apr 09, 2025 2:12 pm
Forum: General discussion
Topic: STM32F103CT change the length of RXBUFFER of Seiral1
Replies: 2
Views: 145

Re: STM32F103CT change the length of RXBUFFER of Seiral1

If you change in the sketch it is not in the scope of the Serial header to redefine it. Sketch is a cpp file.
Use the build_opt.h way as described here:
https://github.com/stm32duino/Arduino_C ... le-content
by fpiSTM
Sat Mar 15, 2025 3:42 pm
Forum: General discussion
Topic: Slow Build again
Replies: 5
Views: 529

Re: Slow Build again

It is not linked to the core but to Arduino IDE on windows.
On Linux or mac first build take less than a minutes.
by fpiSTM
Fri Mar 14, 2025 10:25 am
Forum: Announcements
Topic: STM32 core release 2.10.1
Replies: 0
Views: 7249

STM32 core release 2.10.1

STM32 core release 2.10.1

* Bug fix of 2.10.0: openocd version
* Enable U0 debug.

Release Note here:
https://github.com/stm32duino/Arduino_C ... tag/2.10.1
by fpiSTM
Fri Mar 14, 2025 9:46 am
Forum: Announcements
Topic: STM32 core release 2.10.0
Replies: 6
Views: 1090

Re: STM32 core release 2.10.0

I've found an issue in the 2.10.0 linked to openocd. Unfortunately the version referenced in the platform.txt is not correct.
https://github.com/stm32duino/Arduino_C ... ssues/2683
I will release a 2.10.1 today to fix this.
I've tested the debug and it works as expected.
by fpiSTM
Fri Mar 14, 2025 6:36 am
Forum: General discussion
Topic: PWM and code in the main loop
Replies: 30
Views: 3259

Re: PWM and code in the main loop

SysTick->VAL isn't incremented when irq disabled IIWR
by fpiSTM
Fri Mar 14, 2025 4:47 am
Forum: General discussion
Topic: PWM and code in the main loop
Replies: 30
Views: 3259

Re: PWM and code in the main loop

DWT_CYCCNT is always incremented even if irq are disabled.
by fpiSTM
Fri Mar 14, 2025 4:45 am
Forum: Announcements
Topic: STM32 core release 2.10.0
Replies: 6
Views: 1090

Re: STM32 core release 2.10.0

Ok. So probably linked to the new openocd version.

Go to advanced search