2020-07-16 03:10 PM
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?
2020-07-16 04:26 PM
Cortex-M4 ISA https://developer.arm.com/documentation/dui0553/b/
https://documentation-service.arm.com/static/5ed10fbdca06a95ce53f8dd3
2020-07-17 01:19 AM
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?
2020-07-17 05:04 AM
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.
2020-07-17 06:12 AM
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.
2020-07-17 07:21 AM
Hi,
You could start here:
and
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.
2020-10-01 03:49 PM
Newer thread https://community.st.com/s/question/0D53W00000Ji3jaSAB