MCA-3K Data Server Reference

eMorpho

Introduction

USB driver

bpi_device

Data structures

Overview

Module Constants

FPGA Data structures

Controls

Statistics

Results

Histogram

List Mode

Oscilloscope Trace

Summation Weights

Time Slices

Two-bank List Mode

ARM Data structures

Version

Status

Controls

Calibration

API

Overview

mca3k_data.py Constants

Summary

There are a few module constants used to direct communication with the MCA-3K

Module Constants

The constants specify the on-board hardware target (ARM or FPGA) and the address within the target.

Module communication constants
ConstantDescription
FPGA_WRITECommand type: Write to FPGA
FPGA_READCommand type: Read from FPGA
ARM_WRITECommand type: Write to ARM
ARM_READCommand type: Read from ARM
MA_CONTROLSCommand address: FPGA control registers
MA_STATISTICSCommand address: FPGA statistics registers (used for time and count rate measurement)
MA_RESULTSCommand address: FPGA results registers (version, telemetry)
MA_HISTOGRAMCommand address: FPGA histogram memory
MA_TRACECommand address: FPGA oscilloscope trace memory
MA_LISTMODECommand address: FPGA list mode memory
MA_WEIGHTSCommand address: FPGA summation weights
MA_ACTIONSCommand address: FPGA action registers, eg to start data acquisition or clear previous data.
Command type and command address module constants