Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

STM8S Datasheet(PDF) 332 Page - STMicroelectronics

Part # STM8S
Description  STM8S Series and STM8AF Series 8-bit microcontrollers
PDF  467 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM8S Datasheet(HTML) 332 Page - STMicroelectronics

Back Button STM8S Datasheet HTML 328Page - STMicroelectronics STM8S Datasheet HTML 329Page - STMicroelectronics STM8S Datasheet HTML 330Page - STMicroelectronics STM8S Datasheet HTML 331Page - STMicroelectronics STM8S Datasheet HTML 332Page - STMicroelectronics STM8S Datasheet HTML 333Page - STMicroelectronics STM8S Datasheet HTML 334Page - STMicroelectronics STM8S Datasheet HTML 335Page - STMicroelectronics STM8S Datasheet HTML 336Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 332 / 467 page
background image
Universal asynchronous receiver transmitter (UART)
RM0016
332/467
DocID14587 Rev 14
Figure 117. Start bit detection
Note:
If the sequence is not complete, the start bit detection aborts and the receiver returns to the
idle state (no flag is set), where it waits for a falling edge.
If only 2 out of the 3 bits are at 0 (sampling on the 3rd, 5th and 7th bits or sampling on the 8th,
9th and 10th bits), the start bit is validated but the NF noise flag bit is set.
The start bit is confirmed if the last 3 samples are at 0 (sampling on the 8th, 9th, and 10th
bits.
Character reception
During an UART reception, data shifts in least significant bit first through the UART_RX pin.
In this mode, the UART_DR register consists of a buffer (RDR) between the internal bus
and the received shift register (see Figure 2).
Procedure:
1.
Program the M bit in UART_CR1 to define the word length.
2.
Program the number of stop bits in UART_CR3.
3.
Select the desired baud rate by programming the baud rate registers in the following
order:
a)
UART_BRR2
b)
UART_BRR1
4.
Set the REN bit UART_CR2. This enables the receiver which begins searching for a
start bit.
0
1
0
X0
X
0
0
0
0
X
X
X
XX
X
Falling edge
detection
1
1
1
2
3
4
5
6
7
8
9
10
11 12131415 16
X
X
X
X
X
X
X
X
9
10
11 12131415 16
6/16
7/16
7/16
X
At least 2 bits
out of 3 at 0
At least 2 bits
out of 3 at 0
One-bit time
Conditions
to validate
the start bit
Real
sample
clock
Ideal
sample
clock
RX line
RX state
Idle
Start bit
Sampled values
ai15471b



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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