Return GTRC   Return GLAST
GTRC Commands and Register


Commands

The commands to the controller are described. Each command consists of a command header followed by a data section. For most of the command a standard data format is used. The data is 68 bits longed followed by one bit for odd parity. There are some commands which don't have any data section at all, and for the readevent command the data section is only 2 bits long.

The following tables show all the commands to the controller. Some of the commands are forwarded by the controller to the front-end chips connected to the controller. Controller chips are addressed by a 4-bit address whereas front-end chips are addressed by 5 bits. The MSB of the address is sent first. In the following table gggg stands for the controller address and the most left g is the MSB. For the front-end chip fffff is used as a place holder for the address.

Commands only to the GTRC

cmd bits comments
NOOP 1 gggg 0 fffff 00000  
reset gtrc 1 gggg 0 fffff 00001 data  
RD_GTRC_REG 1 gggg 0 fffff 10000 read GTRC register. No data section.
RD_GTFE_SYNC 1 gggg 0 fffff 10001 read Gtfe sync register. No data section.

Commands to the GTFE

cmd bits comments
RST_CHIP_GTFE 1 gggg 1 fffff 00010  
CALIBRATE 1 gggg 1 fffff 00011 P  
LD_DATA_MASK 1 gggg 1 fffff 01000 P data  
LD_CAL_MASK 1 gggg 1 fffff 01001 P data  
LD_TRIG_MASK 1 gggg 1 fffff 01010 P data  
LD_DAC 1 gggg 1 fffff 01011 P data  
LD_MODE 1 gggg 1 fffff 01100 P data  
RD_DATA_MASK 1 gggg 1 fffff 10000 P read GTFE data-mask register. No data section.
RD_CAL_MASK 1 gggg 1 fffff 10001 read GTFE calibration-mask register. No data section.  
RD_TRIG_MASK 1 gggg 1 fffff 10010 read GTFE trigger-mask register. No data section.  
RD_DAC 1 gggg 1 fffff 10011 P read GTFE threshold/calibration dac register. No data section.  
RD_MODE 1 gggg 1 fffff 10100 P read GTFE direction/deaf register. No data section.
READEVT 1 gggg 1 fffff 00100 P 1B1B0  

Register

Send your suggestions or complaints about this page to
Wilko Kroeger
Last modified: Fri Jun 1 15:45:26 PDT 2001

Last modified: Tue Dec 11 15:59:06 PST 2001