Ocean Optics NeoFox Engineering Note User Manual
Page 17
![background image](/manuals/292499/17/background.png)
NeoFox Communication Interfaces
013-20000-010-04-201211 17
Ambient Pressure
Uint
n/a
15
780
NEOFOX_ADC_PRESSURE
Read-Only
DeviceGetParameter
This parameter represents the ambient pressure sensor that is embedded in the NeoFox electronics. It is also important
to note that because the ambient pressure sensor is embedded in the electronics and not the probe itself, this sensor
will not be sensitive to the pressure in the measurement environment if that environment is distinct from the
environment of the electronics unit. Because this value is stored as a fixed point value, the following formula must be
scaled with the following formula in order to deduce the floating point value of the ambient pressure.
Floating Point Ambient Pressure Value (in kPa) = Raw Integer Ambient Pressure Value / 2
16
Flash Write
n/a
n/a
93
n/a
NEOFOX_FLASH_WRITE
DeviceSetParameter
Write-Only
This command will cause the variables in the Flash data structure to be written to flash memory. Those variables will
then retain their state when the device has been turned back on. To invoke this command, write to the device as for
any other parameter, using the NEOFOX_FLASH_WRITE code (93). The data value to be written is irrelevant – the
action will happen when the code (93) is received.
Flash Write
n/a
n/a
93
n/a
NEOFOX_FLASH_WRITE
DeviceSetParameter
Write-Only
This command will cause the variables in the Flash data structure to be written to flash memory. Those variables will
then retain their state when the device has been turned back on. To invoke this command, write to the device as for
any other parameter, using the NEOFOX_FLASH_WRITE code (93). The data value to be written is irrelevant – the
action will happen when the code (93) is received.
FPGA Status
Uint
n/a
18
804
NEOFOX_FPGA_STATUS
Read-Only
DeviceGetParameter
The FPGA status register contains various status indicators from the onboard FPGA. However, the only information
that will be relevant to developers is the FPGA version code, which is contained in bits 4 through 7. In the NeoFox
Viewer, the FPGA firmware version is displayed as the last two digits of the “firmware” display on the “status” panel.
Bit Number
Name
Description
15
Fifo Sensor Full
Reserved – do not alter or depend on this value
14
Fifo Sensor Empty
Reserved – do not alter or depend on this value
13
Fifo Sensor Full
Reserved – do not alter or depend on this value
12
Fifo CPU Empty
Reserved – do not alter or depend on this value
11
Software Reset
Reserved – do not alter or depend on this value
10
0
Reserved – do not alter or depend on this value
9
Clip Hi
Reserved – do not alter or depend on this value
8
Clip Lo
Reserved – do not alter or depend on this value
7
FPGA Version Number (3)
FPGA version code bit 3
6
FPGA Version Number (2)
FPGA version code bit 2
5
FPGA Version Number (1)
FPGA version code bit 1
4
FPGA Version Number (0)
FPGA version code bit 0
3
0
Reserved – do not alter or depend on this value
2
FifoCPU Available
Reserved – do not alter or depend on this value
1
FifoCPU Prog Empty
Reserved – do not alter or depend on this value
0
FifoCPU Prog Full
Reserved – do not alter or depend on this value