XR21V1410
16
1-CH FULL-SPEED USB UART
REV. 1.4.0
3.3 UART Register Descriptions
All register bits default to a value of ’0’ unless otherwise noted.
3.3.1 UART_ENABLE Register Description (Read/Write)
This register enables the UART TX and RX. For proper functionality, the UART TX and RX must be enabled in
the following order:
FIFO_ENABLE = 0x1 // Enable TX FIFO
UART_ENABLE = 0x3 // Enable TX and RX of that channel
FIFO_ENABLE = 0x3 // Enable RX FIFO
UART_ENABLE[0]: Enable UART TX
Logic 0 = UART TX disabled.
Logic 1 = UART TX enabled.
UART_ENABLE[1]: Enable UART RX
Logic 0 = UART RX disabled.
Logic 1 = UART RX enabled.
UART_ENABLE[7:2]: Reserved
These bits are reserved and should remain ’0’.
3.3.2 CLOCK_DIVISOR0, CLOCK_DIVISOR1, CLOCK_DIVISOR2 Register Description (Read/Write)
These registers are used for programming the baud rate. The V1410 uses a 19-bit divisor and 16-bit mask
register. Using the internal 48MHz oscillator, the 19-bit divisor is calculated as follows:
CLOCK_DIVISOR = Trunc ( 48000000 / Baud Rate )
For example, if the the baud rate is 115200bps, then
CLOCK_DIVISOR = Trunc ( 48000000 / 115200 ) = Trunc (416.66667) = 416
CLOCK_DIVISOR0[7:0]: Baud rate clock divisor bits [7:0]
CLOCK_DIVISOR1[7:0]: Baud rate clock divisor bits [15:8]
CLOCK_DIVISOR2[2:0]: Baud rate clock divisor bits [18:16]
CLOCK_DIVISOR2[7:3]: Reserved
These bits are reserved and should remain ’0’.
3.3.3 TX_CLOCK_MASK0, TX_CLOCK_MASK1 Register Description (Read/Write)
A look-up table is used for the value of the 16-bit TX Clock mask registers. The index of the look-up table is
calculated as follows:
index = Trunc ( ( ( 48000000 / Baud Rate ) - CLOCK_DIVISOR ) * 32)
For example, if the baud rate is 115200bps, then the index will be:
index = Trunc ( ( ( 48000000 / 115200 ) - 416 ) * 32) = Trunc (21.3333) = 21
The values for some baud rates to program the TX_CLOCK_MASK registers are listed in Table 8. For baud
rates that are not listed, use the index to select TX_CLOCK_MASK register values from Table 9.
3.3.4 RX_CLOCK_MASK0, RX_CLOCK_MASK1 Register Description (Read/Write)
The values for some example baud rates to program the RX_CLOCK_MASK registers are listed in
Table 8.
For baud rates that are not listed, use the same index calculated for the TX_CLOCK_MASK register to select
RX_CLOCK_MASK register values from Table 9.
XR21V1410
17
REV. 1.4.0
1-CH FULL-SPEED USB UART
For baud rates that are not listed in the table above, use the index value calcuated using the formula in
“Section 3.3.3, TX_CLOCK_MASK0, TX_CLOCK_MASK1 Register Description (Read/Write)” on page 16
to determine which TX Clock and RX Clock Mask register values to use from Table 9. For the the RX Clock
Mask register, there are 2 values listed and would depend on whether the Clock Divisor is even or odd. For
even Clock Divisors, use the value from the first column. For odd Clock Divisors, use the value from the last
column.
T
ABLE
8: C
LOCK
D
IVISOR AND
C
LOCK
M
ASK
V
ALUES FOR
C
OMMON
B
AUD
R
ATES
B
AUD
R
ATE
(
BPS
) C
LOCK
D
IVISOR
(D
ECIMAL
) TX C
LOCK
M
ASK
(H
EX
) RX C
LOCK
M
ASK
(H
EX
)
1200 40000 0x0000 0x0000
2400 20000 0x0000 0x0000
4800 10000 0x0000 0x0000
9600 5000 0x0000 0x0000
19200 2500 0x0000 0x0000
38400 1250 0x0000 0x0000
57600 833 0x0912 0x0924
115200 416 0x0B6D 0x0B6A
230400 208 0x0912 0x0924
460800 104 0x0208 0x0040
500000 96 0x0000 0x0000
576000 83 0x0912 0x0924
921600 52 0x0040 0x0000
1000000 48 0x0000 0x0000
1152000 41 0x0B6D 0x0DB6
1500000 32 0x0000 0x0000
2000000 24 0x0000 0x0000
2500000 19 0x0104 0x0108
3000000 16 0x0000 0x0000
3125000 15 0x0492 0x0492
3500000 13 0x076D 0x0BB6
4000000 12 0x0000 0x0000
4250000 11 0x0122 0x0224
6250000 7 0x0B6D 0x0DB6
8000000 6 0x0000 0x0000
12000000 4 0x0000 0x0000
XR21V1410
18
1-CH FULL-SPEED USB UART
REV. 1.4.0
T
ABLE
9:
T
TX
AND
RX C
LOCK
M
ASK
V
ALUES
I
NDEX
(D
ECIMAL
)
TX C
LOCK
M
ASK
(H
EX
)
RX C
LOCK
M
ASK
(H
EX
) -
E
VEN
C
LOCK
D
IVISOR
RX C
LOCK
M
ASK
(H
EX
) -
O
DD
C
LOCK
D
IVISOR
0 0x0000 0x0000 0x0000
1 0x0000 0x0000 0x0000
2 0x0100 0x0000 0x0100
3 0x0020 0x0400 0x0020
4 0x0010 0x0100 0x0010
5 0x0208 0x0040 0x0208
6 0x0104 0x0820 0x0108
7 0x0844 0x0210 0x0884
8 0x0444 0x0110 0x0444
9 0x0122 0x0888 0x0224
10 0x0912 0x0448 0x0924
11 0x0492 0x0248 0x0492
12 0x0252 0x0928 0x0292
13 0x094A 0x04A4 0x0A52
14 0x052A 0x0AA4 0x054A
15 0x0AAA 0x0954 0x04AA
16 0x0AAA 0x0554 0x0AAA
17 0x0555 0x0AD4 0x05AA
18 0x0B55 0x0AB4 0x055A
19 0x06B5 0x05AC 0x0B56
20 0x05B5 0x0D6C 0x06D6
21 0x0B6D 0x0B6A 0x0DB6
22 0x076D 0x06DA 0x0BB6
23 0x0EDD 0x0DDA 0x076E
24 0x0DDD 0x0BBA 0x0EEE
25 0x07BB 0x0F7A 0x0DDE
26 0x0F7B 0x0EF6 0x07DE
27 0x0DF7 0x0BF6 0x0F7E
28 0x07F7 0x0FEE 0x0EFE
29 0x0FDF 0x0FBE 0x07FE
30 0x0F7F 0x0EFE 0x0FFE
31 0x0FFF 0x0FFE 0x0FFD

XR21V1410IL16-F

Mfr. #:
Manufacturer:
MaxLinear
Description:
USB Interface IC 1-Ch 12Mbps 48MHz Internal clock; UART
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet