Data Sheet

Page 30 ams Datasheet
Document Feedback [v1-00] 2016-Nov-25
AS7263 − Detailed Description
In the Figure below, numeric values may be specified with no
leading prefix, in which case they will be interpreted as
decimals, or with a leading “0x” to indicate that they are
hexadecimal numbers, or with a leading “‘b” to indicate that
they are binary numbers. The commands are loosely grouped
into functional areas. Texts appearing between angle brackets
(‘<‘ and ‘>‘) are commands or response arguments. A carriage
return character, a linefeed character, or both may terminate
commands and responses. Note that any command that
encounters an error will generate the “ERROR” response shown,
for example, in the NOP command at the top of the first table,
but has been omitted elsewhere in the interest of readability
and clarity.
Figure 33:
AT Commands
Command Response Description / Parameters
Spectral Data per Channel
ATDATA
<R_value>,
<S_value>,
<T_value>,
<U_value>,
<V_value>,
<W_value> OK
Read R, S, T, U, V & W data. Returns comma-separated 16-bit
integers.
ATCDATA
<Cal_R_value>,
<Cal_S_value>,
<Cal_T_value>,
<Cal_U_value>,
<Cal_V_value>,
<Cal_W_value> OK
Read calibrated R, S, T, U, V & W data. Returns comma-separated
32-bit floating point values.
Sensor Configuration
ATINTTIME=<value>OK
Set sensor integration time. Values should be in the range [1...
255], with
integration time = <value> * 2.8ms.
ATINT TIME <value> OK
Read sensor integration time, with
integration time = <value> * 2.8ms.
ATGAIN=<value> OK Set sensor gain: 0=1X, 1=3.7x, 2=16x, 3=64x
ATGAIN <value>OK
Read sensor gain setting, returning 0, 1, 2, or 3 as defined
immediately above.
AT TEMP <value>OK Read temperature of chip in degree Celsius