• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Microcontroller Tips

Microcontroller engineering resources, new microcontroller products and electronics engineering news

  • Products
    • 8-bit
    • 16-bit
    • 32-bit
    • 64-bit
  • Applications
    • Automotive
    • Connectivity
    • Consumer Electronics
    • Industrial
    • Medical
    • Security
  • EE Forums
    • EDABoard.com
    • Electro-Tech-Online.com
  • Videos
    • TI Microcontroller Videos
  • EE Resources
    • DesignFast
    • eBooks / Tech Tips
    • FAQs
    • LEAP Awards
    • Podcasts
    • Webinars
    • White Papers
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide

Microcontrollers vs. Microprocessors: What’s the difference?

October 9, 2017 By Scott Thornton

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.

Figure 1: An MCU provides more on a single chip than an MPU. Here, “CPU” refers to a Central Processing Unit, or simply “processor.” A CPU is the brains of any computing device.

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.

Figure 2: Block diagram of a simple temperature control device using an MPU.

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.

Figure 3: Block diagram of a simple temperature control device using an MCU.

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 considerations robotics
    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?
  • apple application processor
    The difference between microprocessors and application processors
  • TI-MSP430-microcontroller
    The Mighty Microcontroller

Filed Under: FAQ, Featured, microcontroller Tagged With: basics, FAQ

Primary Sidebar

DesignFast

Design Fast Logo
Component Selection Made Simple.

Try it Today
design fast globle

EE Training Center Classrooms

EE Classrooms

CURRENT DIGITAL ISSUE

A frequency you can count on There are few constants in life, but what few there are might include death, taxes, and a U.S. grid frequency that doesn’t vary by more than ±0.5 Hz. However, the certainty of the grid frequency is coming into question, thanks to the rising percentage of renewable energy sources that…

Digital Edition Back Issues

Subscribe to our Newsletter

Subscribe to weekly industry news, new product innovations and more.

Subscribe today

RSS Current EDABoard.com discussions

  • LED Drive Using Mosfet
  • Mosfet SSR triac output shunt circuit design
  • Active Balun Design
  • Thyristor Gate Drive
  • Specman training for new user

RSS Current Electro-Tech-Online.com Discussions

  • Two 300nH inductor in series, can get higher current?
  • Best way to reduce voltage in higher wattage system?
  • What is "off the shelf values for inductors"?
  • Funny Images Thread!
  • surge arresters

Footer

Microcontroller Tips

EE World Online Network

  • DesignFast
  • EE World Online
  • EDA Board Forums
  • Electro Tech Online Forums
  • Connector Tips
  • Analog IC Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • Wire and Cable Tips
  • 5G Technology World

Microcontroller Tips

  • Subscribe to our newsletter
  • Advertise with us
  • Contact us
  • About us
Follow us on Twitter Add us on Facebook Follow us on YouTube  Follow us on Instagram

Copyright © 2022 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy