About Corresponded UART Interface
S6AL211A94, ASSP 4ch LED Driver IC for Intelligent Lighting Hardware Manual, Doc. No. 002-08545 Rev. *B
10
2.2.2 Control Command
First six characters of the received string are treated as a control command.
The argument is only valid ASCII character code A, B, C, D, E, F and 0-9.When it received an invalid value
will be treated as receiving a "0".
Please send a space character in front of the argument.
Table 2. Control Commands
Command
Argument
Function
Response
DIMSET
1st : ch1 dimming level
Set the dimming level on each channel.
ex. ) DIMSET FF AA FF 93<CR><LF>
OK<CR><LF>
2nd : ch2 dimming level
3rd : ch3 dimming level
4th : ch4 dimming level
MEMSET
1st : write address
Write data to the memory.
[1]
ex. ) MEMSET 3055<CR><LF>
OK<CR><LF>
2nd : write data
QUERYS
1st : read address
Read from memory.
ex. ) QUERYS 24<CR><LF>
Read Data or "TRUE"
or "FALSE"
+
<CR><LF>
WAKEUP
No argument
Return to the normal dimming operation state from
the standby state.
[2]
This command is ignored when the state is not the
standby.
OK<CR><LF>
[3]
PRESET
No argument
Initialize the device when the light is off bye
protection.
This command is ignored when the light is not off
bye protection.
OK<CR><LF>
SELECT
1st : slave address
Select the slave device.
When the argument matches the parameter
"SLAVE ADDRESS", all commands is accepted.
When the argument don't match the parameter
"SLAVE ADDRESS",it is accepted only command
of WAKEUP and SELECT.
If the received argumentis "FF", regardless of the
setting value of "SLAVE ADDRESS", all
commands is accepted.
If the received
argument is "FF" or the
value of "SLAVE
ADDRESS", output the
response
"OK<CR><LF>".
(Others)
-
It is determined that the invalid command, input is
ignored.
No response
[1]: Write data to excluding the address "0x10" is stored in non-volatile memory. Therefore, please do not
power-off from the transmission of the MEMSET command within 5 seconds. If power is lost within 5 seconds,
the write data is not guaranteed.
[2]: Unless setting to illuminate within 3 seconds after receiving the WAKEUP command, it moves again to
the standby state.
[3]: When receive at standby state, this device outputs the response within 4 ms from the first character.