参数资料
型号: XR68C92IV-F
厂商: Exar Corporation
文件页数: 17/33页
文件大小: 0K
描述: DUAL CHANNEL UART 44LQFP
标准包装: 160
特点: *
通道数: 2,DUART
FIFO's: 16 字节
电源电压: 2.97 V ~ 5.5 V
带自动流量控制功能:
带CMOS:
安装类型: 表面贴装
封装/外壳: 44-LQFP
供应商设备封装: 44-LQFP(10x10)
包装: 托盘
XR68C92/192
24
Rev. 1.33
PROGRAMMING EXAMPLES
The following examples show how to initialize the XR68C92/192 for various operating conditions:
A) The first example will initialize channel A of an XR68C92 device for regular RX/TX. The operating parameters
will be 9600 baud, 8 word length, no parity and 1 stop bit.
Operation
Register
Value
Remarks
Write
CRA
0x20
; reset RX (receiver)
Write
CRA
0x30
; reset TX (transmitter)
Write
CRA
0x40
; reset error status
Write
CRA
0xB0
; reset MR pointer to MR0
Write
MR0A
0x00
; use normal baud rate table. Now MR pointer points to MR1
Write
MR1A
0x13
; select word length & parity. Now MR pointer points to MR2
Write
MR2A
0x07
; normal mode (not loopback) & 1 stop bit
Write
CSRA
0xBB
; 9600 baud for RX & TX - clock source is XTAL1
Write
CRA
0x05
; enable RX & TX
Read
SRA
; should get a value 0x0C
B) This example will show how to use hardware flow control for both RX (RTS via OP0) and TX (CTS via IP0):
Write
CRA
0x10
; reset MR pointer to MR1
Write
MR1A
0x93
; select auto RTS control. The -RTS signal is sent via output OP0
Write
MR2A
0x17
; select auto CTS control. The input IP0 serves as the -CTS signal
C) This example will configure clock sources for TX and RX of both channels and C/T. Specifically, XTAL1 will be used
as channel A's TX clock; IP4 as channel A's 16X RX clock; IP5 as channel B's 1X TX clock and XTAL1 as channel
B's RX clock. Also, the C/T will be initialized in the timer mode and IP2 will be used as its clock source. Some
of these will be programmed to appear at the multi-purpose output pins:
Write
ACR
0x40
; C/T initialized in timer mode & IP2 chosen as its clock source
; also, bit-7 = 0, therefore baud rate Set1 has been selected
Write
CTPU
0x00
; It is essential to program CTPU & CTPL before programming OP3
Write
CTPL
0x05
; as C/T output (see below)
Write
CSRA
0xEB
; channel A RX clock source: IP4-16X, TX clock source: XTAL1 (if MR0A
; bits 2 and 0 = 0, the TX baud rate is 9600)
Write
CSRB
0xBF
; channel B RX clock source: XTAL1 (9600 baud), TX clock source: IP5-1X
Read
STCR
; Start the C/T
Write
OPCR
0x06
; C/T output appears at OP3 and channel A's TX 1X clock (this is XTAL1
; clock divided by 16) at OP2.
D) The next example will show how to configure and run channel B's transmitter in a multi-drop application. Note
that all other relevant parameters should be configured already, like baud rate etc.
Write
CRB
0x10
; reset MR pointer to MR1
Write
MR1B
0x1B
; word length = 8 and use A/D tag in the place of parity
Write
CRB
0x04
; Enable transmitter of channel B
Write
TXB
address
; Send the address first (A/D tag = 1)
Write
CRB
0x10
; reset MR pointer to MR1
Write
MR1B
0x13
; change A/D tag = 0
Write
TXB
data
; You can load the data (A/D tag = 0) immediately after the address. There is no
; need to wait till the transmitter is empty. Load all the data. Check to see if the
Read
SRB
; transmitter is empty & ready. You need to do this before you can load the next
; address. Repeat the last 5 steps to load different addresses and their data.
相关PDF资料
PDF描述
MS27479E10C35P CONN RCPT 13POS WALL MNT W/PINS
XR68C681CJ-F IC UART CMOS DUAL 44PLCC
MS27508E12F22SA CONN RCPT 22POS BOX MNT W/SCKT
XR88C192CJ-F IC UART FIFO DUAL 44PLCC
MS27508E12A22SA CONN RCPT 22POS BOX MNT W/SCKT
相关代理商/技术参数
参数描述
XR68C92IVTR-F 制造商:Exar Corporation 功能描述:UART 2-CH 8Byte FIFO 3.3V/5V 44-Pin LQFP T/R 制造商:Exar Corporation 功能描述:XR68C92IVTR-F
XR68M752 制造商:EXAR 制造商全称:EXAR 功能描述:HIGH PERFORMANCE DUART WITH 64-BYTE FIFO
XR68M752IB-0A-EVB 功能描述:界面开发工具 Eval Board for XR68M752IB-0A RoHS:否 制造商:Bourns 产品:Evaluation Boards 类型:RS-485 工具用于评估:ADM3485E 接口类型:RS-485 工作电源电压:3.3 V
XR68M752IB-0B-EVB 功能描述:界面开发工具 Eval Board for XR68M752IB Series RoHS:否 制造商:Bourns 产品:Evaluation Boards 类型:RS-485 工具用于评估:ADM3485E 接口类型:RS-485 工作电源电压:3.3 V
XR68M752IB49 制造商:EXAR 制造商全称:EXAR 功能描述:HIGH PERFORMANCE DUART WITH 64-BYTE FIFO