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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>The</strong> 82C55 also has CMOS-compatible outputs, which means that they can drive either<br />

LSTTL or CMOS inputs. When driving CMOS inputs, the NMOS 8255’s outputs should<br />

have pull-up resistors to ensure that high outputs are at least 3.5 volts.<br />

A third advantage to the 82C55 is greater current-sourcing ability, which can be important<br />

if you want to directly drive a transistor or source more than a fraction of a milliampere.<br />

Intel’s 82C55 can source 2.5 milliamperes at 3 volts, compared to just 0.4 milliamperes at<br />

2.4 volts for the 8255. However, NEC’s CMOS 71055 has the same current-sourcing ability<br />

as the NMOS 8255, so it depends on the manufacturer. All can sink 2.5 milliamperes at 0.45<br />

volts. <strong>The</strong> 74LS374 latch (U14) has greater output drive ability than any of the 8255s.<br />

Speed Ratings<br />

Inputs and Outputs<br />

<strong>The</strong> 8255 is also available with different speed ratings, including 3 Mhz and 5 Mhz. <strong>The</strong><br />

5-Mhz part is sometimes called the 8255-5. From the ratings, it may seem that the 8255 is<br />

too slow to interface to a 12-Mhz 8052-BASIC. But what does the speed rating actually<br />

refer to? Since the 8255 was developed for the 8085, I suspect that it refers to the maximum<br />

Figure 6-5. Pinout of the 8255 Programmable Peripheral Interface.<br />

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

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

Saved successfully!

Ooh no, something went wrong!