18.11.2014 Views

The Microcontroller Idea Book - Jan Axelson's Lakeview Research

The Microcontroller Idea Book - Jan Axelson's Lakeview Research

The Microcontroller Idea Book - Jan Axelson's Lakeview Research

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 6<br />

Table 6-1. Popular peripheral interface chips.<br />

8253/4Programmable Interval Timer<br />

Three independent 16-bit counters, 6 modes, up to 10 Mhz<br />

8255 Programmable Peripheral Interface<br />

Three 8-bit I/O pins, 3 modes, direct bit set/reset ability<br />

8256 Multifunction Microprocessor Support Controller<br />

Asynchronous serial interface, baud rate generator, five 8-bit timer/counters, two 8-bit<br />

I/O ports, 8-level interrupt controller, programmable system clock<br />

8259 Programmable Interrupt Controller<br />

Eight-level priority controller, programmable interrupt modes<br />

8279 Programmable Keyboard/Display Interface<br />

Scanned interfaces to 64-contact key matrix and 16-character display.<br />

<strong>The</strong> 8255 Programmable Peripheral Interface<br />

In addition to the inputs and outputs provided by U12 and U14, there are specialized<br />

peripheral-interface chips that you can add to your system. Table 6-1 lists several examples.<br />

One of the most popular of these is the 8255 programmable peripheral interface, or PPI.<br />

Figure 6-5 shows the pinout, and Table 6-2 shows the pin functions. <strong>The</strong> chip adds 24 bits<br />

of I/O, plus the option to use special control and handshaking signals to communicate with<br />

peripherals.<br />

Intel originally introduced the 8255 as a peripheral for its 8085 microprocessor, but it remains<br />

a popular chip for use with 8052s and other computer chips. Manufacturers of compatible<br />

chips include AMD, OKI, Toshiba, and NEC, which calls its chip the μPD71055.<br />

If you use the 8255, you’ll want a copy of its data sheet, which more fully explains its abilities<br />

and configuration options.<br />

8255 Variants<br />

You have a choice of the original NMOS 8255 or the CMOS 82C55. <strong>The</strong> CMOS version<br />

usually costs a little more, but has some advantages. First, it has lower power consumption,<br />

with supply currents of 10 milliamperes (10 microamperes in standby mode with CS=high),<br />

compared to 120 milliamperes for the 8255.<br />

98 <strong>The</strong> <strong>Microcontroller</strong> <strong>Idea</strong> <strong>Book</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!