33
FIRMWARE COMMANDS
C.1
Fission Meter Command Summary
All communications take place via RS232 running at 115.2 Kbaud. All commands consist of a header and
command. The header is the same for all commands and is the byte sequence 124 (decimal), 38 (decimal).
The third byte is the command, which can be one of the following (in decimal):
1
Start Acquisition
5
Send Parameters
11
Stop Data Acquisition
18
Reset
20
Real Time Data Mode
2
Data Transfer
14
Set Parameters
15
FPGA version readout
16
Test counters readout
For the Data Transfer and Set Parameters commands, additional parameters must be sent. The format for
Command 14, the Set Parameters command parameters, is as follows:
Mode-2 delay (lower byte)
Mode-2 delay (upper byte)
Bin width (lower byte)
Bin width (upper byte)
Mode-2b delay (lower byte)
Mode-2b delay (upper byte)
Mode-2b length (lower byte)
Mode-2b length (upper byte)
Mode cycles/ acquisition mode (one byte)
For Command 16:
Byte
Data(hex)
Description
1
0xAA
header
2
0x55
header
3
0x14
header
4
0xFF
header
5
Channel 0 Data Byte 0
LSByte
6
Channel 0 Data Byte 1
7
Channel 0 Data Byte 2
8
Channel 0 Data Byte 3
MSByte
9
–
11
Channel 1