next up previous
Next: Introducing the MicroStamp11 Module Up: Introduction to the MicroStamp Previous: Computer Architecture

Motorola 68HC11 Architecture

The MicroStamp11 module is built around the Motorola 68HC11 micro-controller IC. In order to program the MicroStamp11, you'll need to have a closer look at the 68HC11's architecture. The 68HC11's basic architectural blocks are shown in figure 3. This figure explicitly shows the peripheral subsystems in the Motorola 68HC11 micro-controller and it shows which pins those subsystems are tied to.

Figure 3: 68HC11 Architecture
\begin{figure}\centerline{\psfig{file=figs/mc68hc11-arch.eps,width=5in}} \end{figure}

From figure 3, we see that the 68HC11 has a number of pins. Some of these pins are used to control the micro-controller's operating mode, clock logic, special interrupts, or power. The majority of the pins, however, have been organized into four 8-bit input/output ports. These ports have the logical names PORTA, PORTB , PORTC, and PORTD. It is through these four ports that the 68HC11 channels most of its interactions with the outside world.

As mentioned earlier, a micro-controller is often distinguished by the fact that its input/output devices are directly mapped into RAM. This is also true of the I/O ports in the 68HC11. The logical names for the I/O ports are associated with absolute addresses in RAM and these addresses are in turn tied to hardware registers. When an input pin, for example, is set to a high logical level, then that logic level directly sets the value in the port's hardware register. Since that hardware register is mapped directly into the micro-controller's address space, a program can then directly read that register's value by accessing memory.

The I/O ports and other device pins are connected to special subsystems in the 68HC11. The subsystems shown in figure 3 are briefly described below:


next up previous
Next: Introducing the MicroStamp11 Module Up: Introduction to the MicroStamp Previous: Computer Architecture
Bill Goodwine 2002-09-29