Figure 254. Break Detection In Lin Mode (11-Bit Break Length - Lbdl Bit Is Set) - ST STM32F412 Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

RM0402
Universal synchronous receiver transmitter (USART) /universal asynchronous receiver
detection circuit receives either a '1, if the break word was not complete, or a delimiter
character if a break has been detected.
The behavior of the break detector state machine and the break flag is shown in
Examples of break frames are given on
break length), and M=0 (8-bit data).

Figure 254. Break detection in LIN mode (11-bit break length - LBDL bit is set)

Case 1: break signal not long enough => break discarded, LBDF is not set
RX line
Capture strobe
Break state
machine
Read samples
Case 2: break signal just long enough => break detected, LBDF is set
RX line
Capture strobe
Break state
machine
Read samples
LBDF
Case 3: break signal long enough => break detected, LBDF is set
RX line
Capture strobe
Break state
machine
Read samples
LBDF
Idle
Bit0 Bit1 Bit2 Bit3 Bit4 Bit5 Bit6 Bit7 Bit8 Bit9 Bit10
0
0
0
Idle
Bit0 Bit1 Bit2 Bit3 Bit4 Bit5 Bit6 Bit7 Bit8 Bit9 B10
0
0
0
Idle
Bit0 Bit1 Bit2 Bit3 Bit4 Bit5 Bit6 Bit7 Bit8 Bit9 Bit10
0
0
0
0
RM0402 Rev 6
Figure
255, where we suppose that LBDL=1 (11-bit
Break frame
0
0
0
0
Break frame
0
0
0
0
Break frame
0
0
0
0
Figure
Idle
0
0
0
1
Delimiter is immediate
Idle
0
0
0
0
wait delimiter
0
0
0
254.
Idle
MSv31156V1
787/1163
810

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F412 and is the answer not in the manual?

Table of Contents

Save PDF