MicroPython Firmware for STM32H562RGT6 #16159
-
Hi everyone! I have a WeAct Studio STM32H562RGT6 Core Board, and I noticed there’s no official MicroPython support for this board. However, I see that there is support for the NUCLEO_H563ZI board. Both boards have a similar STM32H5 chip, with the main differences being memory size and connected peripherals. Is it possible to create a MicroPython firmware for the WeAct STM32H562RGT6 based on the existing support for the NUCLEO_H563ZI? If so, does anyone have instructions or suggestions on how to do this? For reference, here’s a link to the documentation and board specs for the WeAct STM32H562RGT6: WeAct Studio STM32H5 64Pin CoreBoard. Any advice or guidance would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 13 replies
-
You have to install the required tools, such as arm-none-eabi-gcc for cross-compiling ARM firmware. |
Beta Was this translation helpful? Give feedback.
-
WEACT_H562RG.zip |
Beta Was this translation helpful? Give feedback.
-
Just add all the uart pinout you need on the mpconfigboard.h file
// UART config
#define MICROPY_HW_UART1_TX (pin_A9) // SB23: ST-Link
#define MICROPY_HW_UART1_RX (pin_A10) // SB18: ST-Link
#define MICROPY_HW_UART6_TX (pin_C6)
#define MICROPY_HW_UART6_RX (pin_C7)
Em dom., 6 de abr. de 2025 às 14:11, daleka ***@***.***>
escreveu:
… WEACT_H562RG.zip
<https://github.com/user-attachments/files/17692533/WEACT_H562RG.zip>
uploaded the board definition I'm using, there's some changes I've made to
support my needs but you can change the settings you want on mpconfigboard.h
Hello friends,
First of all, I want to sincerely thank everyone who has replied to me
earlier — your help is truly appreciated.
I'm still quite new to hardware configuration, and I must admit it's
really difficult for me to get things right on the first try. I apologize
if my questions seem too simple or naive.
I'm working with the WeAct Studio STM32H562RGT6 board. Thanks to
@AndreoBotelho <https://github.com/AndreoBotelho>, I already have a basic
MicroPython board configuration that compiles successfully. However, it
currently only enables two UARTs, while I critically need at least 5 UARTs
for my project (ideally, all 6 supported by the MCU).
Here is what I need working for my project:
At least 5 UARTs (ideally 6),
One SPI interface (used for other peripherals — not for SD card),
SD card support (either via SPI or SDMMC),
USB support, preferably with REPL.
Everything else (I2C, ADC, PWM, etc.) is not needed and can be disabled.
Could someone kindly guide me on how to configure the board to enable
these interfaces? I assume I need to edit pins.csv, mpconfigboard.h,
mpconfigboard.mk, or similar files — but I'm not sure where to start or
how to properly define everything.
I would be extremely grateful for any advice, examples, or working
configurations!
—
Reply to this email directly, view it on GitHub
<#16159 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AK4TXJ6JCNES3LLXBFTRKSL2YFN2TAVCNFSM6AAAAABRGD6TBKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENZUGIZTGNI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
--
*André Botelho*
***@***.***
|
Beta Was this translation helpful? Give feedback.
-
WEACT_H562RG.zip I'm building MicroPython firmware for the WeAct Studio STM32H562RGT6 board. The firmware compiles and uploads successfully via DFU, but after reset: The USB (CDC) interface does not show up — the PC does not recognize the board. Confirmed working: Not working: Already done: In pins.csv: Other notes: Attached files: 🙏 I need help Thank you so much in advance for any insight! |
Beta Was this translation helpful? Give feedback.
WEACT_H562RG.zip
uploaded the board definition I'm using, there's some changes I've made to support my needs but you can change the settings you want on mpconfigboard.h