Difference between revisions of "MCE commands"

From MCEWiki
Line 5: Line 5:
 
* [http://www.phas.ubc.ca/~mce/mcedocs/software/SC2_ELE_S580_515_mce_command_description.pdf SC2_ELE_S580_515_mce_command_description.pdf]
 
* [http://www.phas.ubc.ca/~mce/mcedocs/software/SC2_ELE_S580_515_mce_command_description.pdf SC2_ELE_S580_515_mce_command_description.pdf]
  
 +
== The rest of the page is under construction! ==
 
== All Card Commands ==
 
== All Card Commands ==
 
* These commands can be issued to any card in the MCE (cc, rc1 to rc4, bc1, bc2, bc3, ac), except the Power Supply Card.  Dark-shaded rows indicate commands that remain to be implemented as of 16 May 2008.
 
* These commands can be issued to any card in the MCE (cc, rc1 to rc4, bc1, bc2, bc3, ac), except the Power Supply Card.  Dark-shaded rows indicate commands that remain to be implemented as of 16 May 2008.

Revision as of 12:04, 26 January 2012

Low-level command description

The document linked below describes the commands implemented in firmware. The software may support additional cards and commands, implemented at the software rather than the firmware level.

The rest of the page is under construction!

All Card Commands

  • These commands can be issued to any card in the MCE (cc, rc1 to rc4, bc1, bc2, bc3, ac), except the Power Supply Card. Dark-shaded rows indicate commands that remain to be implemented as of 16 May 2008.

System Commands

  • These commands affect the timing of the system – which means that they must be issued to all cards in the MCE at the same time. They are addressed to every card in the card cage by using the ‘sys’ card address.

Power Supply Commands

  • These commands are for the Power Supply Card only. The Power Supply Card firmware blocks are integrated in the Clock Card firmware as a virtual card. This is why the firmware revision refers to the Clock Card.

Clock Card Commands

  • These commands are for the Clock Card only. Dark-shaded rows indicate commands that remain to be implemented as of 16 May 2008.

Readout Card Commands

  • These commands target the Readout Cards only.

Bias Card Commands

  • These commands are for Bias Cards only. Dark-shaded rows indicate commands that remain to be implemented as of 2008-05-16.

Address Card Commands

Parameter ID Physical Address Type Firmware Revision Parameters Description
-- 0x00 -- -- -- Reserved
row_order 0x01 wb/rb all row1,

row2, ...

This command is relevant when enbl_mux = 1 or 2. Read/write the row-addressing order. A sequence of up to 41 rows is specified at once. The row numbers that are specified with this command refer to the physical channel numbers on the Address Card. Note: After this command is issued, a “flx_lp_init” command must be issued to all the readout cards to discard previous PID-loop calculations and to clean out the rest of the data pipeline. Default = 0,0,0,…