MCA Data Server Reference

wxMCA

Introduction

ARM Data structures

Version

Status

Controls

MCA Data Server

Overview

Neutron-3K Data Structure: arm_version

Summary

The arm_version data structure reports immutable data describing the ARM software, the FPGA firmware and the printed circuit board hardware. Data cannot be changed by a user command. Reflashing the ARM programming can change these data, except for the unique 32-character serial number.

Data structures

For arm_version there are 16 'register' and 'field' data in use. The registers contain unsigned int32 data.

arm_version registers and fields
Register number and field nameDescription
0: mca_id# byte 0: 0->No MCA, 1->arm-based MCA, 2->FPGA-based MCA, 3->with eMorpho pulse shape discrimination FPGA; byte 1: 1 for PMT, 2 for SiPM; 0x203 for Neutron-3K
1: short_snSoftware-defined short serial number; reserved
2: unique_sn_01st 4 bytes of unique serial number
3: unique_sn_12nd 4 bytes of unique serial number
4: unique_sn_23rd 4 bytes of unique serial number
5: unique_sn_34th 4 bytes of unique serial number
6: arm_hwARM/PCB hardware version 0x0100 => 1.0 (BCD)
7: arm_swARM software version 0x0100 => 1.0 (BCD)
8: arm_buildARM software build number
9: arm_custom_0ARM software customization code; 1st 4 bytes.
10: arm_custom_1ARM software customization code; 2nd 4 bytes.
11: fpga_versionFPGA firmware version
12: fpga_buildFPGA build number
13: fpga_custom_0FPGA customization number, 1st 4 bytes
14: fpga_custom_1FPGA customization number, 2nd 4 bytes
15: fpga_speedFPGA ADC sampling clock speed, in MHZ
The arm_version registers

There are only two higher-level 'user' dictionary entries for arm_version.

arm_version user dictionary
NameDescription
unique_snUnique serial number as a 32-long hex character string.
fpga_speedADC sampling rate in samples/second.
The arm_version 'user' dictionary entries