Skip to main content
gamer
Associate
October 29, 2018
Question

How do I learn STM32?

  • October 29, 2018
  • 5 replies
  • 945 views

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?

    This topic has been closed for replies.

    5 replies

    T J
    Senior III
    October 29, 2018

    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
    October 29, 2018

    Try to make the same application as you did on AVR :)

    Tesla DeLorean
    Guru
    October 29, 2018

    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
    ST Technical Moderator
    October 30, 2018

    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

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
    gamer
    gamerAuthor
    Associate
    November 1, 2018

    Thanks​