• 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
    • 5G
    • Automotive
    • Connectivity
    • Consumer Electronics
    • EV Engineering
    • Industrial
    • IoT
    • Medical
    • Security
    • Telecommunications
    • Wearables
    • Wireless
  • Learn
    • eBooks / Tech Tips
    • EE Training Days
    • FAQs
    • Learning Center
    • Tech Toolboxes
    • Webinars/Digital Events
  • Resources
    • Design Guide Library
    • DesignFast
    • LEAP Awards
    • Podcasts
    • White Papers
  • Videos
    • EE Videos & Interviews
    • Teardown Videos
  • EE Forums
    • EDABoard.com
    • Electro-Tech-Online.com
  • Engineering Training Days
  • Advertise
  • Subscribe

Intel’s MCS-51 Microcontroller Family – It’s Here to Stay

January 15, 2015 By Aimee Kalnoskas 2 Comments

By Jon Wilder

As I browse through many embedded electronics forums, I continue to see people making statements referencing Intel’s 8051 line of microcontrollers and how they are “obsolete”. However, nothing could be further from the truth. While Intel ceased production of the MCS-51 family in 2007, there are an abundance of manufacturers still making 8051-compliant microcontrollers under intellectual property license from Intel.

Getting Better with Age
Take for instance Atmel’s AT89S microcontroller series. These are not only 8051-compliant, they also come with many enhancements. While the original 8051 maxed out at an external clock speed of 12MHz, variants such as the AT89S8253 can run up to a 24MHz crystal and also have a x2 clock option, which effectively runs the instruction clock at 1/6th the crystal speed (versus the original 1/12th Fosc spec).

8051 pix 1 copy

While this only amounts to a 4MHz instruction clock — which may seem slow in comparison to modern micros such as a PIC18F4550 that can run a 12MHz instruction clock  — the MCS-51 family’s CISC architecture allows for a larger instruction set than many modern RISC micros. This means there are some operations that an 8051 can do with one instruction what it would take a routine of several instructions for a PIC to accomplish.

For instance, an 8051 has the cjne instruction, which compares two values and executes a jump if they are not equal. For a PIC 16F to do that, you would require three instructions to load the two values, subtract or XOR them, then test the zero bit and jump if not set. So, theoretically, a PIC running a 4MHz instruction clock would take roughly the same amount of time as an 8051 running a 1MHz instruction clock to do an operation equivalent of the 8051’s cjne instruction.

Out in Front of the Modern Micro
Where the MCS-51 wins out against modern micros once again is its external, front-side bus. This allows the 8051 to run programs stored in an external parallel EPROM, thereby making it easy to change firmware by swapping EPROMs. It also offers the option of using a larger program ROM than is offered on chip (up to 64KB). And, it addresses external parallel RAM (also up to 64KB) making the system memory expandable. While parallel memory may seem outdated with the availability of serial EEPROM, a parallel interface is much faster than serial.

The external memory bus isn’t just limited to memory, either. Through the use of hardware buffers and a clever hardware gating scheme, we can also create a topology of addressable I/O. This allows us to interface other hardware such as LCD/LED displays and switch arrays to the memory bus and treat them as external memory via the MOVX instruction. The bus makes for an easily expandable system with minimal code changes.

Furthermore, some newer 8051 variants even offer symmetrical source/sink ratings on their I/O pins, such as Atmel’s AT89LP52.

Tried — and True to the Core
While I’ve touched on the basics, there are many other manufacturers offering DSP chips with an 8051 core in current production and the enhancement of the 8051 seems to still be in full swing. They are a super-easy chip to learn and they’ve stood the test of time over the decades. While other microcontrollers do seem more updated by comparison, the age old addage “If it ain’t broke, don’t fix it” seems to be keeping the MCS-51 family alive and well.

In short…don’t expect the MCS-51 family to disappear anytime soon…at least not in our lifetime.

 

