![Nuvoton NuMicro NUC029 Series Скачать руководство пользователя страница 348](http://html1.mh-extra.com/html/nuvoton/numicro-nuc029-series/numicro-nuc029-series_technical-reference-manual_1720306348.webp)
NuMicro® NUC029LEE/NUC029SEE
32-bit Arm
®
Cortex
®
-M0 Microcontroller
Aug, 2018
Page
348
of
497
Rev 1.00
N
U
MICRO
®
N
UC02
9L
E
E
/N
UC029
S
E
E
T
E
CHN
ICA
L R
E
F
E
R
E
NC
E
M
A
NU
A
L
SOUT
(from UART TX)
IR_SOUT
(encoder output)
IR_SIN
(decorder input)
SIN
(to UART RX)
0
0
1
0
1
1
1
0
0
1
1
1
Bit cycle width
3/16 bit width
STOP BIT
START BIT
IrDA
TX Timing
IrDA
RX Timing
0
1
0
0
1
0
1
0
0
START BIT
STOP BIT
3/16 bit width
1
Figure 6.13-9 IrDA TX/RX Timing Diagram
6.13.5.8 LIN (Local Interconnection Network) Mode
The UART0~UART2 supports LIN function. Setting FUN_SEL (UA_FUN_SEL[1:0])
to ’01’ to
select LIN mode operation. The UART0~UART2 supports LIN break/delimiter generation and
break/delimiter detection in LIN master mode, and supports header detection and automatic
resynchronization in LIN Slave mode.
6.13.5.8.1
Structure of LIN Frame
According to the LIN protocol, all information transmitted is packed as frames; a frame consists of
a header (provided by the master task) and a response (provided by a slave task), followed by a
response (provided by a slave task). The header (provided by the master task) consists of a break
field and a sync field followed by a frame identifier (frame ID). The frame identifier uniquely
defines the purpose of the frame. The slave task is appointed for providing the response
associated with the frame ID. The response consists of a data field and a checksum field. The
Figure 6.13-10 is the structure of LIN Frame.
Data 1
Data 2
Data N
Check
Sum
Protected
Identifier
field
Header
Response
space
Response
Inter-
frame
space
Frame
Frame slot
Synch
field
Break
Field
Figure 6.13-10 Structure of LIN Frame