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.

Chapter 4<br />

Figure 4-4. Pinout for 8K EPROM.<br />

<strong>The</strong> components continue the numbering sequence begun in Figures 3-1 and 4-4. <strong>The</strong><br />

additional circuits for the PROG commands are at pin 1 of U8. Jumper J5 allows you to<br />

configure the memory site for the type of NV memory you’re using.<br />

On NVRAM or EEPROM, pin 1 has no connection (or, on some EEPROMs, it’s a BUSY<br />

output). On the EPROM, it’s VPP, which is +5V during read operations and 12.5V during<br />

programming. PGM EN (pin 6 on the 8052-BASIC) controls the programming voltage by<br />

going low during programming operations and otherwise remaining high.<br />

To prevent accidental programming during power up, OR gate U10A’s output remains high<br />

until RESET goes low. U10 is not an ordinary OR gate—it’s a 75453 peripheral driver. Unlike<br />

ordinary logic gates, U10’s open-collector output can pull up to 30V without damaging the<br />

chip. <strong>The</strong> output also has much greater current-sinking ability than other logic gates (up to<br />

300mA), and can easily provide base current to drive transistor Q1.<br />

When pin 3 of U10A is high, Q1 is off, and VPP connects to +5V through germanium diode<br />

D2. <strong>The</strong> diode’s voltage drop is just 0.3V, so VPP is actually at about 4.7V. Intel’s data sheets<br />

specify that read operations require VPP to be at least 3.8V for the 2764A, or VCC-0.7V for<br />

the 27C64, so 4.7V is within the specifications.<br />

58 <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!