Motorola 68HC11

Last updated
Motorola MC68HC11
KL Motorola 68HC11.jpg
Motorola MC68HC11 in a 48-pin dual in-line package (DIP)
General information
Launched1984;39 years ago (1984)
Common manufacturer(s)
Performance
Data width8
Address width16
Architecture and classification
ApplicationEmbedded
Instruction set 68HC11
Physical specifications
Package(s)
History
Predecessor(s) 6801
Successor(s) Freescale 68HC16, Freescale 68HC12

The 68HC11 [1] (also abbreviated as 6811 or HC11) is an 8-bit microcontroller family introduced by Motorola Semiconductor in 1984 (later from Freescale then NXP). [2] [3] It descended from the Motorola 6800 microprocessor by way of the 6801. The 68HC11 devices are more powerful and more expensive than the 68HC08 microcontrollers and are used in automotive applications, barcode readers, hotel card key writers, amateur robotics, and various other embedded systems. The MC68HC11A8 was the first microcontroller to include CMOS EEPROM. [4]

Contents

Architecture

Motorola 68HC11 registers
15141312111009080706050403020100(bit position)
Main registers
ABD register pair
Index registers
IXX index register
IYY index register
SPStack Pointer
Program counter
PCProgram Counter
Status register
 11 H I N Z V C Flags
68HC11 block diagram 68HC11 Block Diagram.jpg
68HC11 block diagram

Internally, the HC11 instruction set is backward compatible with the 6800 and features the addition of a Y index register. [lower-alpha 1] It has two eight-bit accumulators, A and B, two sixteen-bit index registers, X and Y, a condition code register, a 16-bit stack pointer, and a program counter. In addition, there is an 8 x 8-bit multiply (A x B), with full 16-bit result, and fractional/integer 16-bit by 16-bit divide instructions. A range of 16-bit instructions treat the A and B registers as a combined 16-bit D register for comparison (X and Y registers may also be compared to 16-bit memory operands), addition, subtraction and shift operations, or can add the B accumulator to the X or Y index registers. Bit test operations have also been added, performing a logical and function between operands, setting the correct conditions codes, but not modifying the operands.

Different versions of the HC11 have different numbers of external ports, labeled alphabetically. The most common version has five ports, A, B, C, D, and E, but some have as few as 3 ports (version D3). Each port is eight bits wide except for D, which is six bits (in some variations of the chip, D also has eight bits). It can be operated with an internal program and RAM (1 to 768 bytes) or an external memory of up to 64 kilobytes. With external memory, B and C are used as address and data bus. In this mode, port C is multiplexed to carry both the lower byte of the address and data.

Implementations

52-pin plastic leaded chip carrier (PLCC) MC68HC11 microcontroller.jpg
52-pin plastic leaded chip carrier (PLCC)

In the early 1990s Motorola produced an evaluation board kit for the 68HC11 with several UARTs, RAM, and an EPROM. The cost of the evaluation kit was $68.11. [5]

The standard monitor for the HC11 family is called BUFFALO, "Bit User Fast Friendly Aid to Logical Operation". It can be stored in on-chip ROM, EPROM, or external memory (also typically EPROM). BUFFALO is available for most 68HC11 family derivatives as it generally only depends upon having access to a single UART (SCI, or Serial Communications Interface, in Motorola parlance). BUFFALO can also run on devices that do not have internal non-volatile memory, such as the 68HC11A0, A1, E0, E1, and F1 derivatives.

Other versions

The Freescale 68HC16 microcontroller family is intended as a 16-bit mostly software-compatible upgrade of the 68HC11.

The Freescale 68HC12 microcontroller family is an enhanced 16-bit version of the 68HC11.

The Handy Board robotics controller by Fred Martin is based on the 68HC11. [6]

