30.01.2015 Views

DS335 Synthesized Function Generator

DS335 Synthesized Function Generator

DS335 Synthesized Function Generator

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.

5-2 Circuitry<br />

There is a TCXO option for the 10 MHz clock. When present, the TCXO may be tuned to exactly 10 MHz. The<br />

frequency is calibrated by altering the constant used to compute the PIR value for the ASIC phase<br />

accumulator.<br />

The buffered 10 MHz is divided by two by a D-type flip-flop (74HC74, U101A) to provide a 5 MHz clock to the<br />

CPU. A second flip-flop (U101B) divides the 5 MHz by two to provide a 2.5 MHz clock to the 8253<br />

counter/timer, and to the UART and GPIB controller on the communications interface board.<br />

The 8253 provides three additional clocks by dividing its 2.5 MHz input: a 500 Hz RTI is generated by dividing<br />

by 5000, a 1 kHz tone for the speaker is generated by dividing by 2500, and a 16x clock for 9600 baud is<br />

generated by dividing by 16 (which will have a 1.7% error).<br />

Communications Interface Header<br />

An 18 pin header to the optional GPIB/RS232 interface is shown on sheet <strong>DS335</strong>FP. The computer interface<br />

must be ground referenced, while the function generator (and so its CPU, etc.) must float. To accommodate<br />

this, communications between the CPU and the interface are done serially, via opto-isolators. Data and<br />

commands are shifted to and from the interface with the port-strobe "DATA_CLK". Commands are executed<br />

(a register read, for example) when the port strobe "-CMD_STB" is asserted.<br />

A separate, ground referenced power supply is generated on the interface PCB by rectifying and regulating<br />

the 9 Vac which is supplied to the header.<br />

GPIB and RS232 interrupts can assert the maskable interrupt to the Z80. If no interface is present, this<br />

interrupt will not be asserted. The CPU tests for the presence of the interface on power-up by shifting data<br />

though the interface and looking for its return (with a 16 cycle delay, of course).<br />

Data to the interface is buffered by a D-type flip-flop, (74HC74, U107A). The MSB of the data bus is clocked<br />

into the flip-flop on the leading edge of the DATA_CLK, and clocked into the interface's shift register on the<br />

trailing edge of the DATA_CLK. This is done to eliminate processor noise on the ribbon cable when there are<br />

no communications. A byte is transferred to the interface with eight outputs and eight left-shift instructions.<br />

Battery Back-up<br />

The contents of the 32Kx8 CMOS RAM are preserved when the power is turned off by a Lithium battery. The<br />

CS to the RAM is disabled on power down by the -RESET, which turns off the NPN transistor (Q101, a<br />

2N3904).<br />

Display Driver (<strong>DS335</strong>M2)<br />

The front panel display is time multiplexed: two digits, and seven indicators may be refreshed, and six keys<br />

read during each of four successive strobe periods.<br />

To refresh a part of the front panel display, one STROBE column is pulled high by writing a zero to the<br />

corresponding position in the LED_STB latch (U203, a 74HC374). For example, writing a zero to Q0 will<br />

saturate the PNP transistor Q200, and pull STROBE_0 to +5 volts.<br />

Digit segments and LED indicators within a particular STROBE column are turned on by writing a zero to the<br />

corresponding position in the LED_EVEN, LED_ODD, or LED_LAMP latches (U200-201, 74HC374's). For<br />

example, writing a zero to Q0 of the LED_EVEN latch will cause the 'a' segment of the 'even' digit display in<br />

the selected strobe column to turn 'on'.<br />

There is a watch-dog circuit (U111, D200, C200, and R229) which will turn off the front panel displays if the<br />

processor stops refreshing the LED_STROBE latch. The circuit pumps charge onto C200 with every output to<br />

the LED_STROBE latch. C200 is discharged by R229 if the port strobes cease, removing the output enable<br />

from the 74HC374 display drivers.<br />

<strong>DS335</strong> <strong>Synthesized</strong> <strong>Function</strong> <strong>Generator</strong>

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

Saved successfully!

Ooh no, something went wrong!