欢迎访问ic37.com |
会员登录 免费注册
发布采购

81C17 参数 Datasheet PDF下载

81C17图片预览
型号: 81C17
PDF下载: 下载PDF文件 查看货源
内容描述: 二十引脚UART ( TPUART ) [TWENTY PIN UART (TPUART)]
分类和应用:
文件页数/大小: 18 页 / 73 K
品牌: SMSC [ SMSC CORPORATION ]
 浏览型号81C17的Datasheet PDF文件第2页浏览型号81C17的Datasheet PDF文件第3页浏览型号81C17的Datasheet PDF文件第4页浏览型号81C17的Datasheet PDF文件第5页浏览型号81C17的Datasheet PDF文件第7页浏览型号81C17的Datasheet PDF文件第8页浏览型号81C17的Datasheet PDF文件第9页浏览型号81C17的Datasheet PDF文件第10页  
FUNCTIONAL DESCRIPTION
RESETTING THE TPUART
The TPUART must be reset on power up. Since
there is no external pin allocated for hardware
reset, this is accomplished by writing a One
(HIGH) followed by writing a Zero (LOW) to the
Command Register bit 7. Following reset, the
TPUART enters an idle state in which it can
neither transmit nor receive data.
INITIALIZING THE TPUART
The TPUART is initialized by writing three
control words from the processor. Only a single
address is set aside for Mode, Baud Rate
Select, Interrupt Mask and TX Buffer Registers.
For this to be possible, logic internal to the chip
directs information to its proper destination
based on the sequence in which it was written.
Following internal reset, the first write to address
zero (i.e. RS = 0) is interpreted as a Mode
Control word. The second write is interpreted as
Interrupt Mask word.
The third write is
interpreted as Baud Rate Select. The fourth and
all subsequent writes are interpreted as writes to
the TX Buffer Register.
There is one way in which control logic may
return to anticipating a Mode, Interrupt Mask,
and Baud Rate Select words. This is following
an internal reset. Following initialization, the
TPUART is ready to communicate.
PROGRAMMABLE CONTROL PINS
The TPUART provides two programmable
control pins that can be configured to perform
as modem or terminal control handshake
signals. If no handshake signal is required,
these pins can be used as general purpose one
bit Input or Output ports.
nCP1 - is an input only pin that can be
programmed to act as the CTS (Clear To Send)
handshake signal, where it will disable data
transmission by the TPUART after the contents
of the Transmit Shift Register is completely
flushed out. When programmed as 1, nCP1 will
serve as a general purpose 1 bit input port. The
inverted state will be reflected in Status Register
bit 0 (when programmed as CTS or general
purpose input bit).
nCP2 - is an Input/Output pin. When configured
as Output, its state is directly controlled by the
host processor via writes to the Control
Register. This will serve the purpose of modem
and terminal handshake signals as RTS (Reset
To Send), and DTR (Data Terminal Ready).
When configured as Input, its inverted state is
reflected in the Status Register bit 1 and read by
the processor. This will serve the purpose of
handshake signals as DCD (Data Carrier
Detect) and DSR (Data Set Ready).
MODE REGISTER
BIT 1
0
0
1
1
BIT 2
0
1
X
X
nCP2 is RTS Output
nCP2 is GP Output
nCP2 is GP Input
nCP2 is GP Input
6