Search found 1955 matches

by fpiSTM
Sat Jul 12, 2025 12:23 pm
Forum: General discussion
Topic: [BluePill+] problem with USART interrups
Replies: 5
Views: 52

Re: [BluePill+] problem with USART interrups

That is normal. The handler is already defined for the serial. You have to comment it in the core if you want use Serial. Else you can define the HAL_UART_MODULE_ONLY but Serial instance will be disabled.

https://github.com/stm32duino/Arduino_C ... odule-only
by fpiSTM
Sat Jul 12, 2025 10:06 am
Forum: General discussion
Topic: [BluePill+] problem with USART interrups
Replies: 5
Views: 52

Re: [BluePill+] problem with USART interrups

Code: Select all

extern "C" void USART3_IRQHandler(void)
And avoid print in ISR.
by fpiSTM
Tue Jul 08, 2025 12:21 pm
Forum: General discussion
Topic: Board support
Replies: 1
Views: 372

Re: Board support

No it is not yet released, will come in the coming weeks.
Anyway you can use the GitHub repository: https://github.com/stm32duino/Arduino_C ... repository
by fpiSTM
Tue Jul 08, 2025 4:59 am
Forum: General discussion
Topic: Cannot send/receive at CDC with general-purpose terminal
Replies: 4
Views: 499

Re: Cannot send/receive at CDC with general-purpose terminal

Post have hidden links. That's why I deleted the user and the post.
by fpiSTM
Tue Jun 10, 2025 8:59 am
Forum: STM boards (Discovery, Eval, Nucleo, ...)
Topic: mini STM32F103C8T6 CH340 Serial pins
Replies: 9
Views: 9846

Re: mini STM32F103C8T6 CH340 Serial pins

If you select the generic target, the default Serial pins are not PA9/PA10 but PA2/PA3:
https://github.com/stm32duino/Arduino_Core_STM32/blob/5a40f2d257379c4a6e1184b564c4f7d4fc43e7c6/variants/STM32F1xx/F103C8T_F103CB(T-U)/variant_generic.h#L140-L145

You can change it at sketch level using the setRx ...
by fpiSTM
Thu Jun 05, 2025 2:59 pm
Forum: General discussion
Topic: Warning: The core is locked up U575
Replies: 5
Views: 3846

Re: Warning: The core is locked up U575


FIXED IT!!!
Ok managed to get building and working on my IDE, the main issue is step 5 of the make a varient...
/* Memories definition */
MEMORY
{
- RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 144K
- FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 512K
+ RAM (xrw) : ORIGIN = 0x20000000, LENGTH = LD ...
by fpiSTM
Thu Jun 05, 2025 2:46 pm
Forum: General discussion
Topic: USART3/Serial3 outputting garbage... U575
Replies: 6
Views: 4028

Re: USART3/Serial3 outputting garbage... U575

If you used the generic and not a dedicated variant then you can use the build_opt.h or the hal_conf_extra.h

https://github.com/stm32duino/Arduino_Core_STM32/wiki/Customize-build-options-using-build_opt.h
https://github.com/stm32duino/Arduino_Core_STM32/wiki/HAL-configuration#customize-hal-or ...
by fpiSTM
Thu Jun 05, 2025 2:20 pm
Forum: General discussion
Topic: USART3/Serial3 outputting garbage... U575
Replies: 6
Views: 4028

Re: USART3/Serial3 outputting garbage... U575

Simply redefine it in your variant*.h file
Example for NUCLEO_F722ZE:
https://github.com/stm32duino/Arduino_C ... 2ZE.h#L224
by fpiSTM
Thu Jun 05, 2025 1:39 pm
Forum: General discussion
Topic: USART3/Serial3 outputting garbage... U575
Replies: 6
Views: 4028

Re: USART3/Serial3 outputting garbage... U575


Hi again new issue so new thread. we have USART3 on PC10/PC11 for debug output. But for some reason its outputting garbage.

I created a hello world in cubeIDE and it works fine there.
I am using the same clock config as cubeIDE so I know its not some strange clock sync issue.


Is it using HSE ...
by fpiSTM
Thu May 29, 2025 7:33 am
Forum: Projects
Topic: USB↔BLUE.PILL→DMA→SPI→WS2812B
Replies: 8
Views: 7049

Re: USB↔BLUE.PILL→DMA→SPI→WS2812B

Great. Could you share your code?
Here an example how to convert a cube example:
viewtopic.php?t=110

Go to advanced search