Hello! Welcome to Embedic!
This website uses cookies. By using this site, you consent to the use of cookies. For more information, please take a look at our Privacy Policy.
Home > Embedded Events > [Full Guide] How to Select a Microcontroller 2022

[Full Guide] How to Select a Microcontroller 2022

Date: 07-10-2022 ClickCount: 403

How to choose an appropriate microcontroller? As we know that a microcontroller has numerous uses: in customer electronics like playthings as well as devices, in communication gadgets like cell phones and computer systems, and in clinical instruments like ECG makers and also monitors.

how to select a microcontroller

Likewise, in industrial settings, it can be utilized to regulate temperature level or stress, count time, procedure rate, or trigger the braking system. Because microcontrollers are suitable for details tasks, it is necessary to pick a microcontroller that is most suitable for a project.

 

Part1. Which Microcontroller is the Best?

 

We see that question in forums regularly, particularly from people that are simply getting started. Our response, naturally, is: "it depends what you are wanting to do." There's no such thing as a 'ideal' microcontroller ... if there was, all the makers would certainly make that, as well as there wouldn't be any type of selection left.

Rather, you have to make tradeoffs between competing rate of interests: The fastest chips tend to utilize more power than the slowest ones. The boards with one of the most IO pins are larger (and normally set you back more) than ones with fewer functions.

 

Part2. Key Factors to Help Select Your Right Microcontroller

 

  • 1. Hardware architecture. A microcontroller's product packaging straight influences its size and also performance. Dual in-line packaging is one of the most common kind. Small-outline transistors have a small impact, and also quad level packs occupy more locations yet less vertical space.
  • 2. Processing power. Just how much processing power do you need for the job, will a solitary core cpu suffice, or do you require a dual-core? A multicore processor will be dramatically much faster, however it will certainly additionally eat even more power. Likewise, will a graphics refining system (GPU) be essential?
  • 3. Memory. The quantity of memory (RAM and ROM) you require will certainly rely on the programs you will certainly be running. Extra programs require more random gain access to memory (RAM). Furthermore, a GPU will need not just a lot more RAM but faster read/write time as well.
  • 4. Hardware interface. The nature of the task will determine the need for hardware interfaces such as USB, Wi-Fi, Bluetooth, audio, video, or camera.
  • 5. Software architecture. Some microcontrollers are operable on several OSs, and others are not. If you require to scale, it is better to use the same software architecture to boost interoperability.
  • 6. Power efficiency. There is a trade-off in between processing performance as well as power intake: a device with higher handling power will certainly take in much more energy. For that reason, if your microcontroller is wireless and also operating on a rechargeable battery, you need to evaluate compromising power performance against getting more handling power, or vice versa.
  • Some power-efficient microcontrollers consist of STMicroelectronics' STM32 series, NXP's Kinetis L collection, Renesas' H8 Super Low Power collection, Cypress' PSoC 6 collection, Integrated circuit's eXtreme Low Power picture collection, as well as Texas Instruments' MSP430 series.
  • 7. Temperature resistance. Depending upon the setting in which your microcontrollers run, you might want gadgets that hold up against extreme temperature. There will be a trade-off between temperature tolerance and price.
  • Some temperature-tolerant microcontrollers consist of STMicroelectronics' STM32F103 series, NXP's Kinetis EA series, Renesas' RX24T and also RX24U, Infineon's XMC collection and also AURIX ™ collection, Integrated circuit's: picture and also AVR microcontrollers, as well as Texas Instruments' MSP430F2619S-HT.
  • 8. Security. Hacking which targets IoT devices is rising, a danger that is especially appropriate to microcontrollers utilized in cars. In response, microcontroller makers are executing layers of protection such as cryptography and physical protection.
  • 9. Cost. Microcontrollers drop within a vast cost range, from a hundred devices for a couple of bucks to a few dollars per unit. If you intend to range, you require to consider the overall cost versus the specific performance power of a microcontroller.

 

Part3. A Step-by-Step Guide to Select the Right Microcontroller (2022 Updated)

 

Step1. Make a Required Hardware External Interfaces

 

There are two general sorts of user interfaces that need to be noted.

 

1. The initial are interaction user interfaces. These are peripherals such as USB, I2C, SPI, UART, and so forth. Make an unique note if the application needs USB or some type of Ethernet. These interfaces greatly affect just how much program room the microcontroller will need to support.

 

2. The 2nd type of interface is digital inputs and outputs, analog to digital inputs, PWM's, etc. These two user interface kinds will dictate the variety of pins that will be required by the microcontroller. Number 1 reveals a generic instance of a block representation with the i/o needs detailed.

list of hardware features

Step2. Examine Software Architecture

 

The software program style as well as needs can significantly impact the selection of a microcontroller. How heavy or how light the processing demands will certainly identify whether you choose an 80 MHz DSP or an 8 MHz 8051. Much like with the hardware, make notes of any needs that will be essential.

 

For example, do any of the algorithms require floating point mathematics? Are there any high frequency control loopholes or sensors? Estimate for how long and how commonly each job will need to run. Obtain an order of size feel for how much handling power will certainly be required. The quantity of computing power required will certainly be among the biggest needs for the style and also regularity of the microcontroller.

 

Step3. Select the Architecture

 

Making use of the information from step 1 as well as 2 an engineer should have the ability to start getting an idea of the style that will certainly be needed. Can the application manage with eight bit designs? How around 16 bits? Does it require a 32-bit Arm core? In between the application and the called for software program algorithms these questions will certainly start to converge on an option.

 

