-----

Suggested initial serial string bit settings

Bits used by the heap manager:
bits name/purpose suggested setting notes
1-4 LVL1_DLY 45 level-1 delay, setting is different in raw mode or with different pre/post spacing
5 not used 0 not used
6 pre/post spacing 1 if 0, 1 beam clock between pre/post samples, if 1, 2 beam clocks
7-8 Phase adjust 00 level-1 phase adjust (1/4 beam clock units), will be different if pre/post spacing or raw mode bit is changed
9 "test count mode enable" 0 when this bit is set to 1, all data packets contain data values of 1, 2, 3, ... Setting it to zero turns this test mode off.
10 IREN 1 1 means enable internal preamp resets.
11 SLCT1 1 along with SLCT0, this is used to decide how many bits the ADCs use. SLCT1=1, SLCT0=0 means 10 bits.
12 SLCT0 0 along with SLCT1, this is used to decide how many bits the ADCs use.
13 RAW_MODE 0 0 means correlator is on, the data packets then contain a pre-sample and a post-sample for each channel. When set to 1, the pre- and post-samples are both returned (2 ADC values per channel)
14 CAL_EN 0 Normally this bit is 0. When set to 1, the calibration mode is enabled.
15 IR1 0 along with IR0, this bit controls the preamp reset frequency. IREN turns this internal reset on/off. These bits control the frequency.
16 IR0 0 along with IR1, this bit control the preamp reset frequency.


AMU/ADC bits:
bits name/purpose suggested setting notes
1 MUX2_OE -- output enable 0 will be set to 1 for spy channel tests, AMU spy
2-6 MUX2_0-4 -- address bits 00000 will be set to various values in spy channel tests, bit 2 is LSB, AMU spy
7 CORR_SEL -- correlator select 1 this bit is set to the opposite of RAW_MODE
8-13 DAC_VREF 2.97 max voltage in digitization "ramp"
14-19 VCORR 1.28 --
20-25 IREF_DAC 8.48 sets slope of ramp
26 MUX2-HIZ -- pull down 0 will be changed for spy channel tests, AMU spy
27 MUX1-HIZ -- pull down 0 will be changed for spy channel tests, preamp spy
28 MUX1-OE -- Output enable 0 will be changed for spy channel tests, preamp spy
29-33 MUX1_0-4 -- address 00000 will be changed for spy channel tests, bit 29 is LSB, preamp spy


TGV's:
bits name/purpose suggested value notes
1-32 CS_DIS[1..32] Output current sum disable 0 by default, leave all channels on
33-96 DIS_TWK[32..1] a and b disc. tweak 0 channel-channel adjustment in disc levels
97-128 PRE_DIS[1..32] preamp disable 0 by default, leave all channels on
129-160 CAL_DIS[32..1] calibration disable 1 1 means calibration pulse is enabled
161-166 THRESH_DAC -- disc. thresh. dac 0.502 this means the threshold is moderately high, 0 corresponds to highest discriminator threshold, noise is usually around 1.4V.
167-172 VMID_DAC 3.171 offset for Voltage output
173-178 VGATE_DAC 1.989 discriminator Vgate, sets sensitivity of Vthresh
179-184 VFB_DAC, feedback resistor 3.03 this is the only DAC with a test-point on the MCM
190-185 VCAL_DAC 3.48 means the max injected pulse (5.00 is minimum)


John Sullivan
updated 5-Oct-1999