xr16m780 Exar Corporation, xr16m780 Datasheet - Page 13
![no-image](/images/manufacturer_photos/0/2/243/exar_corporation_sml.jpg)
xr16m780
Manufacturer Part Number
xr16m780
Description
1.62v To 3.63v High Performance Uart With 64-byte Fifo
Manufacturer
Exar Corporation
Datasheet
1.XR16M780.pdf
(58 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
xr16m780IB25-F
Manufacturer:
TI/NSC
Quantity:
1 000
Company:
Part Number:
xr16m780IB25-F
Manufacturer:
Exar Corporation
Quantity:
10 000
Company:
Part Number:
xr16m780IL32-F
Manufacturer:
XRT
Quantity:
1 001
Company:
Part Number:
xr16m780IM48-F
Manufacturer:
EXAR
Quantity:
410
Company:
Part Number:
xr16m780IM48-F
Manufacturer:
Exar Corporation
Quantity:
10 000
REV. 1.0.0
The M780 has independent Baud Rate Generators (BRGs) with prescalers for the transmitter and receiver.
The prescalers are controlled by a software bit in the MCR register. The MCR register bit-7 sets the prescalers
to divide the input crystal or external clock by 1 or 4. The output of the prescaler clocks to the BRG. The BRG
further divides this clock by a programmable divisor between 1 and (2
16) to obtain a 16X or 8X or 4X sampling clock of the serial data rate. The sampling clock is used by the
transmitter for data bit shifting and receiver for data sampling. For transmitter and receiver, the M780 provides
respective BRG divisors. The BRG divisor (DLL, DLM, and DLD registers) defaults to the value of ’1’ (DLL =
0x01, DLM = 0x00 and DLD = 0x00) upon reset. Therefore, the BRG must be programmed during initialization
to the operating data rate. The DLL and DLM registers provide the integer part of the divisor and the DLD
registers provides the fractional part of the divisor. The four lower bits of the DLD are used to select a value
from 0 (for setting 0000) to 0.9375 or 15/16 (for setting 1111). Programming the Baud Rate Generator
Registers DLL, DLM and DLD provides the capability for selecting the operating data rate.
standard data rates available with a 24MHz crystal or external clock at 16X clock rate. If the pre-scaler is used
(MCR bit-7 = 1), the output data rate will be 4 times less than that shown in
data rates would double. And at 4X sampling rate, they would quadruple. Also, when using 8X sampling mode,
please note that the bit-time will have a jitter (+/- 1/16) whenever the DLD is non-zero and is an odd number.
When using a non-standard data rate crystal or external clock, the divisor value can be calculated with the
following equation(s):
The closest divisor that is obtainable in the M780 can be calculated using the following formula:
In the formulas above, please note that:
TRUNC (N) = Integer Part of N. For example, TRUNC (5.6) = 5.
ROUND (N) = N rounded towards the closest integer. For example, ROUND (7.3) = 7 and ROUND (9.9) = 10.
A >> B indicates right shifting the value ’A’ by ’B’ number of bits. For example, 0x78A3 >> 8 = 0x0078.
The XR16M780 has two independent sets of TX and RX baud rate generator. See
work in different baud rate by setting DLD, DLL and DLM register. For example, TX can transmit data to the
remote UART at 9600 bps while RX receives data from remote UART at 921.6 Kbps. For the baud rate setting,
please
page 39.
2.7
2.7.1
Required Divisor (decimal)=(XTAL1 clock frequency / prescaler) /(serial data rate x 16), with 16X mode, DLD[5:4]=’00’
Required Divisor (decimal)= (XTAL1 clock frequency / prescaler / (serial data rate x 8), with 8X mode, DLD[5:4] = ’01’
Required Divisor (decimal)= (XTAL1 clock frequency / prescaler / (serial data rate x 4), with 4X mode, DLD[5:4] = ’10’
ROUND( (Required Divisor - TRUNC(Required Divisor) )*16)/16 + TRUNC(Required Divisor), where
See ”Section 4.13, Baud Rate Generator Registers (DLL, DLM and DLD) - Read/Write” on
Programmable Baud Rate Generator with Fractional Divisor
Independent TX/RX BRG
DLD = ROUND( (Required Divisor-TRUNC(Required Divisor) )*16)
DLL = TRUNC(Required Divisor) & 0xFF
DLM = TRUNC(Required Divisor) >> 8
1.62V TO 3.63V HIGH PERFORMANCE UART WITH 64-BYTE FIFO
13
16
- 0.0625) in increments of 0.0625 (1/
Table
3. At 8X sampling rate, these
Figure
Table 3
8. TX and RX can
XR16M780
shows the