02.07.2013 Views

PDP11 PeripheralsHbk 1972 - Trailing-Edge

PDP11 PeripheralsHbk 1972 - Trailing-Edge

PDP11 PeripheralsHbk 1972 - Trailing-Edge

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.

ation and each successive cycle of operation is initiated by a signal from the device.<br />

In this example, the device is an ADC similar to the ADC described in<br />

Paragraph 3.3. The rate at which successive conversion cycles are performed is<br />

not defined in this example. However, the rate can be controled by an external<br />

clock, so that the clock frequency determines the sampling rate.<br />

A timing diagram is shown in Figure 3-17. The signal that starts a cycle of interface<br />

operation is CONVERSION COMPLETE H. This signal is generated by the<br />

ADC after it has completed conversion of the analog input to a digital value, and<br />

that value is available as a data output from the ADC. The CONVERSION COM­<br />

PLETE signal sets the REQUEST BUS flip-flop which causes the M7820 Master<br />

Control A module to gain control of the UNIBUS by means of an NPR request.<br />

The MASTER A L signal triggers START on the M796 module and, since CYCLE<br />

CONTROL is clear, a DATIP bus cycle is performed. The ADRS TO BUS H signal is<br />

used to gate an address on to the address bus. This address is formed by data<br />

from the ADC (least significant portion of the address) and the field select bits<br />

(most significant portion of the address). After a delay, BUS MSYN L is asserted.<br />

When the slave (usually memory) responds with data and a BUS SSYN L signal,<br />

DATA WAIT L is triggered to allow for deskewing of the data. The trailing edge of<br />

DATA WAIT triggers the DATA STROBE one-shot. The DATA STROBE signal loads<br />

the data present on BUS 0< 15:00> into the interface cou'nter register. When<br />

DATA STROBE times out, DATA ACCEPTED is asserted, negating BUS MSYN, and<br />

firing the COUNT PULSE and COUNT DELAY one-shots. COUNT PULSE is set for<br />

the worst case ripple time of the counter.<br />

When the COU NT DELAY is complete and BUS SSYN L is negated by the previous<br />

DATIP bus cycle, START is again asserted. Since CYCLE CONTROL is now set (set<br />

by END CYCLE of the previous DATIP), a DATO bus cycle is performed. The DATA<br />

TO BUS H signal is asserted and gates the contents of the incremented counter to<br />

the bus data lines.<br />

When the DATO cycle is complete, END CYCLE and CYCLE CONTROL set are AN­<br />

Oed to clear the REQUEST BUS flip-flop, which causes the M7820 module to drop<br />

BUS BBSY L, thereby releasing control of the bus.<br />

3.9_2 Optional Arrangements<br />

The timing chain of DATA WAIT, DATA STROBE, COUNT PULSE, and COUNT DE­<br />

LAY is designed for the case where count time is significant and the counter is<br />

loaded and incremented by a level rather than a transition.<br />

Other logic may be used dependent upon the type and speed of the counter employed<br />

in the interface.<br />

274

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

Saved successfully!

Ooh no, something went wrong!