A
A
Anatolii Priutts2018-07-29 13:27:35
Electronics
Anatolii Priutts, 2018-07-29 13:27:35

How to choose STM32?

Good day everyone,
The question arose in the direction of studying and choosing STM32, but there are a great many of them, there is a series with reduced energy consumption, there is a productive one, etc., this is clear, exactly like with a set of external interfaces, but here's how to choose or calculate the volume the required flash and RAM, so that it is enough for development with debugging and the subsequent prospect of updating and any finishing?
Thank you!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
H
HiTechSpoon, 2018-08-10
@HiTechSpoon

In general, the choice of a particular microcontroller depends on the task and your personal experience. If you are familiar with a line, or several, of microcontrollers, know what technologies are available in them and how you will apply them, have a good idea of ​​​​the task and architecture of the future application, then choosing a specific microcontroller is usually not difficult.
In special cases, when you do not know the architecture of the future application and / or the capabilities of a particular microcontroller, various Microcontroller Development Tools are purchased - debug, or in other words, evaluation boards produced by microcontroller manufacturers. On these boards, the microcontroller you are interested in is installed, as a rule, with all kinds of peripherals and preloaded firmware - for testing, to play around. For the microcontroller, some part of the software is written on this debug board, and at some point it becomes clear whether the power of this microcontroller is enough. It happens that the selected microcontroller is too powerful, and therefore too expensive for the target task, then you can switch to a simpler and cheaper controller.
However, in real life, even experienced developers may encounter a lack of computing power or insufficient RAM / ROM somewhere in the middle / end of the delivery of the product, and then there is nothing left but to replace the existing microcontroller with a more powerful one with more memory, or, for example, to a controller with specific peripherals. The printed circuit board has to be redone, but this, as a rule, costs little blood, although there are also completely bloodless alterations - for example, when a manufacturer releases a line of microcontrollers of different power and price, but compatible in landing pads (the so-called pin-to-pin compatibility).
I hope I answered your question.

P
pfg21, 2018-07-29
@pfg21

the size of the program depends only on the software used.
you will write in assembler / C you will get a small volume.
if you write in sophisticated languages, you will lose a lot of memory on additional body kits, checks, functionality, and so on.
well, plus the size of the libraries, the size of the interpertars in case of any node.js micropython, it's up
to you

K
ks0, 2018-07-29
@ks0

Devboard buy what you get, and maybe you will cool down or understand what you need

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question