Next: The High Voltage Up: Programming the Front Previous: How to load

The DACs

There are 17 octal DACs which provide us with the capability of programming up to 136 references voltages. Seven of these DACs are MAXIM 529s and ten are MAXIM 528s (the 528 can operate with a wider range of reference voltages than the 529). Each device accepts two sets of reference voltages, each of which can control 4 of the 8 internal DACs on a chip. The output voltages are given by

Both devices are programmed in the same manner, as described in the MAXIM 1993 New Releases Data Book:

The MAX528/529 are programmed by 16 data bits in two 8-bit bytes, the address pointer bits (A7-A0) followed by the data byte (D7-D0). These bits enter a shift register serially throught DIN: A7 first, and D0 last. The data exits DOUT 16 clock cycles later in the same order.

Data at DIN is shifted into the first register (while all 16 register bits shift forward one stage) on a rising DACCLK edge, while holding DACSEL high. This must occur 16 times to load all data bits into the shift registers. On the rising edge of DACSEL, data in the 16 shift registers is transferred as addressed and DACCLK is disabled.

There are three types of instructions: NOP, SET DAC, and set buffer modes.

As indicated in the description of the DAC programming input register, a 19-bit word is used to program the DACs. Bit 0 of this word is DACCLK, bit 1 DACSEL, and the remaining 17 bits are the DIN signals for each of the 17 DACs. To clock 1 bit of data into each of the 17 chips in this manner requires two write cycles. This is the case because we must insure that the data on the upper 17 bits is valid when DACCLK goes high. The proper sequence is therefore:

This scheme clearly wastes a clock cycle relative to the most efficient scheme you could imagine. However, it was found that such a scheme substantially simplified the hardware, and since DAC programming happens relatively infrequently, the time lost is not consequential.



Next: The High Voltage Up: Programming the Front Previous: How to load


cowen@upenn5.hep.upenn.edu
Thu Dec 28 12:23:22 EST 1995