mcf5272 Freescale Semiconductor, Inc, mcf5272 Datasheet - Page 382

no-image

mcf5272

Manufacturer Part Number
mcf5272
Description
Mcf5272 Coldfire Integrated Microprocessor User
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mcf5272CVF66
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf5272CVF66
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mcf5272CVF66 K75N
Manufacturer:
ST
Quantity:
18
Part Number:
mcf5272CVF66J
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf5272CVM66
Manufacturer:
MOT
Quantity:
3
Part Number:
mcf5272CVM66
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf5272CVM66
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mcf5272CVM66
0
Company:
Part Number:
mcf5272CVM66
Quantity:
6 000
Part Number:
mcf5272CVM66J
Manufacturer:
NSC
Quantity:
36
Part Number:
mcf5272CVM66J
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf5272CVM66R2
0
Part Number:
mcf5272NF66K75N
Manufacturer:
MOTOROLA
Quantity:
2
Part Number:
mcf5272VF66
Manufacturer:
HYNIX
Quantity:
19
Part Number:
mcf5272VF66
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf5272VF66
Manufacturer:
FREESCALE
Quantity:
20 000
Operation
16.5.1.2.2 External Clock
An external source clock (URT_CLK) can be used as is or divided by 16.
16.5.1.2.3 Autobaud Detection
The UART can determine the clock rate of a received character stream from the timing of
the received pattern. If UCRn[ENAB] is set, the autobaud detector searches for a low level
on URT_RxD, indicating a start bit. Start-bit length is measured until URT_RxD returns to
a high level, then the transmission rate is calculated and loaded into UDUn, UDLn, and
UFPDn.
The calculated transmission rate can be determined by reading UABUn and UABLn. Errors
may occur in the calculation of high transmission rates due to distortion effects from the
external drivers. If the calculated rate is inaccurate, UDUn, UDLn, and UFPDn must be
written with the appropriate value as soon as possible to ensure that characters are properly
received by the UART. The first character is always correctly captured, even though the
transmission rate is not yet calculated.
The first character must be an odd character such as ‘a’ or ‘A’ to ensure that it contains an
isolated start bit. The parity mode can be determined by monitoring subsequent characters.
The process for using the autobaud detector is as follows:
Once enabled, the autobaud detector can calculate the transmission rate only once. If a new
calculation is required, UCR[ENAB] must first be cleared and then set again. Thus, a new
UART connection cannot be hot-plugged into an active UART connection if that
connection is operating at a different rate without first reinitializing the autobaud detector.
16-22
3. Using the formula Fractional Divider = (truncated remainder * 16)
4. This now gives an effective total error in the baud rate as:
• UDUn, UDLn, and UFPDn must be initialized to 0x00.
• The receiver and transmitter clock sources must be set to TIMER (UCSR = 0xDD).
• Autobaud must be enabled (UCR[ENAB] = 1).
• The receiver must be enabled (UCR[RC] = 01).
%Error = 100 x (Truncated remainder) / (16 x (UD + UFPD/16)]
= 100 x 0.32 / (16 x (6 + 8/16))
= 32 / 104
= 0.31%
Baudrate
MCF5272 User’s Manual
=
Externalclockfrequency
-------------------------------------------------------------------- -
= 0.52 * 16
= 8.32
= 8 (truncate to nearest whole number)
UFPD = 0x08
16or1
MOTOROLA

Related parts for mcf5272