mobile | classic  
Dataweek Electronics & Communications Technology Magazine





Follow us on:
Follow us on Facebook Share via Twitter Share via LinkedIn


Search...

Electronics Buyers' Guide

Electronics Manufacturing & Production Handbook 2017


 

8-bit microcontrollers continue to defy doomsayers
19 April 2017, DSP, Micros & Memory

When Microchip first went public in 1993, many industry ‘experts’ said that 8-bit was dead, yet 20 years later, 8-bit was still the largest microcontroller market, even when measured by revenue. Explaining how such a strong belief could be reiterated year after year, against all evidence, does require some serious analysis.

This would not be the first time that doomsayers got it wrong, after all, the ‘experts’ are human beings and we are, as a global race, surprisingly inept at predicting the future. Looking back at the past is always easier and while it is not immune from its own set of dangers, it is an exercise that is worth doing in the hope we will be able to learn something from our own mistakes.

Lucio di Jasio.
Lucio di Jasio.

There have been a small number of inaccurate assumptions that we could trace back to and here are five of them in increasing order of importance:

1. The link to personal computing that never was

Twenty years ago, we were experiencing the boom of the personal computer industry and we could see how obviously the computing needs of our desktops could easily absorb all the growth that Moore’s Law would provide and more. Personal computer architecture went quickly through all the performance that an 8-bit could give, zipped even faster through the 16-bit and 32-bit architectures and is currently being overtaken by the mobile computing industry, where 64-bit multicore architectures represent the norm.

Our natural expectation was that the same would happen in the embedded control market, except it did not. The dynamics of these two markets are surprisingly un-related because the fundamental set of values is completely different. Embedded control designers are bound by much stricter rules and constraints than their counterparts in personal computing. These make them favour product longevity over fast turnover, balanced ratio of performance and power consumption rather than all out performance at any cost, and robustness and consistent output over peak performance.

2. Smaller geometry does not equal lower cost

The same kind of reasoning could be applied to the use of smaller and smaller manufacturing (CMOS) processes. While the relationship between cost and size of the device is certainly a valid economical concern for the embedded control industry, here the fallacy lies in the assumption that the same rewards or benefits would be reaped by those who would rush to the greatest extremes – to the leading edge of the technology.

But the embedded control designer could not value the added functionality gained by the increased gate/transistor count without considering the downside represented by the often dramatic increase in power consumption (increased leakage currents). Besides, the actual shrinking effect on the ‘digital’ portion of a microcontroller was not automatically accompanied by an equal shrinking of the ‘analog’ portions of the device or its I/Os, the interface to the outside world. In fact in many cases these parts proved to increase in size in order to compensate for the reduced voltage tolerance of the smaller transistors.

Today an 8-bit microcontroller core can represent less than 5% of the total area of its die (silicon), hence the dichotomy. In fact as the process geometry is squeezed, the investments in equipment, manufacturing setup costs and ultimately wafer cost grow so quickly to effectively cancel out all the expected (size reduction) benefits.

3. More bits = Easier work

This is an even more insidious assumption that has and still continues to skew the entire conversation. While database applications, spreadsheets and other sorts of computing tasks can all obviously benefit from the ability of a processor to address a larger amount of memory (more bits) and to perform calculations on large numerical values (even more bits), the kind of tasks an average embedded control device is called to perform are of a very different nature.

Reading a temperature sensor, de-bouncing a button input, measuring an incoming signal frequency or duty cycle, producing a PWM signal to drive a motor, are all examples of the menial workload most embedded microcontrollers are called on to perform on a daily basis in millions (actually billions) of applications.

Many marketing efforts have been spent to demonstrate that a 32-bit processor will perform any of the above better than an 8-bit processor, but the evidence is simply not there. This is even more true today, when most applications are written in C language rather than assembly and most designers are minimally, if at all, aware of the actual size of a microcontroller’s ALU as they write their code, and rightfully so.

4. Computational performance vs. ‘real-time’ performance

The deception here lies in the interpretation of the meaning of the word performance in different computing or application domains. In general computing, performance is used to relate to the ability of a processor to churn through complex math algorithms (floating point?), handle vast swaths of data with ease and emerge victorious in the shortest amount of time possible.

