数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

RM0352 数据表(PDF) 124 Page - STMicroelectronics

部件名 RM0352
功能描述  Brain smart hub family
PDF  138 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

RM0352 数据表(HTML) 124 Page - STMicroelectronics

Back Button RM0352 Datasheet HTML 120Page - STMicroelectronics RM0352 Datasheet HTML 121Page - STMicroelectronics RM0352 Datasheet HTML 122Page - STMicroelectronics RM0352 Datasheet HTML 123Page - STMicroelectronics RM0352 Datasheet HTML 124Page - STMicroelectronics RM0352 Datasheet HTML 125Page - STMicroelectronics RM0352 Datasheet HTML 126Page - STMicroelectronics RM0352 Datasheet HTML 127Page - STMicroelectronics RM0352 Datasheet HTML 128Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 124 / 138 page
background image
UART (universal asynchronous receive transmit)
RM0352
124/138
DocID024647 Rev 1
12.6.5
Integer baud rate register, UARTIBRD
The UARTIBRD register is the integer part of the baud rate divisor value.
Table 119 lists the
register bit assignments.
12.6.6
Fractional baud rate register, UARTFBRD
The UARTFBRD register is the fractional part of the baud rate divisor value.
Table 120 lists
the register bit assignments.
The baud rate divisor is calculated as follows:
Baud rate divisor BAUDDIV = (FUARTCLK / (16 × Baud rate))
where
FUARTCLK is the UART reference clock frequency.
The BAUDDIV is comprised of the integer value (BAUD DIVINT) and the fractional value
(BAUD DIVFRAC).
Note:
The contents of the UARTIBRD and UARTFBRD registers are not updated until
transmission or reception of the current character is complete.
The minimum divide ratio possible is 1 and the maximum is 65535(216 - 1). That is,
UARTIBRD = 0 is invalid and UARTFBRD is ignored when this is the case.
Similarly, when UARTIBRD = 65535 (that is 0xFFFF), then UARTFBRD must not be greater
than zero. If this is exceeded it results in an aborted transmission or reception.
Example 1 is an example of how to calculate the divisor value.
Example 1 Calculating the divisor value
If the required baud rate is 230400 and
UARTCLK = 4 MHz then:
baud rate divisor = (4 × 106) / (16 × 230400) = 1.085
This means BRD
I
= 1 and BRD
F
= 0.085.
Therefore, fractional part, m = integer [(0.085 × 64) + 0.5] = 5
Generated baud rate divider = 1 + 5/64 = 1.078
Generated baud rate = (4 × 10
6
) / (16 × 1.078) = 231911
Error = (231911 - 230400) / 230400 × 100 = 0.656%
Table 119. UARTIBRD register
Bits
Name
Function
15:0
BAUD DIVINT
The integer baud rate divisor.
These bits are cleared to 0 on reset.
Table 120. UARTFBRD register
Bits
Name
Function
5:0
BAUD DIVFRAC
The fractional baud rate divisor.
It results from formula: integer (fract
ional part of BAUDDIV x 64) + 0.5
These bits are cleared to 0 on reset.



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


链接网址



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