About Corresponded UART Interface
S6AL211A94, ASSP 4ch LED Driver IC for Intelligent Lighting Hardware Manual, Doc. No. 002-08545 Rev. *B
9
2.2 Description of Functions
2.2.1 Data Format and Timing
The data format and timing of the UART communication is shown below.
Figure 1. UART Data Format and Timing
Data to be transmitted and received, all are treated as ASCII character code.
Valid send and receive data is numbers and uppercase and control characters.
Received data length is within 24 byte.When continuous reception<CR>(ASCII code:0Dh) and <LF>(ASCII
code:0Ah) within 24 byte, it is interpreted as the delimiter of receive data. Next received data of continuous
reception of<CR>, <LF>are treated as 1st byte data.
If there is no delimiter is within 24 byte, received data of 24 byte will be discarded. And 25th received byte
data are treated as 1st byte data.
If the received string is a valid control commands, this device output response.
IF1
> 1ms
t (s)
24 characters or less
S
ASCII code
P
S
ASCII code
P
S
0Dh(=<CR>)
P
S
0Ah(=<LF>)
P
IF1
IF2
S
0Ah(=<LF>)
P
S
t (s)
S
4Fh(=
”
O
”
)
P
S
4Bh(=
”
K
”
)
P
S
0Dh(=<CR>)
P
S
0Ah(=<LF>)
P
≦
4ms
≒
2ms
> 0s
S
Start bit
P
Stop bit