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.

Circuitry 5-7<br />

Power Supplies (<strong>DS335</strong>PS9)<br />

A transformer with multiple primary taps accommodates operation from 100, 120, 220 and 240 Vac mains.<br />

The secondaries are full-wave rectified, filtered, and regulated.<br />

Linear power supplies which float with the ground applied to the BNC shields provide +-15 , +5 and -5.2 Vdc.<br />

There are three separate regulators for the +5 supplies so as to reduce noise in critical circuits: +5_LOGIC,<br />

+5_CLOCK, and +5_ANALOG.<br />

There is a 9.4 Vac tap on the secondary of the transformer which is rectified, filtered, and regulated on the<br />

optional communications interface to provide a +5 Vdc which is referenced to the line cord ground. (See sheet<br />

DS340PS10).<br />

A power-up/power-down reset circuit asserts RESET signals to the system whenever the unit is turned on or<br />

off. Clean resets are important for starting the CPU and for RAM protection on power-down.<br />

Communications Interface (<strong>DS335</strong>PS10-Optional)<br />

The design of the communications interface is dictated by the requirement that it must be ground referenced,<br />

while the rest of the system must float with the BNC shield. This requires a separate power supply, and optoisolators<br />

for data and clock.<br />

To avoid using large numbers of opto-isolators, it is necessary to transfer data and commands between the<br />

CPU and the communications interface serially.<br />

The RS232 interface is handled by a 8251 UART, the GPIB interface uses a TMS9914A GPIB controller. Both<br />

of these devices have a bi-directional data bus and several internal registers for data and control.<br />

To write to a register in one of these devices, sixteen bits must be shifted serially. (Eight bits of data, and<br />

eight 'command' bits.) This requires sixteen OUT instructions, and sixteen shift instructions. (Only the MSB of<br />

the OUT will be transferred to the communications interface with each OUT instruction.)<br />

Consider a write to a register in the UART to illustrate the operation of the communications interface. First, the<br />

eight data bits will be sent, with the MSB going first. Next the command byte, 10h, will be sent (MSB first).<br />

Both bytes will be clocked serially through the to shift registers, U1000 and U1002, with the data byte ending<br />

up in U1002 and the command byte in U1000. The command byte, 10h, indicates that this will be a WRITE to<br />

the RS232 register 0. Finally, a single OUT instruction will assert -CMD_STB (the command strobe),<br />

generating a -CS and -WR to the UART, writing the data byte to register 0.<br />

To read a register, only the command byte and command strobe need be sent. For example, if the command<br />

byte 49h is shifted into the command shift register (U1000), and the command strobe asserted, then register<br />

01 in the GPIB controller will be read into the shift register (U1002). The contents of the data shift register<br />

may then be clocked down to the CPU with eight IN and eight shift instructions.<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!