In embedded control, the term performance is much more nuanced. In fact it is often attributed to the ability to perform a given amount of work (no more, no less) within a given amount of time from a specific event. Note how in this instance the amount of work achievable per unit of time is not the critical aspect, but rather the timely way the given amount of work is performed in response to an external stimulus.

A practical example will best illustrate this important distinction. Let’s assume an industrial process calls for a sensor input, a pulse of a given duration, to be detected and result in the prompt (within a maximum number of milliseconds) activation of an actuator, closing a valve for example, to prevent an explosion. A 32- or 64-bit processor (with several MBytes of RAM, operating off a 1 GHz clock, while running the very latest Android operating system) would prove to be an inferior solution to a simple 8-bit microcontroller operating at a fraction of the clock frequency (1 MHz, or three orders of magnitude lower) off a simple interrupt service routine.

The example might seem excessive, but it is emblematic as it represents the true kind of performance needed in embedded control. This is ‘real-time’ performance and it relates more to the hardware peripherals surrounding the core than the core’s own bit-size or design. In fact the best results can be achieved when the peripherals are capable of operating independently from the core, removing key application timing bottlenecks. Experience tells embedded control designers that the right hardware peripherals can be key to an application performance over and above the raw number of MIPS provided by the processor.

5. Low power and robustness

The last two elements that did not factor properly in the original predictions, are power consumption and robustness. The laws of physics clearly link voltage and power inexorably together. Furthermore, the influence of voltage is quadratic, giving lower voltage devices, designed using smaller geometries, a definitive edge.

Unfortunately in embedded control, robustness – a quality that relates to the ability of a circuit to reject noise – dictates that it is the higher voltage devices that need to have an edge. Twenty years of evolution in this industry has changed very little, as today a large number of applications still demand operation off a 5 V supply, while handling 5 V inputs/outputs. The automotive industry is perhaps the sector resisting the transition the most.

The present

Modern 8-bit microcontrollers show an incredible level of adaptation to the real challenges of the industry and are incredibly smarter and easier to use than their predecessors 20 years ago. A side by side comparison of two equivalent (PIC16) datasheets reveals that the core has changed only a little, to reflect the increased use of higher level languages and adding features that make the compiler output more compact.

It is the peripheral set that is dramatically different though. In fact even the lowest cost devices offer system level features that were unthinkable back then. A modern 8-bit (PIC) microcontroller is a little mixed-signal system that includes all that is required to produce a reliable clock source (up to five independent oscillators are commonly present on chip), to condition power supply (voltage regulators, voltage supervisors, fixed voltage references, power-on and brown-out resets), to condition input analog signals (operational amplifiers, fast comparators, ADC and DAC of various types and resolutions).

All this is on top of a very rich set of digital peripherals and even programmable logic. In fact the peripherals themselves have evolved to operate independently from the core, hence the term ‘Core Independent Peripherals’ or CIPs coined for the occasion. Once initialised and configured, they take workload off the shoulders of the core that now requires less performance and less power as many of the timing bottlenecks of the application can be lessened or removed.

The future of 8-bit microcontrollers

If we dare look into the near future, we must consider how the very success of embedded control applications will represent its next natural challenge. As billions of devices will enter production and millions of new projects will be developed and released each year, in a world of abundant silicon, the most precious resources will be time and brain power. Reducing the cost of developing firmware will dictate an even greater importance of the (software) tools available for rapid prototyping, debugging and code re-use.

That’s why tools such as the MPLAB Code Configurator (MCC) will play an increasingly important role, while taking an ever larger part of the developer’s burden by integrating complete solution suites covering entire classes of applications (connectivity, motor control, power, etc.) and allowing the developer to customise them to specific product needs.

At the same time, the complexity level will have to be reduced to lower the threshold for the next generation of designers who will be asked to create products for an ever more connected world. As the best code is the one you don’t have to write, an ever-smarter set of CIPs will be configured and inter-connected to form custom functional blocks that will perform, in hardware, the largest share of an application workload.

For more information contact Tempe Technologies, +27 (0)11 455 5587, willem.hijbeek@tempetech.co.za, www.tempetech.co.za


Credit(s)
Supplied By: Tempe Technologies
Tel: +27 11 455 5587
Fax: 086 517 8411
Email: willem.hijbeek@tempetech.co.za
www:
  Follow us on Facebook Share via Twitter Share via LinkedIn    