A MC68HC24 port replacement unit is available for the 68HC11D, which lacks ports B and C. When placed on the external address bus, it replicates the original functions of B and C. Port A has input capture, output compare, pulse accumulator, and other timer functions; port D has serial I/O, and port E has an analog-to-digital converter (ADC).

Notes

  1. Instructions using the Y register have opcodes prefixed with the byte 0x18.

Related Research Articles

<span class="mw-page-title-main">Motorola 68000</span> Microprocessor

The Motorola 68000 is a 16/32-bit complex instruction set computer (CISC) microprocessor, introduced in 1979 by Motorola Semiconductor Products Sector.

<span class="mw-page-title-main">MOS Technology 6502</span> 8-bit microprocessor

The MOS Technology 6502 is an 8-bit microprocessor that was designed by a small team led by Chuck Peddle for MOS Technology. The design team had formerly worked at Motorola on the Motorola 6800 project; the 6502 is essentially a simplified, less expensive and faster version of that design.

<span class="mw-page-title-main">Motorola 6809</span> 8-bit microprocessor

The Motorola 6809 ("sixty-eight-oh-nine") is an 8-bit microprocessor with some 16-bit features. It was designed by Motorola's Terry Ritter and Joel Boney and introduced in 1978. Although source compatible with the earlier Motorola 6800, the 6809 offered significant improvements over it and 8-bit contemporaries like the MOS Technology 6502, including a hardware multiplication instruction, 16-bit arithmetic, system and user stack registers allowing re-entrant code, improved interrupts, position-independent code and an orthogonal instruction set architecture with a comprehensive set of addressing modes.

<span class="mw-page-title-main">MCS-51</span> Single chip microcontroller series by Intel

The Intel MCS-51 is a single chip microcontroller (MCU) series developed by Intel in 1980 for use in embedded systems. The architect of the Intel MCS-51 instruction set was John H. Wharton. Intel's original versions were popular in the 1980s and early 1990s, and enhanced binary compatible derivatives remain popular today. It is a complex instruction set computer, but also has some of the features of RISC architectures, such as a large register set and register windows, and has separate memory spaces for program instructions and data.

<span class="mw-page-title-main">Intel 8085</span> 8-bit microprocessor by Intel

The Intel 8085 ("eighty-eighty-five") is an 8-bit microprocessor produced by Intel and introduced in March 1976. It is software-binary compatible with the more-famous Intel 8080 with only two minor instructions added to support its added interrupt and serial input/output features. However, it requires less support circuitry, allowing simpler and less expensive microcomputer systems to be built. The "5" in the part number highlighted the fact that the 8085 uses a single +5-volt (V) power supply by using depletion-mode transistors, rather than requiring the +5 V, −5 V and +12 V supplies needed by the 8080. This capability matched that of the competing Z80, a popular 8080-derived CPU introduced the year before. These processors could be used in computers running the CP/M operating system.

<span class="mw-page-title-main">PIC microcontrollers</span> Line of single-chip microprocessors from Microchip Technology

PIC is a family of microcontrollers made by Microchip Technology, derived from the PIC1650 originally developed by General Instrument's Microelectronics Division. The name PIC initially referred to Peripheral Interface Controller, and is currently expanded as Programmable Intelligent Computer. The first parts of the family were available in 1976; by 2013 the company had shipped more than twelve billion individual parts, used in a wide variety of embedded systems.

The National Semiconductor COP8 is an 8-bit CISC core microcontroller. COP8 is an enhancement to the earlier COP400 4-bit microcontroller family. COP8 main features are:

<span class="mw-page-title-main">Motorola 68HC12</span> Line of microcontrollers manufactured by Freescale Semiconductor

The 68HC12 is a microcontroller family from Motorola Semiconductor. Originally introduced in the mid-1990s, the architecture is an enhancement of the Freescale 68HC11. Programs written for the HC11 are usually compatible with the HC12, which has a few extra instructions. The first 68HC12 derivatives had a maximum bus speed of 8 MHz and flash memory sizes up to 128 KB.

