REV. 1.3.0 3.3 UART Register Descriptions All register bits default to a value of ’0’ unles" />
參數(shù)資料
型號: XR21V1412IL32TR-F
廠商: Exar Corporation
文件頁數(shù): 10/32頁
文件大?。?/td> 0K
描述: IC USB UART FIFO FULL SPD 32QFN
產(chǎn)品培訓(xùn)模塊: XR21V141x Full-Speed USB UART Family
標(biāo)準(zhǔn)包裝: 3,000
特點: *
通道數(shù): 2,DUART
FIFO's: 128 字節(jié),384 字節(jié)
規(guī)程: USB 2.0
電源電壓: 2.97 V ~ 3.63 V
帶自動流量控制功能:
安裝類型: 表面貼裝
封裝/外殼: 32-VFQFN 裸露焊盤
供應(yīng)商設(shè)備封裝: 32-QFN 裸露焊盤(5x5)
包裝: 帶卷 (TR)
配用: 1016-1301-ND - EVAL BOARD FOR XR21V1412IL
XR21V1412
18
2-CH FULL-SPEED USB UART
REV. 1.3.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_CHx = 0x1
// Enable TX FIFO
UART_ENABLE = 0x3
// Enable TX and RX of that channel
FIFO_ENABLE_CHx = 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 V1412 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 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.
相關(guān)PDF資料
PDF描述
XR21V1414IM48-F IC UART FIFO USB QUAD 48TQFP
XR3178EID-F IC TXRX RS485 DIFF 3V 8NSOIC
XR5488EID-F IC TXRX RS485 PROFIBUS 8NSOIC
XR68C681P-F IC UART CMOS DUAL 40PDIP
XR68C92CJ-F IC UART FIFO DUAL 44PLCC
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
XR21V1414 制造商:EXAR 制造商全稱:EXAR 功能描述:4-CH FULL-SPEED USB UART
XR21V1414_10 制造商:EXAR 制造商全稱:EXAR 功能描述:4-CH FULL-SPEED USB UART
XR21V1414IM-0A-EB 功能描述:界面開發(fā)工具 Eval Board for XR21V1414IM48-F RoHS:否 制造商:Bourns 產(chǎn)品:Evaluation Boards 類型:RS-485 工具用于評估:ADM3485E 接口類型:RS-485 工作電源電壓:3.3 V
XR21V1414IM-0B-EB 功能描述:界面開發(fā)工具 For XR21V1414 TQFP48 USB, RS232;No Cables RoHS:否 制造商:Bourns 產(chǎn)品:Evaluation Boards 類型:RS-485 工具用于評估:ADM3485E 接口類型:RS-485 工作電源電壓:3.3 V
XR21V1414IM48 制造商:EXAR 制造商全稱:EXAR 功能描述:4-CH FULL-SPEED USB UART