cancel
Showing results for 
Search instead for 
Did you mean: 

Where to find command table

AMat.1
Associate II

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?

6 REPLIES 6

Cortex-M4 ISA https://developer.arm.com/documentation/dui0553/b/

https://documentation-service.arm.com/static/5ed10fbdca06a95ce53f8dd3

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

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?

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 Venmo
Up vote any posts that you find helpful, it shows what's working..
TDK
Guru

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

Hi,

You could start here:

https://www.st.com/content/st_com/en/support/learning/stm32-education/stm32-moocs/Moving_from_8_to_32_bits_workshop_MOOC.html

and

https://www.st.com/content/st_com/en/support/learning/stm32-education/stm32-moocs/STM32G0_workshop_MOOC.html

BR

rrom

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.

Newer thread https://community.st.com/s/question/0D53W00000Ji3jaSAB

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