<span class="mw-page-title-main">Zilog Z8</span>

The Zilog Z8 is a microcontroller architecture, originally introduced in 1979, which today also includes the Z8 Encore!, eZ8 Encore!, eZ8 Encore! XP, and eZ8 Encore! MC families.

RS08 is a family of 8-bit microcontrollers by NXP Semiconductors. Originally released by Freescale in 2006, the RS08 architecture is a reduced-resource version of the Freescale MC68HCS08 central processing unit (CPU), a member of the 6800 microprocessor family. It has been implemented in several microcontroller devices for embedded systems.

The 68HC16 is a highly modular microcontroller family based on the CPU16 16-bit core from Motorola Semiconductor. The CPU16 core is a true 16-bit design, with an architecture that is very familiar to 68HC11 (HC11) users. The resemblances to the HC11 core design are a deliberate move to provide an upgrade path for those 8-bit 68HC11 designs that require the increased power of a 16-bit CPU. Many features of the HC16 and the CPU16 core are new to HC11 users.

The 68HC08 is a broad family of 8-bit microcontrollers from Motorola Semiconductor.

TLCS is a prefix applied to microcontrollers made by Toshiba. The product line includes multiple families of CISC and RISC architectures. Individual components generally have a part number beginning with "TMP". E.g. the TMP8048AP is a member of the TLCS-48 family.

The Mitsubishi 740, also known as MELPS 740, is a series of 8-bit CMOS microcontrollers and microprocessors with an enhanced MOS Technology 6502 compatible core based on the expanded WDC 65C02. The ICs were manufactured by Mitsubishi Electric during the 1980s and 1990s.

The 9S08 is an 8-bit microcontroller (µC) family originally produced by Motorola, later by Freescale Semiconductor, and currently by NXP, descended from the Motorola 6800 microprocessor. It is a CISC microcontroller. A slightly extended variant of the 68HC08, it shares upward compatibility with the aging 68HC05 microcontrollers, and is found in almost any type of embedded systems. The larger members offer up to 128 KiB of flash, and 8 KiB of RAM via a simple memory management unit (MMU) which allows bank-switching 16 KiB of the address space and an address/data register pair which allows data fetches from any address. The paging scheme used allows for a theoretical maximum of 4 MB of flash.

<span class="mw-page-title-main">Motorola 68HC05</span>

The 68HC05 is a broad family of 8-bit microcontrollers from Motorola Semiconductor.

<span class="mw-page-title-main">ST6 and ST7</span> 8-bit microcontroller product lines from STMicroelectronics

The ST6 and ST7 are 8-bit microcontroller product lines from STMicroelectronics. They are commonly used in small embedded applications like washing machines.

<span class="mw-page-title-main">STM8</span>

The STM8 is an 8-bit microcontroller family by STMicroelectronics. The STM8 microcontrollers use an extended variant of the ST7 microcontroller architecture. STM8 microcontrollers are particularly low cost for a full-featured 8-bit microcontroller.

The Mostek MK5065 was an 8-bit microprocessor introduced by Mostek in early 1974. The design was originally developed by Motorola for use in an Olivetti electronic calculator, and was licensed to Mostek for use in non-calculator roles. It featured three sets of processor registers, allowing it to switch to an interrupt handler in a single cycle, and a wait-for-data mode that aided direct memory access.

References

  1. Official 68HC11 Reference Manual
  2. Motorola Annual Report 1984
  3. Hambley, Allan R.(2011). Electrical Engineering: Principles and Applications, Pearson Higher Education. p. 417. Digitized by Google. Retrieved on May 17, 2012.
  4. "M68HC11 Reference Manual". Archived from the original on 2017-11-10. Retrieved 2020-04-08.
  5. comp.dsp. 1 Oct. 1996
  6. Handy Board Hardware

Further reading

Datasheets and manuals
Books
Simulators / Emulators
Boards
FPGA