データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

STM8S データシート(PDF) 349 Page - STMicroelectronics

部品番号 STM8S
部品情報  STM8S Series and STM8AF Series 8-bit microcontrollers
PDF  467 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STMICROELECTRONICS [STMicroelectronics]
ホームページ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM8S データシート(HTML) 349 Page - STMicroelectronics

Back Button STM8S Datasheet HTML 345Page - STMicroelectronics STM8S Datasheet HTML 346Page - STMicroelectronics STM8S Datasheet HTML 347Page - STMicroelectronics STM8S Datasheet HTML 348Page - STMicroelectronics STM8S Datasheet HTML 349Page - STMicroelectronics STM8S Datasheet HTML 350Page - STMicroelectronics STM8S Datasheet HTML 351Page - STMicroelectronics STM8S Datasheet HTML 352Page - STMicroelectronics STM8S Datasheet HTML 353Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 349 / 467 page
background image
DocID14587 Rev 14
349/467
RM0016
Universal asynchronous receiver transmitter (UART)
377
LIN break and delimiter detection
The UART features a break detection circuit which is totally independent from the normal
UART receiver. A break can be detected whenever it occurs, during idle state or during a
frame.
When the receiver is enabled (REN=1 in UART_CR2), the circuit looks at the UART_RX
input for a start signal. The method for detecting start bits is the same when searching break
characters or data. After a start bit has been detected, the circuit samples the next bits
exactly like for the data (on the 8th, 9th and 10th samples). If 10 bits (when the LBDL = 0 in
UART_CR4) or 11 bits (when LBDL=1 in UART_CR4) are detected as ‘0’, and are followed
by a delimiter character, the LBDF flag is set in UART_CR4. If the LBDIEN bit=1, an
interrupt is generated.
If a ‘1’ is sampled before the 10 or 11 have occurred, the break detection circuit cancels the
current detection and searches for a start bit again. If LIN mode is disabled (LINEN=0), the
receiver continues working as a normal UART, without taking into account the break
detection.
If LIN mode is enabled (LINEN=1), as soon as a framing error occurs (i.e. stop bit detected
at ‘0’, which will be the case for any break frame), the receiver stops until the break
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 Figure 130:
Break detection in LIN mode (11-bit break length - LBDL bit is set) on page 350.
The LBDF flag is used in master mode, in slave mode the LHDF flag is used instead.
Examples of break frames are given on Figure 131: Break detection in LIN mode vs framing
error detection on page 351.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


データシート ダウンロード

Go To PDF Page


リンク URL



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com