microcontrollers vs microprocessors what's the difference (2024)

By Scott Thornton 9 Comments

Microcontrollers (MCUs) tend to be less expensive than, simpler to set-up, and simpler to operate than microprocessors (MPUs). An MCU can be viewed as a single-chip computer, whereas an MPU has surrounding chips that support various functions like memory, interfaces, and I/O. The MCU vs. MPU question may seem simple, but there are some prominent differences. One of the main differences between microcontrollers and microprocessors is that a microprocessor will typically run an operating system. An operating system allows multiple processes to run at the same time via multiple threads. Drivers are required to support peripherals.

A microcontroller will run a “bare metal interface,” which means there is not an operating system. Without an operating system, a microcontroller can only run one control loop at a time. From a software perspective, this means a single thread is running on the microcontroller’s processor or Central Processing Unit (CPU).

MCUs only have basic options for interfacing with the outside world. An MCU might have I2C, SPI, a UART (serial), and sometimes a low-level USB connection. These basic interfaces are often used just for programming the MCU. The purpose of an MCU is to run a fairly simple control loop forever or until it breaks or otherwise stops. MCUs tend to be less expensive than MPUs. It’s not impossible for an MCU to have wireless communications, but remember that an MCU will only run one thread at a time. To be serviced, any other inputs or processes would have to wait for the single thread or control loop to finish what it’s doing first. Microprocessors tend to have many interfaces in addition to the basics like I2C, SPI, or UART. An MPU might also have more complex interfaces like Ethernet, Bluetooth, WiFi, Flash storage, etc.

Another type of chip with a processor is a System-on-a-Chip (SoC), which is an entire system on a single integrated chip (IC). An SoC can be based on an MCU or MPU and will provide everything that’s necessary to perform certain types of applications. For example, for image processing, an SoC might have a combination of an MPU, a Digital Signal Processor (DSP), and/or a Graphic Processing Unit (GPU) for performing rapid algorithm calculations, along with on-chip interfaces for driving a display and an HDMI or other audio/video input/output technology. SoCs enable an entire system of chips on a single, tiny IC.

It’s getting harder to tell if a device is an MCU or an MPU because MCUs can do so much these days, including more sophisticated peripherals. The difference between MCUs and MPUs is becoming less pronounced since some MCUs now come with simple software drivers for more sophisticated peripherals and more MPUs can be found that have integrated peripherals on-chip.

References/Suggested Reading:
PIC24FJ64GB004 Family Data Sheet
The difference between microprocessors and application processors
MCUs vs MPUs: Choose the right one for your industrial application

You may also like:

  • MCUs for ADAS – what’s the difference?
  • MCU specification considerations for robotics
  • Nuances of low power MCUs for wireless sensors and wearables
  • 8-, 16- and 32-bit MCUs…are more bits better?
  • The difference between microprocessors and application processors

Reader Interactions

Comments

  1. microcontrollers vs microprocessors what's the difference (9)Siavosh Kasravi says

    The fact that micro controllers can’t multi-thread or multi-task or run an OS is not completely correct.

    Reply

    • microcontrollers vs microprocessors what's the difference (11)Mal com says

      Why say so?

      Reply

      • microcontrollers vs microprocessors what's the difference (12)mikey says

        Because it’s got everything a OS will need to run on, (minimalist requirements) offcource.

        Reply

    • microcontrollers vs microprocessors what's the difference (13)James Bronson says

      Very correct. Most MCUs and MPUs could and did run various UNIX flavors that could and did from DAY 1 multitask. In 93 I RAN Linux on a Motorola controller chip. In fact I am not aware of multi core chips until after 2000 although Many of the UNIX flavors had muliple sockets for MPUs as that was the main method to have more than one core was more than one chip thus more sockets. A company called Corallary made a 4 socket Motherboard for the intel 486. Hertz car rental used a few of those at the main office runing UNIX to connect every terminal in evey location worldwide. Also the term Thread is so mis understood so misused. Anyway the Motorola 8800 ran Linux in 93 as did the motorola 88000 MPU. It multitaked very well.

      Reply

Leave a Reply

Primary Sidebar

Featured Contributions

Matter1.2 is here — what does that mean for the smart home?

Why 3D packaging could be the next breakthrough for processing

Why advanced packaging is vital to the future of semiconductors

IoT: Microcontrollers and sensors must work as a team

Key factors to optimize power consumption in an embedded device

CURRENT DIGITAL ISSUE

Engineering connections REMEMBER when the estimated number of connected devices in 2005 was around six billion, followed about five years later with the acronym “IoT” achieving buzzword/hype status? Now fast forward to next year, when that number is expected to skyrocket to a staggering 75 billion, or roughly nine devices per person on the planet. […]

Digital Edition Back Issues

EE ENGINEERING TRAINING DAYS

microcontrollers vs microprocessors what's the difference (21)

microcontrollers vs microprocessors what's the difference (22)

EXPAND YOUR KNOWLEDGE AND STAY CONNECTED

Get the latest info on technologies, tools and strategies for EE professionals.

DesignFast

microcontrollers vs microprocessors what's the difference (26)

Component Selection Made Simple.

Try it Today

microcontrollers vs microprocessors what's the difference (27)

microcontrollers vs microprocessors what's the difference (2024)
Top Articles
Latest Posts
Article information

Author: Tuan Roob DDS

Last Updated:

Views: 6243

Rating: 4.1 / 5 (62 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Tuan Roob DDS

Birthday: 1999-11-20

Address: Suite 592 642 Pfannerstill Island, South Keila, LA 74970-3076

Phone: +9617721773649

Job: Marketing Producer

Hobby: Skydiving, Flag Football, Knitting, Running, Lego building, Hunting, Juggling

Introduction: My name is Tuan Roob DDS, I am a friendly, good, energetic, faithful, fantastic, gentle, enchanting person who loves writing and wants to share my knowledge and understanding with you.