Os motores de busca de Datasheet de Componentes eletrônicos
  Portuguese  ▼
ALLDATASHEETPT.COM

X  

STM8S Folha de dados(PDF) 338 Page - STMicroelectronics

Nome de Peças STM8S
Descrição Electrónicos  STM8S Series and STM8AF Series 8-bit microcontrollers
PDF  467 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrônico  STMICROELECTRONICS [STMicroelectronics]
Página de início  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM8S Folha de dados(HTML) 338 Page - STMicroelectronics

Back Button STM8S Datasheet HTML 334Page - STMicroelectronics STM8S Datasheet HTML 335Page - STMicroelectronics STM8S Datasheet HTML 336Page - STMicroelectronics STM8S Datasheet HTML 337Page - STMicroelectronics STM8S Datasheet HTML 338Page - STMicroelectronics STM8S Datasheet HTML 339Page - STMicroelectronics STM8S Datasheet HTML 340Page - STMicroelectronics STM8S Datasheet HTML 341Page - STMicroelectronics STM8S Datasheet HTML 342Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 338 / 467 page
background image
Universal asynchronous receiver transmitter (UART)
RM0016
338/467
DocID14587 Rev 14
Table 56. UART receiver’s tolerance when UART_DIV[3:0] is different from zero
Note:
The values specified in Table 55 and Table 56 may slightly differ in the special case when
the received frames contain some Idle frames of exactly 10-bit times when M=0 (11-bit times
when M=1).
22.3.6
Parity control
Parity control (generation of parity bit in transmission and parity checking in reception) can
be enabled by setting the PCEN bit in the UART_CR1 register. Depending on the frame
length defined by the M bit, the possible UART frame formats are as listed in Table 57.
Legends: SB: Start Bit, STB: Stop Bit, PB: Parity Bit
Note:
In case of wakeup by an address mark, the MSB bit of the data is taken into account and not
the parity bit
Even parity: the parity bit is calculated to obtain an even number of “1s” inside the frame
made of the 7 or 8 LSB bits (depending on whether M is equal to 0 or 1) and the parity bit.
Ex: data=00110101; 4 bits set => parity bit will be 0 if even parity is selected (PS bit in
UART_CR1 = 0).
Odd parity: the parity bit is calculated to obtain an odd number of “1s” inside the frame
made of the 7 or 8 LSB bits (depending on whether M is equal to 0 or 1) and the parity bit.
Example: data=00110101; 4 bits set => parity bit will be 1 if odd parity is selected (PS bit in
UART_CR1 = 1).
Transmission: If the PCEN bit is set in UART_CR1 then the MSB bit of the data written in
the data register is not transmitted but is changed by the parity bit to give an even number of
‘1’s if even parity is selected (PS=0) or an odd number of ‘1’s if odd parity is selected
(PS=1).
Reception: If the parity check fails, the PE flag is set in the UART_SR register and an
interrupt is generated if the PIEN bit is set in the UART_CR1 register.
M bit
NF is an error
NF is don’t care
0
3.33%
3.88%
1
3.03%
3.53%
Table 57. Frame format
M bit
PCEN bit
UART frame
0
0
| SB | 8 bit data | STB |
0
1
| SB | 7-bit data | PB | STB |
1
0
| SB | 9-bit data | STB |
1
1
| SB | 8-bit data PB | STB |



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


Folha de dados Download

Go To PDF Page


Ligação URL



ALLDATASHEET é útil para você?  [ DONATE ] 

Sobre Alldatasheet   |   Publicidade   |   Contato conosco   |   Privacy Policy   |   Link para a ficha técnica    |   roca de Link   |   Lista de Fabricantes
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