Data Sheet

Page 42 ams Datasheet
Document Feedback [v1-04] 2018-Jul-09
AS7265x − Detailed Description
Figure 57:
UART Protocol
AT Command Interface
The microprocessor interface to control the AS72651 Spectral_
ID sensor(s) is via AT Commands across the UART interface. The
AS72651 provides a text-based serial command interface bor-
rowed from the “AT Command” model used in early Hayes mo-
dems.
For example:
The AT Command Interface, shown below provides access to
the Spectral_ID engine’s control and configuration functions.
Figure 58:
AT Command Interface Block Diagram
Read DATA value: ATDATA <data>OK
Set the gain of the sensor to 1x: ATGAIN=0 OK
Start Bit
TX
D0
D1 D2 D3 D4 D5 D6
D7 D0
D0
D1 D2 D3 D4 D5 D6
D7 D0
Tbit=1/Baude Rate
Stop Bit Next Start
Sample Points
Start Bit detected
After Tbit/2: Sampling of Start Bit
After T
bit
: Sampling of Data
RX
Always Low Always High
Data Bits
AT Command Interface
Spectral_ID
Engine
AT
Command
Interface
RX
MCU
TX
AS72651
AT Command Interface
AT Commands