Answer the question
In order to leave comments, you need to log in
Programming on STM32 microcontroller under Cortex M3?
I have some knowledge of C programming plus some Assembler x86. Good knowledge of physics (if something helps). And figure out the experience-in-the-next-mathdisciline-in-a-week-before-test.
You need to master programming on the STM32 microcontroller to control the flights of multicopters. (Since there is knowledge of flight dynamics, now it would be necessary to state all this in the form of a program)
There is a lot of material on the Internet about this, but they all imply programming experience on other controllers (usually AVR). Therefore, it is hard to study these articles without knowing Input-pull-down, Output push-pull and without knowing the clock generator.
What would you recommend a course of articles / book where all this would be clearly enough described from the very basics. I'm a big swimmer in this topic, so I don't even know where to start. I don’t really want to study programming on a microcontroller first on AVR (they say it’s easier there), and then I don’t really want to switch to ARM, because I think there is a course that explains in detail the basics of programming on microcontrollers using ARM as an example.
Answer the question
In order to leave comments, you need to log in
articles:
www.robocraft.ru/blog/ARM/
mycontroller.ru/
easystm32.ru/
ziblog.ru/category/stm32/
we.easyelectronics.ru/tag/STM32/
forums:
electronix.ru/forum/
forum.easyelectronics. ru/
caxapa.ru/
debugging tools:
stm32f3-discovery is the most suitable solution for a stm32-based copter (the microcontroller itself, a debugger, a gyroscope, an accelerometer with a magnetometer-compass are on board). The OpenPilot autopilot is ported to this board .
Examples are attached to the debug board, by which you can learn how to work with the microcontroller and its peripherals. Also, on request, I can send laboratory work intended for those who have not yet worked with these MKs.
There are some interesting and useful articles to get you started.
For example:
habrahabr.ru/post/123791/
easyelectronics.ru/category/arm-uchebnyj-kurs
we.easyelectronics.ru/blog/STM32/
FreeRTOS + STM32:
habrahabr.ru/post/139601/
habrahabr.ru/post/129105 /
Start by playing around with the AVR. Otherwise, many actions will seem obscure and absurd.
I myself coded a little under the Discovery scarf.
Good IDE for stm32 www.coocox.org/CooCox_CoIDE.htm
There is even an article on Habré about programming for this board.
habrahabr.ru/post/128734/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question