r/microcontrollers • • Jul 01 '14

Ten steps to choose the right Microcontroller

http://www.gadgetronicx.com/2014/06/ten-steps-to-choose-right-microcontroller.html
0 Upvotes

10 comments sorted by

5

u/anlumo Jul 01 '14 edited Jul 01 '14

The step 3: memory section is BS. When coming from a PC world, you simply cannot estimate the memory requirements correctly. On PCs, a program using up 100MB RAM is a small one. You can't even get a microcontroller with that much memory built-in. I have even used some that have 128 BYTES of RAM.

Once you have a lot of experience with programming microcontrollers, you might be able to do some estimates that are in the right ballpark. However, then you don't need an article like this.

My advise on that: Select a microcontroller series without thinking about the RAM/flash requirements. All series have bigger brothers that have a lot of RAM/flash, but the same architecture. Take one of those, develop the software on it and then you can look at the requirements of you program and pick the right microcontroller for more copies of your device.

1

u/WillBitBangForFood Jul 01 '14

This is what I love about the STM series micros. Not only are the larger memory parts pin compatible, but that compatibility crosses over the family boundary as well. I can design with an F series and switch to an L series later if I want.

2

u/anlumo Jul 01 '14

Yes, there's not a single use case for microcontrollers I've ran across that can not be solved with some kind of STM32 device.

0

u/[deleted] Jul 01 '14

[deleted]

3

u/anlumo Jul 01 '14

Yes, documentation and support are the only thing that made AVR so prominent in DIY circles.

0

u/[deleted] Jul 01 '14

[deleted]

2

u/anlumo Jul 01 '14

Right now it's the main answer when I ask people “Why are you still using AVR, when there are dozens of other microcontrollers available that are cheaper and better?”.

2

u/rockets4kids Jul 01 '14

Community, documentation, and support are all direct results from Atmel's decision to provide a free C compiler for the AVR.

0

u/anlumo Jul 01 '14

Yes, but that's provided by nearly all microcontroller developers now (except for Nordic Semiconductors).

4

u/rockets4kids Jul 01 '14

Nope. Nearly all MCU suppliers still only provide crippled versions of their commercial tools.

The only real exception is ARM which does support maintenance and development of arm-gcc.

4

u/anlumo Jul 01 '14

ARM is a pretty big exception, since most of the current microcontrollers are ARM-based.

Not developed by any vendor, but:

  • SDCC for 8051, STM8, Z80 and some others

2

u/rockets4kids Jul 01 '14

TI only initiated that project about a year ago and what is available now is still developmental (pre-alpha) code.

SDCC is strictly a community project, and not supported in any way by any microcontroller vendors (that I am aware of, anyway.)