8- and 16-bit processors: state of the art
Micro Minis
By Jack G. Ganssle, Embedded.com
March 13, 2003 (1:01 p.m. EST)
With chip companies packing more peripherals and functionality into 8- and 16-bit processors, it's almost impossible to keep track of what's out there. But don't worry; we got someone to do the work for you. Here's Jack Ganssle on the current state of the art.
Rumors of the death of 8- and 16-bit processors have been greatly exaggerated. Over seventy-five percent of all processors sold in 2002 were 8 or 16 bit. What follows is a look at what's new with these small parts. According to November 2002 Embedded Market Survey, 43% of the magazine's readers use Microchip's PICMicro parts, 55% use 8051/52/251/AVR, 36% go for Motorola's 68XX family, and Zilog's Z8/Z80/Z180 devices account for about 15%. (These numbers total more than 100% as some folks used more than one processor in that year.) In the 16-bit world, 41% use 8086/186/96/196 devices and 21% employ th e 68HC12/16.
Most of these architectures are more than 20 years old. New designs have a hard time competing, probably due to the wealth of support for older CPUs and the large pool of developers who are well versed at using them.
Though 8- and 16-bit processors were once the computing engine found in all smart products, today they are used in the realm of deeply embedded applications, ones that typically have a lot of I/O. Peripherals are important—just look at the astonishing number of variants for some devices. Some 200 different 8051 variants offer almost any mix of memory and peripherals you can imagine.
Though timers, parallel, and serial I/O, and other traditional functions remain the staple of peripherals, many devices now offer sophisticated special-purpose built-ins like LCD drivers, plum controllers, and fast A/D converters.
Communications are key to many devices, even very simple ones. On-chip I2C, not found on 32-bit chips, is common in the 8-/16-bit world. CAN, which is sti ll popular in Europe, is also available. Even USB controllers exist on-chip, as in Hitachi's H8S/2215.
Internet support takes the form of on-board network controllers on a few parts, notably Zilog's eZ80F91. Third-party vendors provide protocol stacks to connect even the smallest processors to the Internet.
Most intriguing is the move to "virtual" peripherals. Triscend's E5 is an 8031 surrounded by an FPGA; the designer configures peripherals using Triscend's tools. Need four timers and three serial ports? Customize the peripheral mix to your requirements.
Cypress's 8-bit Programmable System-on-Chip (PSoC) is similar, but allows the designer to redefine the peripheral mix as the program runs. Like a shapeshifter, the device adapts dynamically to changing requirements. Analog blocks let you configure devices that are traditionally found in external circuitry, such as programmable gain amplifiers and filters.
Memory
Memory requirem ents are skyrocketing in all computing applications. Microcontrollers with just hundreds of bytes of ROM are still common and quite useful for simple applications. More complex ones are served by the growing capabilities of new CPUs. Zilog's eZ80, for instance, is an 8-bit processor that addresses up to 16MB of memory.
Even the venerable Z8, the heart of most TV remote controls, is available with 64KB of on-chip flash and another 4KB of RAM.
Microcontrollers are finally moving from one-time programmable (an EPROM with no erasure window) to flash. Though flash remains a more expensive technology, being able to program a device after it's soldered onto the circuit board reduces manufacturing costs. As program sizes grow so do bug counts; the ability to update code without disassembling a product gives flash a powerful appeal.
When we hear the word "security," we immediately think of a new federal department—or of network vulnerabilities. Yet, in the embedded world, many of us need to protec t our intellectual property and the dollars spent creating a product's code base. Some microcontrollers address this need by making it impossible, or at least extremely expensive, to read code stored in flash. An example is Dallas Semiconductor's DS2252, an 8051-compatible device that stores program code encrypted with a 64-bit key. The SDI pin, short for self destruct input (no kidding!), will, if asserted, delete the key. A circuit that detects tampering can drive SDI, leaving the product brain-dead but reverse engineering resistant.
Squeezing size and power
Twenty years ago, I saw a Motorola 68HC05 running off of two lemons wired in series. Since then batteries haven't improved much, but portable computing has exploded. Most processors now offer low-power modes. The February 2003 issue of Embedded Systems Programming contained a nice article by Nathan Tennies ("Software Matters for Power Consumpti on," p. 20) about using these modes effectively.
Five-volt parts are still common, but don't lend themselves well to devices running from a pair of AA cells. CPUs today run from a wide range of voltages: 3.5, 3.3, 3.0, 2.4, and even 1.8. Lower voltage reduces the power (measured in amp-hours) sucked from the battery.
A plethora of low-power modes are available. In sleep mode, Epson's S1C88 family uses 0.3µA (typical). Awake, it needs only 14µA at 32kHz and 2µA at 4MHz. Eight-bit H8 devices use a barely measurable 0.1µA when sleeping and just over 1µA at 32kHz.
Power limitations are part of building small systems. It's hard to believe that a few decades ago a small computer weighed tons. Today's surface mount technology puts processors into packages whose pins appear as fine as spider webs.
Infineon's C163-L 16-bit microcontroller comes in a 100-pin TQFP configuration—typical of small form-factor devices—measuring just 14mm on a side, with 0.5mm lead pitch (leads too small to see if you wear bifocals). At 1.4mm thick, it's useable in super-slim applications like PCMCIA cards. The Rabbit 3000 comes in a variety of packages, including a 10mm2 TFBGA just 1.2mm thick.
Signal processing
Analog will never go away, but designers seem intent on pushing the digital part of a circuit as close to a sensor as they can manage. This is partly possible because we can create digital filters in software, a task that burns enormous amounts of processing power.
TI pioneered DSPs. Their TMS3201x chips are 16-bit DSP devices used in a huge range products. But, in a twist, Microchip Technology is now making Digital Signal Controllers, a family of 16-bit DSP microcontrollers. All come with on-chip flash, RAM, A/D converters, pulse width modulation, and even EEPROM. They contain from 16KB to almost 200KB of flash.
Other devices, like TI's MSP430, are hermaphrodites, traditional CISC CPUs with the addition of the DSP's multiply an d accumulate (MAC) instruction. A MAC instruction performs both a multiplication and an addition in a single cycle, which speeds many signal processing algorithms. To get an idea what's out there, see Embedded.com's special report on DSPs by Don Morgan.
The right fit
The vast proliferation of processors makes it likely one exactly suited for your application is available. And if not—well, take advantage of the technologies that let you design your own peripheral mix.
Jack G. Ganssle is a lecturer and consultant on embedded development issues. He conducts seminars on embedded systems and helps companies with their embedded challenges. Contact him at jack@ganssle.com.
8- and 16-Bit microcontrollers and embedded microprocessors
The following list of 8- and 16-bit embedded microprocesso r and microcontroller vendors can also be found in the Embedded.com Buyer's Guide at www.embedded.com/bg along with vendor-supplied product specifications. The online Buyer's Guide enables you to run detailed side-by-side comparisons of their products. You can sort by data bus width and architecture.
Advanced Micro Devices One AMD Place Sunnyvale, CA United States (800) 538-8450 www.amd.com | Altera 101 Innovation Dr. San Jose, CA 95134 United States (408) 544-7000 www.altera.com | ARC International 2025 Gateway Place, Ste. 140 San Jose, California 95110 United States (408) 437-3400 www.ARC. com |
ARM 750 University Ave. Los Gatos, CA 95032 United States (408) 579-2200 www.arm.com | Atmel 2325 Orchard Parkway San Jose, CA 95131 United States (408) 441-0311 www.atmel.com | Cirrus Logic 4210 S. Industrial Drive Austin, TX 78744 United States (512) 445-7222 www.cirrus.com |
Connect One Semiconductors 15818 North 9th Ave. Phoenix, AZ 85023 United States (408) 986-9602 www.connectone.com | Cyan Technology Denmark House High St., Willingham Cambr idge, CB4 5ES United Kingdom 44 (0) 1954 207070 www.cyantechnology.com | Cygnal Integrated Products 4301 Westbank Drive, Ste. B-100 Austin, TX 78746 United States (512) 327-7088 www.cygnal.com |
Cypress MicroSystems 22027 17th Ave. SE, Ste. 201 Bothell, WA 98033 United States (877) 751-6100 www.cypressmicro.com | Dallas Semiconductor 4401 South Beltwood Parkway Dallas, TX 75244 United States (972) 371-4000 www.dalsemi.com | Domosys 1995, rue Jean-Talon Sud Ste. 202 Sainte-Foy, PQ G1N 4H9 Canada (418) 681-8022 www.domosys.com |
Fujitsu Microelectronics 3545 North First St. San Jose, CA 95134-1804 United States (800) 866-8608 www.fujitsumicro.com | Hitachi Semiconductor 179 East Tasman Drive San Jose, CA 95134 United States (800) 285-1601 www.hitachi.com/semiconductor | Hyperstone Line-Eid-Strasse3 Konstanz 78467 Germany +49-7531-980-30 www.hyperstone.com |
IBM Microelectronics Dept. FE2A/Bldg. 675 Research Triangle Park, NC United States (919) 543-5701 www.chips.ibm.com | Imsys Johanneslundsvägen 3 Upplands Väsby S-194 61 Sweden +46(0)8 594 110 70 www.imsys.se | Infineon Technologies St.-Martin-Str. 53 München 81669 Germany www.infineon.com/microcontrollers |
Intel Santa Clara, CA United States (800) 628-8686 www.intel.com | Lantronix 15353 Barranca Parkway Irvine, CA 92618 United States (949) 453-3990 www.lantronix.com | Microchip Technology 2355 W. Chandler Blvd. Chandler, AZ 85224 U nited States (480) 792-7200 www.microchip.com |
Micromint 115 Timberlachen Circle, Suite 2001 Lake Mary, FL 32746 United States (800) 635-3355 www.micromint.com | MIPS Technologies 1225 Charleston Rd. Mountain View, CA 94043-1353 United States (650) 567-5000 www.mips.com | Mitsubishi Electronics Sunnyvale, CA United States (408) 730-5900 www.mitsubishichips.com |
Motorola P.O. Box 17927 Denver, CO 80217 United States (800) 521-6274 www.motorola. com/dsp | National Semiconductor 2900 Semiconductor Drive P.O. Box 58090 Santa Clara, CA 95052-8090 United States (800) 272-9959 | NEC Electronics 2880 Scott Blvd. Santa Clara, CA 95050 United States (408) 588-6000 www.necel.com |
Oki Semiconductor 785 North Mary Ave. Sunnyvale, California 94085-2909 United States (408) 737-6347 www.okisemi.com | Parallax 599 Menlo Dr., Ste. 100 Rocklin, CA 95765 United States (888) 512-1024 www.parallaxinc.com | Philips Semicondu ctors Sunnyvale, CA United States (408) 991-2000 www.semiconductors.philips.com |
picoTurbo 860 Hillview Ct., Ste. 160 Milpitas, CA 95035 United States (408) 586-8801 www.picoturbo.com | Patriot Scientific 10989 Via Frontera San Diego, CA 92127 United States (858) 674-5000 www.ptsc.com | Rabbit Semiconductor 2932 Spafford St. Davis, CA 95616 United States (530) 757-8400 www.rabbitsemiconductor.com |
Tensilica 3255-6 Scott Blvd. Santa Clara, CA 95054-3013 United States (408) 986-8000 www.tensilica.com | Texas Instruments 12500 TI Blvd. Dallas, TX 75243 United States (800) 477-8924 www.ti.com | Transmeta 3940 Freedom Circle Santa Clara, CA 95054 United States (408) 919-3000 www.transmeta.com |
Triscend 301 North Whisman Rd. Mountain View, CA 94043 United States (650) 968-8668 www.triscend.com | Ubicom 1330 Charleston Rd. Mountain View, CA 94043 United States (650) 210-1500 www.ubicom.com | Western Desig n Center 2166 E. Brown Rd. Mesa, AZ 85213 United States (480) 962-4545 www.westerndesigncenter.com |
XEMICS Maladiere 71 Neuchatel 2007 Switzerland +41 32 720 5511 www.xemics.com | Zilog 532 Race St. San Jose, CA 95126 United States (408) 558-8500 www.zilog.com | Zucotto Wireless 4225 Executive Square, Ste. 400 La Jolla, CA 92037 United States (858) 777-1300 www.zucotto.com |
Related Semiconductor IP
- RISC-V CPU IP
- AES GCM IP Core
- High Speed Ethernet Quad 10G to 100G PCS
- High Speed Ethernet Gen-2 Quad 100G PCS IP
- High Speed Ethernet 4/2/1-Lane 100G PCS
Related White Papers
- An 800 Mpixels/s, ~260 LUTs Implementation of the QOI Lossless Image Compression Algorithm and its Improvement through Hilbert Scanning
- Colibri, the codec for perfect quality and fast distribution of professional AV over IP
- Paving the way for the next generation of audio codec for True Wireless Stereo (TWS) applications - PART 5 : Cutting time to market in a safe and timely manner
- Automotive Architectures: Domain, Zonal and the Rise of Central
Latest White Papers
- New Realities Demand a New Approach to System Verification and Validation
- How silicon and circuit optimizations help FPGAs offer lower size, power and cost in video bridging applications
- Sustainable Hardware Specialization
- PCIe IP With Enhanced Security For The Automotive Market
- Top 5 Reasons why CPU is the Best Processor for AI Inference