Motorola 68HC11

The 68HC11[1] (6811 or HC11 for short) is an 8-bit microcontroller (µC) family introduced by Motorola in 1984.[2][3] Now produced by NXP Semiconductors, it descended from the Motorola 6800 microprocessor by way of the 6801. It is a CISC microcontroller. 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]

Motorola MC68HC11 in a 48-pin dual in-line package (DIP)

Architecture

Motorola 68HC11 registers
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 (bit position)
Main registers
A B D register pair
Index registers
IX X index register
IY Y index register
SP Stack Pointer
Program counter
PC Program Counter
Status register
  1 1 H I N Z V C Flags
68HC11 block diagram

Internally, the HC11 instruction set is upward compatible with the 6800, with the addition of a Y index register. (Instructions using the Y register have opcodes prefixed with the byte 0x18). 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)

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 HC11. 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).

gollark: Apparently the cancer gets cancer and stops growing or something?
gollark: Fire extinguishers also use carbon dioxide and powder and stuff because water makes some fires worse.
gollark: Kind of like with Trump, how he constantly does bad things but everyone's just immunized to it.
gollark: Maybe people are just used to police being reported as terrible quite a lot? Which isn't entirely unreasonable as America has a lot of police so even a low % being bad means you can pick out a lot of issues.
gollark: This is just so stupid though. We've had the ability to, you know, readably send text for ages. Before pictures. It's... why.

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
  • Microcontroller Technology – 68HC11; 1st Ed; Peter Spasov; Regents/Prentice Hall; 622 pages; 1993; ISBN 978-0135835685. (archive)
  • Build Your Own Robot – 68HC11; 1st Ed; Karl Lunt; A.K. Peters Publishing; 574 pages; 2000; ISBN 978-1568811024. (archive)
Simulators / Emulators
Boards
FPGA

This article is based on material taken from the Free On-line Dictionary of Computing prior to 1 November 2008 and incorporated under the "relicensing" terms of the GFDL, version 1.3 or later.

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.