Data Sheet
ams Datasheet Page 33
[v1-01] 2017-Mar-17 Document Feedback
AS7262 − Detailed Description
LED Driver Controls
ATLED0=<value> OK Sets LED_IND: 100=ON, 0=OFF
ATLED0 <100|0>OK Reads LED_IND setting: 100=ON, 0=OFF
ATLED1=<value> OK Sets LED_DRV: 100=ON, 0=OFF
ATLED1 <100|0>OK Reads LED_DRV setting: 100=ON, 0=OFF
ATLEDC=<value> OK
Sets LED_IND and LED_DRV current
LED_IND: bits 3:0; LED_DRV: 7:4 bits
LED_IND: ‘b00=1mA; ‘b01=2mA; ‘b10=4mA; ‘b11=8mA
LED_DRV: ‘b00=12.5mA; ‘b01=25mA; ‘b10=50mA;
‘b11=100mA
ATLEDC <value>OK
Reads LED_IND and LED_DRV current settings as shown
above
NOP, Version Access, System Reset
AT
OK → Success
ERROR → Failure
NOP
ATRST None Software Reset – no response
AT VERSW
<SWversion#>OK
ERROR → Failure
Returns the system software version number
AT VERHW
<HWversion#>OK
ERROR → Failure
Returns the system hardware revision and product ID,
with bits 7:4 containing the part ID, and bits 3:0 yielding
the chip revision value.
Firmware Update
ATFWU=<value>OK
<value>= 16-bit checksum. Initializes the firmware update
process. Number of bytes that follow are always 56k bytes
ATFW=<value>OK
Download new firmware
Up to 7 Bytes represented as hex chars with no leading or
trailing 0x.
Repeat command till all 56k bytes of firmware are
downloaded
ATFWA OK
Causes target address for FW updates to advance. Should
be called after every successful “OK” returned after
“ATFW=<value>” command usage.
ATFWS OK
Causes the active image to switch between the two
possible current images and then resets the IC
Command Response Description/Parameters