| FORUM

FEDEVEL
Platform forum

STM32 Firmware

abdelkarim , 12-07-2021, 01:54 AM
Hello @robertferanec did you have any vedeo/ Tuturials about how to develop a firmware from scratch using c language for stm32 microcontroller??
qdrives , 12-07-2021, 03:06 PM
From scratch for STM32 can be interpreted in various forms, but often the initial bit of code is generated from by a code generator, like STM32 CubeMX or STM32 Cube IDE.
For STM32 you also have the options to:
- Write your own code for the peripherals
- Use the HAL library from ST
- Use the LL (Low Layer) drivers

I personally write my own code, but do look at the HAL library as guide to what registers are needed and generate code from CubeMX to define the values (mostly for the clock generators).
But in answer to your question about video or tutorial -- have you tried https://duckduckgo.com/?q=starting+w...=v291-1&ia=web
robertferanec , 12-11-2021, 02:02 AM
I contacted ST couple of months ago to make a video about STM chips ... so, I am working on it, just it is super slow to work with some companies.
Use our interactive Discord forum to reply or ask new questions.
Discord invite
Discord forum link (after invitation)

Didn't find what you were looking for?