CYPRES S6AL211A94 Manuale - Pagina 9

Sfoglia online o scarica il pdf Manuale per Sistemi di controllo CYPRES S6AL211A94. CYPRES S6AL211A94 17. Assp 4 ch led driver ic for intelligent lighting hardware

2.2

Description of Functions

2.2.1

Data Format and Timing

The data format and timing of the UART communication is shown below.
IF1
S
IF1
IF2
S
Start bit
P
Stop bit
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.
S6AL211A94, ASSP 4ch LED Driver IC for Intelligent Lighting Hardware Manual, Doc. No. 002-08545 Rev. *B
Figure 1. UART Data Format and Timing
24 characters or less
ASCII code
P
S
ASCII code
> 1ms
S
0Ah(=<LF>)
P
≦ 4ms
S
4Fh(="O")
≒ 2ms
P
S 0Dh(=<CR>)
P
P
S
4Bh(="K")
P
S 0Dh(=<CR>)
About Corresponded UART Interface
S
0Ah(=<LF>)
P
t (s)
t (s)
P
S
0Ah(=<LF>)
P
> 0s
S
9