AMS AS7225 Manuale d'uso - Pagina 10

Sfoglia online o scarica il pdf Manuale d'uso per Accessories AMS AS7225. AMS AS7225 16. Director demo kit

AMS AS7225 Manuale d'uso
AS7225
Director Demo Kit User Guide
Command
ATFWC
ATFWA
BL=1
RD=<addr>
RD16=<addr>
WA=<addr>
WA?
WR=<value>
POLLING=<0|1>
INTEN=<0|1>
PWM1=<value>
PWM1?
PWM2=<value>
PWM2?
PWM3=<value>
PWM3?
PWM4=<value>
PWM4?
PWM5=<value>
PWM5?
PWM6=<value>
PWM6?
INT?
ams Demo Kit Manual
[v2-00] 2018-Jun-08
Response
OK
This command gives information about the current
firmware state
Only for backward compatibility to support old firmware
-
update mechanism. Always returns with OK. Because of
flash devices it is not possible to increment the address
separatly (Page erase necessary!)
Host MCU Commands(I2C)
<value>OK
Read a single-byte I
the <value> (hex)
<value>OK
Read a two-byte I
the <value> (decimal)
OK
Set the I
<value>OK
Read current I
OK
Write <value> (hex) to the I
OK
Set the polling mode enable (1) or disable (0)
OK
Set the interrupt mode enable (1) or disable (0)
Manual PWM1 override, both POLLING and INTEN have
OK
to be 0
<value>OK
Read current PWM1 setting, returning a value in [0...2047]
OK
Manual PWM2 override, both POLLING and INTEN have
to be 0
<value>OK
Read current PWM2 setting, returning a value in [0...2047]
OK
Manual PWM3 override, both POLLING and INTEN have
to be 0
<value>OK
Read current PWM3 setting, returning a value in [0...2047]
OK
Manual PWM4 override, both POLLING and INTEN have
to be 0
<value>OK
Read current PWM4 setting, returning a value in [0...2047]
OK
Manual PWM5 override, both POLLING and INTEN have
to be 0
<value>OK
Read current PWM5 setting, returning a value in [0...2047]
OK
Manual PWM6 override, both POLLING and INTEN have
to be 0
<value>OK
Read current PWM6 setting, returning a value in [0...2047]
<0|1>OK
Read interrupt pin state, active (0) or not active (1)
Description / Parameters
2
C register at <addr> (hex) and return
2
C register at <addr> (hex) and return
2
C register <addr> (hex) for I
2
C register address set by WA
2
C register address set by WA
2
C write
Page 10
Document Feedback