Board Controller Instructions.

BC (board controller) instructions are preceeded by the keyword BC.

All BC READ instructions read the data from the BC's into the RCU result memory.

The BC instructions are

WRITE TEMPERATURE THRESHOLD < chip_address | BROADCAST > value(T_TH)
Write the temperature threshold. Default is $ 40^\circ C$ which is equivilant to 0xA0. That is, each increment is $ 1/4^\circ C$.
READ TEMPERATURE THRESHOLD < chip_address >(T_TH)
Read the temperature threshold of a board.
WRITE ANALOG VOLTAGE THRESHOLD < chip_address | BROADCAST > value(AV_TH)
Write the analog voltage threshold. Default is $ 3.61 V$ which is equivilant to 0x330. That is, each increment is roughly $ 4.43 mV$.
READ ANALOG VOLTAGE THRESHOLD < chip_address (AV_TH) >
Read the analog voltage threshold of a board.
WRITE ANALOG CURRENT THRESHOLD < chip_address | BROADCAST > value(AC_TH)
Write the analog current threshold. Default is $ 0.75 A$ which is equivilant to 0x2C. That is, each increment is roughly $ 17 mA$.
READ ANALOG CURRENT THRESHOLD < chip_address (AC_TH) >
Read the analog current threshold of a board.
WRITE DIGITIAL VOLTAGE THRESHOLD < chip_address | BROADCAST > value(DV_TH)
Write the digitial voltage threshold. Default is $ 2.83 V$ which is equivilant to 0x280. That is, each increment is roughly $ 4.43 mV$.
READ DIGITIAL VOLTAGE THRESHOLD < chip_address (DV_TH) >
Read the digitial voltage threshold of a board.
WRITE DIGITIAL CURRENT THRESHOLD < chip_address | BROADCAST > value(DC_TH)
Write the digitial current threshold. Default is $ 1.92 A$ which is equivilant to 0x40. That is, each increment is roughly $ 30 mA$.
READ DIGITIAL CURRENT THRESHOLD < chip_address (DC_TH) >
Read the digitial current threshold of a board.
READ TEMPERATURE < chip_address (TEMP) >
Read the temperature of a board. One count is $ 0.25^\circ C$
READ ANALOG VOLTAGE < chip_address (AV) >
Read the analog voltage of a board. One count is $ 4.43 mV$
READ ANALOG CURRENT < chip_address (AC) >
Read the analog current of a board. One count is $ 17 mA$
READ DIGITAL VOLTAGE < chip_address (DV) >
Read the digital voltage of a board. One count is $ 4.43 mV$
READ DIGITAL CURRENT < chip_address (DC) >
Read the digital current of a board. One count is $ 30 mA$
READ TRIGGER ONE COUNTER < chip_address (L1CNT) >
Read the trigger one counter of a board.
READ TRIGGER TWO COUNTER < chip_address (L2CNT) >
Read the trigger two counter of a board.
READ SAMPLE CLOCK COUNTER < chip_address (SLCKCNT) >
Read the sample clock counter of a board.
READ DATA STROBE COUNTER < chip_address (DSTBCNT) >
Read the data strobe counter of a board.
WRITE TEST MODE WORDS < chip_address | BROADCAST > value(TSMWORD)
Write the test mode words. Default is 0x1
READ TEST MODE WORDS < chip_address > (TSMWORD)
Read the test mode words of a board.
WRITE UNDER SAMPLE < chip_address | BROADCAST > value(USRATIO)
Write the under sample. Default is 0x1
READ UNDER SAMPLE < chip_address > (USRATIO)
Read the under sample of a board.
WRITE ZERO CONFIG < chip_address | BROADCAST > value(CSR0)
Write the zero config. Default is 0x3FF.
bitsFlag
0-7Interrupt mask
8-9Error mask
10enable for continues mode.
READ ZERO CONFIG < chip_address > (CSR0)
Read the zero config of a board.
WRITE FIRST CONFIG < chip_address | BROADCAST > value(CSR1)
Write the first config (error flags). Default is ?
bitFlag
0temperature over threshold
1analog voltage over threshold
2analog current over threshold
3digital voltage over threshold
4digital current over threshold
5PASA power supply error
6ALTRO power supply error
7missed sample clocks
8parity error
9instruction error
10ALTRO error flag
11Slow control error flag
12General error
13interrupt
READ FIRST CONFIG < chip_address > (CSR1)
Read the first config of a board.
WRITE SECOND CONFIG < chip_address | BROADCAST > value(CSR2)
Write the second config. Default is 0xF.
bit(s)Flag
0ALTRO switch
1PASA switch
2Readout clock enable
3ADC clock enable
4-5(Test mode) ADC address
6-8(Test mode) ALTRO address
9(Test mode) continous test mode
10(Test mode) card isolated
11-15Card address
READ SECOND CONFIG < chip_address > (CSR2)
Read the second config of a board.
WRITE THIRD CONFIG < chip_address | BROADCAST > value(CSR3)
Write the third config. Default is 0x2220.
bit(s)Flag
0-7Read-out / sample clock warning ratio
8-14ALTRO master watch dog
15Conversion end
READ THIRD CONFIG < chip_address > (CSR3)
Read the third config of a board.
Top of page Last update Fri Jul 21 19:48:34 2006
Copyright © 2004 Christian Holm Created by DoxyGen 1.3.5