The board is NUCLEO-C562RE. It's a great all-in-one board if you are into (FD)CAN and LIN buses - the CAN transceiver is already fitted on the board and there is a place to fit the LIN transceiver. Thank you ST engineers! This is my very first experience with MX2, i.e. the new HAL2. My first steps in STM32CubeMX2 and STM32CubeIDE for VS Code are definitely enjoyable to take. I highly recommend you to join me on that journey. The very first mini-project is usually a LED blink. Let's break the mould and communicate with an IPC over the CAN bus instead. The part number is A2C53065549. The code written using HAL1 (let's add '1' for a clear distinction) is available here. The mini-project is the LED blink one to some extend - we are going to blink the turn indicators 🙂 Along the line, we are going to use several soft timers to pace CAN frames properly. The classic LED blink warm-up/ice-breaker activity is therefore also at your fingertips if you miss that 101 task.
Don't worry. Just open the .ioc2 file in STM32CubeMX2 and hit the yellow button to generate the IDE project. Then open the project in STM32CubeIDE for Visual Studio Code and build it. Based on my preliminary experience, the process is as easy and intuitive as for the classic IDE with the built-in MX. It works for me flawlessly from day one. And this is day four 🙂 Kudos to all the developers!
- STM32C5 series (STMicroelectronics)
- NUCLEO-C562RE (STMicroelectronics)
- STM32 NUCLEO-C562RE Nucleo-64 Z STM32C562RET6 Arm Cortex-M33 (msalamon - Mateusz Salamon)
- Introducing STM32CubeMX2, a new flavor of STM32CubeMX tool (STMicroelectronics)
- Nowa rodzina STM32C5 i HAL2 – poczatek duzej zmiany w ekosystemie ST (msalamon - Mateusz Salamon)
- Nowy STM32CubeMX2 i HAL2 na STM32C5 - Sprawdzamy! (msalamon - Mateusz Salamon)
- Nowy STM32CubeMX2 i HAL2 na STM32C5 - Sprawdzamy dalej! (msalamon - Mateusz Salamon)
- Nowy STM32CubeMX2 i HAL2 na STM32C5 - Sprawdzamy dalej! (msalamon - Mateusz Salamon)
- Poznajemy STM32CubeMX2 i HAL2 na STM32C5 (msalamon - Mateusz Salamon)
- STM32CubeIDE for VS Code debug configuration (launch.json) (STMicroelectronics)
- [solution] After upgrading to version 3.8.0, the code formatting function is no longer usable (STMicroelectronics)
- Adding Source Files to CMake Project (STMicroelectronics)
Create your own home laboratory/workshop/garage! Get inspired by ControllersTech, DroneBot Workshop, Andreas Spiess, GreatScott!, bitluni's lab, ElectroBOOM, Phil's Lab, atomic14, That Project, Paul McWhorter, Max Imagination, Nikodem Bartnik, Stuff Made Here, Mario's Ideas, Aaed Musa, Haase Industries, and many other professional hobbyists sharing their awesome projects and tutorials! Shout-out/kudos to all of them! Promote README-driven learning.
Warning
STM32C5 series - do try it at home ❕
220+ challenges to start from: Control Engineering for Hobbyists at the Warsaw University of Technology.
Stay tuned!
0xBU
Disclaimer: I'm not sponsored by nor affiliated with ST or Msalamon. I'm just a big fan of their products, courses, services, and communities built around that! I pay for the Nucleo boards (privately or as the university) and courses (privately) like everyone else.
PS. My version of the LED blink exercise:

