Fast Control Protocol for EMC Trigger 10/10/97 ===================================== ======== Op-code 1E Command User reset Subcommand Reserved Data None Description Reset control register to a specified state and zero error register. Reset Xilinx's (_reset line). Equivalent to power cycle. Op-code 1D Command Reset front end playback FIFO's Subcommand Reserved Data None Description Resets (clears) the front end playbacks, ready for new series of write commands. Op-code 1C Command Reset back end playback FIFO Subcommand Reserved Data None Description As above, but for the back end playback. Op-code 1B Command Write memory Subcommand 0-6, 8-10 and 13 used Data Byte stream, length implicitly defined as below. Description Writes memory to address specified by the subcommand. Valid addresses and number of bytes are; A0-3 for the algorithm Xilinx configuration data 88 bytes A4-6 for the front end playback FIFO's 2048 bytes A8 for the back end playback FIFO 2048 bytes A9 for the formatter Xilinx bitmask 32 bytes A10 for the latency buffer offsets 8 bytes A13 for the control register (plus dummy byte) 2 bytes Note, the front and back end playback FIFO's are each 16kbytes but the ROM buffer size is 4kbytes including the header. Hence, the data will be sent in 2kbyte packets and so require 8 writes to completely fill the memories. In the initial test-stand using the RAL2301, the buffer size is only 512bytes and hence filling the memories will require 32 writes. The algorithm Xilinx and latency data require the readback header to be prepended to the data, which adds 2 bytes to the above numbers. Op-code 1A Command Read Memory Subcommand 0-6, 8-10 and 12 used Data None Description Reads memory at address specified by the subcommand. Valid addresses and number of bytes are; A0-3 for the algorithm Xilinx configuration data 88 bytes A4-6 for the front end playback FIFO's 2048 bytes A8 for the back end playback FIFO 2048 bytes A9 for the formatter Xilinx bitmask 32 bytes A10 for the latency buffer offsets 8 bytes A12 for the control, status and error registers and the serial number and geometric address 6 bytes Note, the front and back end playback FIFO's require multiple reads as detailed above. Op-code 19 Command Set to run mode Subcommand Reserved Data None Description Sets first control register bit to run mode. None of the other control bits are changed. Op-code 18 Command Set to configure mode Subcommand Reserved Data None Description Sets first control register bit to configure mode. None of the other control bits are changed.