cancel
Showing results for 
Search instead for 
Did you mean: 

How do I learn STM32?

gamer
Associate II

Hi

I have learned AVR with C language . 

I have learned C++ language and a little C# .

Now i want to learn stm32 .

 I have 2 questions .

1.What should i do ?

2.Should I read the reference manual first or the Hal driver?

5 REPLIES 5
T J
Lead

HAL is transient, where as the reference manual is set in stone...

Both...

You decide on a project, and what you need as inputs and outputs and data storage(RAM)

I use the Cube to set pins on my new board

I use Kicad to do the PCB

I use Visual Studio with GDB to edit in C ($150)

sounds easy as pie...

A lot of engineers will not use the cube, and go for a traditional Register level setup,

It seems more difficult , there is a ton of hand writing to do, but hen the code is very light(small)

You have the world at you feet,

be nice..

no weapons on robots ok ?

JAN R
Associate III

Try to make the same application as you did on AVR 🙂

Which STM32? There's hundreds of variants at this point.

Get a DISCO or NUCLEO board.

Download and review the example projects and source provided in the Cube package trees. Start with the simpler examples, then move to the more complication ones, or the ones that interest you the most.

ie CubeF7 https://www.st.com/en/embedded-software/stm32cubef7.html

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Imen.D
ST Employee

Hello,

I invite you to review the STM32 Education program and follow the steps on https://www.st.com/content/st_com/en/support/learning/stm32-education/stm32-step-by-step.html

Hope this helps you.

Kind Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
gamer
Associate II

Thanks​