Please remember the possible future requirements and feature creep. Just because you could currently get by with an 8 bit microcontroller doesn’t mean you shouldn’t consider a 16 bit microcontroller for future features or even for ease of use. Don't forget that microcontroller choice can be an iterative procedure. You might choose a 16-bit part in this step but after that in a later action locate that a 32 little bit Arm component works better.

 

Step4. Identify Memory Needs

 

Flash and RAM are two very critical components of any type of microcontrollers. Making sure that you don’t lack program space or variable space is definitely of greatest priority.

 

It is much easier to choose a get rid of too much of these functions than inadequate. Getting to the end of a design as well as uncovering that you require 110% or that attributes need to be reduced simply isn't mosting likely to fly. After all, you can constantly begin with even more and afterwards later move to a more constrained component within the same chip family.



Making use of the software application architecture and the communication peripherals included in the application, a designer can estimate just how much flash and also RAM will be required for the application. Don't forget to leave room for feature creep and also the next versions! It will certainly conserve several headaches in the future.

 

Step5. Searching for Microcontroller -- Embedic

 

Since there is a much better concept of what the required features of the microcontroller will certainly be the search can begin! One area that can be a great place to start is with a microcontroller distributor such as EmbedIC, Avnet, Future Electronics or comparable. Talk with an FAE concerning your application and requirements as well as oftentimes they can route you to a new part that is reducing edge and also meets the demands. Just remember that they may have stress on them at that time to push a particular family members of microcontrollers!

 

The next best area to begin is with a silicon company that you are currently familiar with. For instance, if you have actually utilized Microchip components in the past and had an excellent experience with them, then start at their website. The majority of silicon suppliers have a search engine that allows you to enter your outer sets, I/O as well as power demands and it will narrow down the listing of parts that match the standards. From that checklist the designer can then move forward in the direction of selecting a microcontroller.

 

Step6. Check the Costs and Power Constraints

 

At this step, it is a blast to examine the power needs and also cost of the component. If the device will be powered from a battery and mobile, after that making certain the components are low-power is absolutely perilous. If it does not satisfy power needs after that maintain weeding the note down until you have a choose couple of. Don't neglect to analyze the item price of the processor either. While costs have continuously been approaching $1 in volume for lots of components, if it is very specialized or a premium handling machine then price could be essential.

 

Step7. Check Part Availability

 

With the list of possible components in hand, now is a good time to start checking on just how available the part is. A few of things to bear in mind are what the preparations for the component?

 

Are they kept in stock at numerous representatives or exists 6-- 12 week lead time? What are your demands for accessibility? You don't want to obtain stuck to a large order as well as have to wait three months to be able to fill it. Then there is an inquiry of just how new the component is as well as whether it will certainly be around throughout of your product life cycle. If your product will certainly be around for 10 years then you require to find a component that the supplier warranties will still be constructed in one decade.

 

Step8. Select a Development kit

 

If a development kit isn't readily available then the chosen part is most likely not a good choice as well as they ought to return a couple of actions as well as locate a better part. Most growth sets today cost under $100. Paying any more than that (unless it is designed to work with numerous processor modules) is just too much. An additional part might be a much better choice.

 

Step9. Investigate Compilers and Tools

 

The last consideration is to analyze the compiler and tools that are available. Most microcontrollers have a number of options for compilers, example code and debugging tools. It is very important to ensure that all the essential devices are offered for the part. Without the right tools the development process could become tedious and also pricey.

 

Step10. Start Experimenting

 

Despite the option a microcontroller absolutely nothing is set in stone. Usually the advancement package gets here long prior to the very first prototyped hardware. Take advantage by building up examination circuits and also interfacing them to the microcontroller. Pick high threat parts and get them servicing the advancement kit. It may be that you uncover the component you thought would work fantastic has some unpredicted concern that would compel a different microcontroller to be picked. Nevertheless, very early trial and error will ensure that you made the best option and that if a change is needed, the influence will certainly be very little!

  • STMicroelectronics Releases STM32 MCU GUI Design Software TouchGFX Version 4.20
  • [2022] Circuitpython Import Microcontroller Pins

Author

Kristina Moyes is an experienced writer who has been working in the electronics industry for the past five years. With a deep passion for electronics and the industry as a whole, she has written numerous articles on a wide range of topics related to electronic products and their development. Kristina's knowledge and expertise in the field have earned her a reputation as a trusted and reliable source of information for readers interested in the latest advancements in electronics.

Hot Products

  • EFM32HG222F64G-B-QFP48

    Manufacturer: Silicon Labs

    IC MCU 32BIT 64KB FLASH 48TQFP

    Product Categories: 32bit MCU

    Lifecycle:

    RoHS:

  • TMS320C6748BZCG4

    Manufacturer: Texas Instruments

    IC DSP FIX/FLOAT POINT 361NFBGA

    Product Categories: DSP

    Lifecycle:

    RoHS:

  • TMS320C6748BZWTD4

    Manufacturer: Texas Instruments

    IC DSP FIX/FLOAT POINT 361NFBGA

    Product Categories: DSP

    Lifecycle:

    RoHS:

  • TMS320DM355DZCEA21

    Manufacturer: Texas Instruments

    IC DGTL MEDIA SOC 337NFBGA

    Product Categories: SOC

    Lifecycle:

    RoHS:

Customer Comments

  • Looking forward to your comment

  • Comment

    Verification Code * 

Compare products

Compare Empty