STM32 Core and WeAct STM32H7 series

Post here all questions related to STM32 core if you can't find a relevant section!
Post Reply
imk
Posts: 31
Joined: Fri Sep 24, 2021 9:26 pm

STM32 Core and WeAct STM32H7 series

Post by imk »

Hello,
I currently have a Robot project running nicely on a WeAct Black Pill STM32F411CEU6 using ARDUINO V2 STM32 core.
https://youtu.be/GEe8V9M5waU

Issue is I have run out of pins and need to add some more function so either split the project across two Black Pills.
Or retro fit these robots with WeAct STM32H750VBT6 or STM32H7B0VBT6 boards which have lots more pins, speed, Ram n Rom etc.

So I am wondering if anyone have tested the boards with the STM32 core and ARDUINO V2 IDE?
As I did a quick test the other day and got a serial1 compiler error.

Many thanks in advance IMK
1201 Alarm
GonzoG
Posts: 403
Joined: Wed Jan 15, 2020 11:30 am
Answers: 27
Location: Prudnik, Poland

Re: STM32 Core and WeAct STM32H7 series

Post by GonzoG »

There are WeAct Mini with H743VI and H750VB so it should work without any issues.
As to Serial1, you may get errors as by default there is only 1 UART defined. If you want more, you have to define them:
https://github.com/stm32duino/wiki/wiki ... wareserial
User avatar
fpiSTM
Posts: 1745
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: STM32 Core and WeAct STM32H7 series

Post by fpiSTM »

Each variant has its own definition. So default Serial could not be the same.
For BlackPill F411 it is the USART1 which is used so Serial1 is defined by default and mapped to Serial.
https://github.com/stm32duino/Arduino_C ... #L131-L143

For STM32H750VB WeAct it is defined to be on LPUART1, so Serial1 is not defined by default but SerialLP1 is.
https://github.com/stm32duino/Arduino_C ... #L217-L229
Post Reply

Return to “General discussion”