8: Firmware and Advanced Communications
225-00000-000-11-201604 91
To query the constants, use the ?x{DATA WORD} format to specify the desired constant
Query Variable
Returns the current value of the parameter specified. The syntax of this command requires two
ASCII characters. The second ASCII character corresponds to the command character which
sets the parameter of interest (acceptable values are B, A, I, K, T, J, i, j, y). Note that ‘i’
returns the integration time rounded to the nearest 10us, where ‘j’ returns 1µsec resolution. A
special case of this command is ?x (lower case) which requires an additional data word be
passed to indicate which calibration constant is to be queried.
ACK followed by {DATA WORD}
FLAME-T Firmware
Hardware Description
The Flame utilizes a Cypress FX2 microcontroller, which has a high speed 8051, combined with
an USB ASIC. Program code and data coefficients are stored in external E2PROM, which are
loaded at boot-up via the I2C bus.
Spectral Memory Storage
The Flame can store a single spectrum in the spectral data section. While spectra are being
accumulated, it is being co-added to the existing spectra in memory. With this approach it is
capable to accumulate any number of spectra (previous limit was 4).
USB Information
Ocean Optics Vendor ID number is 0x2457 and the Product ID is 0x1022.
Instruction Set
Command Syntax
The list of the commands is shown in the following table followed by a detailed description of
each command. The length of the data depends on the command. All commands are sent to
the Flame through End Point 1 Out (EP1). All spectra data is acquired through End Point 2 and
6 In and all other queries are retrieved through End Point 1 In (EP1). The endpoints enabled
and their order is: