Skip to main content
AMat.1
Associate II
July 16, 2020
Question

Where to find command table

  • July 16, 2020
  • 3 replies
  • 1064 views

Hi, ive been trying to understand how to program arm processors and I come from Arduino, but I never understood where the instructions that a machine understands come from, where are they all listen?

    This topic has been closed for replies.

    3 replies

    Tesla DeLorean
    Guru
    July 16, 2020
    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    AMat.1
    AMat.1Author
    Associate II
    July 17, 2020

    Hi, thank you for helping, but I still don't understand anyting basically. How would i set pits to inputs and outputs or enable port clock/ change pin values?

    I looked through all of the datasheet and I didn't find it, what am I looking for and how too look?

    Tesla DeLorean
    Guru
    July 17, 2020

    The pins are controlled through peripherals registers accessible within the micro-controller's address space.

    A list of the peripherals and registers can be found in the Reference Manual for the given STM32 series part.

    ST also has a Programming Manual which is equivalent/similar to the ARM TRM (Technical Reference Manual)

    Joseph Yiu has several books in the "Essential Cortex-Mx" series which present the material from a secondary perspective.

    A general "Computer Architecture" text might give an idea of how all the sub-components come together.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    TDK
    Super User
    July 17, 2020

    Are you just looking to get started programming with STM32XXX? If so just down STM32CubeIDE and generate a project to blink an LED or something. The generated code will have a lot of functions and you can gain an understanding from there.

    "If you feel a post has answered your question, please click ""Accept as Solution""."
    RomainR.
    ST Employee
    July 17, 2020
    To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.