Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Mexican  ▼
ALLDATASHEET.COM.MX

X  

CR16MFS5 Datasheet(PDF) 68 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
No. de pieza CR16MFS5
Descripción Electrónicos  Family of CompactRISC 16-Bit Microcontrollers
PDF  99 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  NSC [National Semiconductor (TI)]
Página de inicio  http://www.national.com
Logo NSC - National Semiconductor (TI)

CR16MFS5 Datasheet(HTML) 68 Page - National Semiconductor (TI)

Back Button CR16MFS5 Datasheet HTML 64Page - National Semiconductor (TI) CR16MFS5 Datasheet HTML 65Page - National Semiconductor (TI) CR16MFS5 Datasheet HTML 66Page - National Semiconductor (TI) CR16MFS5 Datasheet HTML 67Page - National Semiconductor (TI) CR16MFS5 Datasheet HTML 68Page - National Semiconductor (TI) CR16MFS5 Datasheet HTML 69Page - National Semiconductor (TI) CR16MFS5 Datasheet HTML 70Page - National Semiconductor (TI) CR16MFS5 Datasheet HTML 71Page - National Semiconductor (TI) CR16MFS5 Datasheet HTML 72Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 68 / 99 page
background image
www.national.com
68
16.4
BAUD RATE CALCULATIONS
The USART baud rate is determined by the system clock fre-
quency and the values programmed into the UnPSR and Un-
BAUD registers. Unless the system clock frequency is an
exact multiple of the desired baud rate, there will be a small
amount of error in the resulting baud rate clock.
The method of baud rate calculation depends on whether the
USART is configured to operate in the asynchronous or syn-
chronous mode.
16.4.1
Baud Rate in Asynchronous Mode
The equation for calculating the baud rate in asynchronous
mode is:
where BR is the baud rate, SYS_CLK is the system clock, N
is the value of the baud rate divisor + 1, and P is the prescaler
divide factor selected by the value in the UnPSR register.
Assuming a system clock of 5 MHz and a desired baud rate
of 9600, the NxP term according to the equation above is:
The NxP term is then divided by each Prescaler Factor from
Table18 to obtain a value closest to an integer. The factor for
this example is 6.5.
The baud rate register is programmed with a baud rate divi-
sor of 4 (N = baud rate divisor +1). This produces a baud
clock of:
Note that the percent error is much lower than would be pos-
sible without the non-integer prescaler factor. Refer to the ta-
ble below for more examples.
16.4.2
Baud Rate in Synchronous Mode
The equation for calculating the baud rate in synchronous
mode is:
where BR is the baud rate, SYS_CLK is the system clock, N
is the value of the baud rate divisor + 1, and P is the prescaler
divide factor selected by the value in the UnPSR register.
Use the same procedure to determine the values of N and P
as in the asynchronous mode. In this case, however, only in-
teger prescaler values are allowed.
System
Clock
Desired
Baud Rate
N
P
Actual
Baud Rate
Percent
Error
4 MHz
9600
2
13
9615.385
0.16
5 MHz
9600
5 6.5
9615.385
0.16
10 MHz
19200
5 6.5
19230.769
0.16
20 MHz
19200
5
13
19230.769
0.16
BR
SYS _CLK
16
NP
×
×
()
-------------------------------
=
NP
×
5
6
×10
()
16
9600
×
()
-----------------------------
32.552
==
N
32.552
6.5
----------------
5.008 (N = 5)
==
BR
5
6
×10
()
165
6.5
×
×
()
---------------------------------
9615.385
==
%error
9615.385
9600
–
()
9600
---------------------------------------------
0.16
==
BR
SYS_CLK
2
NP
×
×
()
----------------------------
=



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


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   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