Further reading:

  • 8-bit PICs with large memory
    19 April 2017, Avnet South Africa, DSP, Micros & Memory
    Microchip’s new PIC18F K42 family combines an extensive array of core independent peripherals (CIPs), high-resolution analog, on-chip direct memory access (DMA) and vectored interrupts for fast processing. ...
  • Low-power DDR3 memory
    19 April 2017, Brabek, DSP, Micros & Memory
    Alliance Memory introduced a new high-speed CMOS mobile low-power DDR3 (LPDDR3) SDRAM designed to extend battery life in compact portable devices. Featuring low voltage operation of 1,2 V/1,8 V and a ...
  • iCORP signs up memory chip maker
    22 March 2017, ICORP Group, DSP, Micros & Memory, News
    iCorp Group recently signed an agreement with Winbond for official distributorship in southern Africa. Winbond is a specialty memory IC company engaged in design, manufacturing and sales services, with ...
  • A scalable platform for automotive instrument cluster design
    22 March 2017, NuVision Electronics, DSP, Micros & Memory
    In any vehicle, the dashboard instrument cluster is the driver’s primary source of information about the vehicle’s status. Consumers are increasingly demanding the kind of digital experience in driving ...
  • New ATtiny MCUs join AVR lineup
    22 March 2017, Avnet South Africa, DSP, Micros & Memory
    Microchip announced further expansion of its AVR microcontroller (MCU) portfolio with the addition of three new devices to the tinyAVR family. The new ATtiny1617 series of MCUs expands the range of AVR ...
  • Graphical configurator for STM8 designs
    22 March 2017, Design Automation, DSP, Micros & Memory
    STMicroelectronics has made starting new designs with its popular 8-bit STM8 microcontrollers easier and faster by introducing the STM8CubeMX graphical configurator. STM8CubeMX supports the complete ...
  • Quad SPI Flash memory
    22 February 2017, EBV Electrolink, DSP, Micros & Memory
    Cypress Semiconductor added 64 Mb and 128 Mb densities to its family of NOR Flash memories with a Quad serial peripheral interface (Quad SPI). The new FL-L NOR Flash devices provide reliability and security ...
  • NXP plans slew of MCUs for 2017 release
    31 January 2017, EBV Electrolink, DSP, Micros & Memory
    NXP Semiconductors revealed plans for an extensive pipeline of microcontrollers (MCUs) to be rolled out during 2017. The new ARM Cortex-M based devices slated for release this year include a roadmap of ...
  • Automotive grade DRAM
    31 January 2017, KH Distributors, DSP, Micros & Memory
    Alliance Memory’s synchronous DRAM (SDRAM) portfolio now features a wide variety of components that provide an automotive temperature range of -40°C to +105°C and are fabricated and assembled to automotive ...
  • 32-bit microcontrollers
    31 January 2017, Avnet South Africa, DSP, Micros & Memory
    Two new microcontroller lines from STMicro-electronics increase energy efficiency, flexibility and feature integration at the high end of the STM32F4 Access Line for high-performance embedded designs. ...
  • MCUs for USB bridging
    31 January 2017, Electrocomp, DSP, Micros & Memory
    Bridgetek has introduced a new series of Super-Bridge microcontroller units (MCUs) to complement the company’s existing FT90x series. The new FT93x devices are able to offer identical performance levels, ...
  • 8- and 16-bit MCUs drive many systems in modern vehicles
    9 November 2016, Tempe Technologies, This Week's Editor's Pick, DSP, Micros & Memory
    As car manufacturers move to add more intelligence and connectivity into their products, the flexibility of 8 and 16-bit microcontrollers allow them to be adapted for many present and future automotive features.

 
 
         
Contact:
Technews Publishing (Pty) Ltd
1st Floor, Stabilitas House
265 Kent Ave, Randburg, 2194
South Africa
Publications by Technews
Dataweek Electronics & Communications Technology
Electronic Buyers Guide (EBG)

Hi-Tech Security Solutions
Hi-Tech Security Business Directory

Motion Control in Southern Africa
Motion Control Buyers’ Guide (MCBG)

South African Instrumentation & Control
South African Instrumentation & Control Buyers’ Guide (IBG)
Other
Terms & conditions of use, including privacy policy
PAIA Manual





 

         
    Classic | Mobile

Copyright © Technews Publishing (Pty) Ltd. All rights reserved.