jon wilder avatar smallestAbout the Author
Jon Wilder is a freelance electronics engineer and electronics enthusiast for over 20 years. He spent four years in the US Navy as an aviation electronics technician. Jon has also been playing the guitar since age 13 and started integrating electronics and music from age 15. Jon built his first vacuum tube amp at age 17. “Musical electronics”, says Jon, is his love and passion.  

Jon is also a frequent contributor and passionate member of Electro-Tech-Online, an electrical engineering membership community. On Electro-Tech-Online, you can ask questions and get answers from your fellow engineers on everything from microcontrollers, renewable energy, and automotive electronics, to circuit simulation and design. Additionally, there are MCU-specific forums for 8051/8951, AVR, ARM, Arduino, Oshonsoft Project, as well as a Code Repository where members share snippets of code. 

Follow Jon on Twitter at @PICmcuguy.

 


Related Resources:

The Electro-Tech-Online community hosts an entire forum devoted to the 8051/8951 single-chip microcontroller. It’s a great place to ask questions, find answers, and share your experience and knowledge around Intel’s far-from-obsolete MCU.

There is also a five-part “Basic 8051” tutorial written by ETO member and Super Moderator Ian Rogers that covers the following:

  • ASM and C code on the 8051
  • Continuing the ASM and C on the 51 derivatives
  • Basic motor control using ASM and C
  • LCD in ASM and C
  • Serial communication in ASM and C

Filed Under: 8-bit

Reader Interactions

Comments

  1. computerpowersaver.com.au says

    April 25, 2015 at 7:54 am

    Wow, that’s what I was exploring for, what a information! present here at
    this web site, thanks admin of this site.

    Reply
  2. Aimee Kalnoskas says

    April 25, 2015 at 11:09 am

    Glad you found this helpful. The author is also an active contributor to our online engineering community, Electro-Tech-Online (www.electro-tech-online.com) Another member wrote a series of tutorials on the 8051 that you might also find informative. :Basic 8051 Tutorial, Part 1 starts here: http://bit.ly/1Gumbpr. There is also a forum specifically devoted to the 8051 where you can ask questions and get answers from members here: http://bit.ly/1I908E2
    cheers,
    Aimee Kalnoskas
    contributing editor, DesignWorld

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Featured Contributions

Five challenges for developing next-generation ADAS and autonomous vehicles

Securing IoT devices against quantum computing risks

RISC-V implementation strategies for certification of safety-critical systems

What’s new with Matter: how Matter 1.4 is reshaping interoperability and energy management

Edge AI: Revolutionizing real-time data processing and automation

More Featured Contributions

EE TECH TOOLBOX

“ee
Tech Toolbox: Internet of Things
Explore practical strategies for minimizing attack surfaces, managing memory efficiently, and securing firmware. Download now to ensure your IoT implementations remain secure, efficient, and future-ready.

EE Learning Center

EE Learning Center

EE ENGINEERING TRAINING DAYS

engineering
“bills
“microcontroller
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

RSS Current EDABoard.com discussions

  • Editing posts
  • avoiding mixer compression when acting as a phase detector
  • Crude Powerline FSK comms literally shorts the power bus at a certain frequency?
  • ISL8117 buck converter blowing up
  • audio transformers impedance

RSS Current Electro-Tech-Online.com Discussions

  • RS485 bus: common ground wire needed or not?
  • Kawai KDP 80 Electronic Piano Dead
  • Good Eats
  • What part is this marked .AC ?
  • Photo interrupter Connections

DesignFast

Design Fast Logo
Component Selection Made Simple.

Try it Today
design fast globle

Footer

Microcontroller Tips

EE World Online Network

  • 5G Technology World
  • EE World Online
  • Engineers Garage
  • Analog IC Tips
  • Battery Power Tips
  • Connector Tips
  • DesignFast
  • EDA Board Forums
  • Electro Tech Online Forums
  • EV Engineering
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips

Microcontroller Tips

  • Subscribe to our newsletter
  • Advertise with us
  • Contact us
  • About us

Copyright © 2025 · 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