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

LPC47S45X 参数 Datasheet PDF下载

LPC47S45X图片预览
型号: LPC47S45X
PDF下载: 下载PDF文件 查看货源
内容描述: 先进的I / O与X -Bus接口 [Advanced I/O with X-Bus Interface]
分类和应用:
文件页数/大小: 259 页 / 1575 K
品牌: SMSC [ SMSC CORPORATION ]
 浏览型号LPC47S45X的Datasheet PDF文件第59页浏览型号LPC47S45X的Datasheet PDF文件第60页浏览型号LPC47S45X的Datasheet PDF文件第61页浏览型号LPC47S45X的Datasheet PDF文件第62页浏览型号LPC47S45X的Datasheet PDF文件第64页浏览型号LPC47S45X的Datasheet PDF文件第65页浏览型号LPC47S45X的Datasheet PDF文件第66页浏览型号LPC47S45X的Datasheet PDF文件第67页  
6.5 Serial Port (UART)  
The LPC47S45x incorporates two full function UARTs. They are compatible with the NS16450, the 16450 ACE  
registers and the NS16C550A. The UARTS perform serial-to-parallel conversion on received characters and parallel-to-  
serial conversion on transmit characters. The data rates are independently programmable from 460.8K baud down to  
50 baud. The character options are programmable for 1 start; 1, 1.5 or 2 stop bits; even, odd, sticky or no parity; and  
prioritized interrupts. The UARTs each contain a programmable baud rate generator that is capable of dividing the input  
clock or crystal by a number from 1 to 65535. The UARTs are also capable of supporting the MIDI data rate. Refer to  
the Configuration Registers for information on disabling, power down and changing the base address of the UARTs.  
The interrupt from a UART is enabled by programming OUT2 of that UART to a logic "1". OUT2 being a logic "0"  
disables that UART's interrupt. The second UART also supports IrDA 1.0, HP-SIR, ASK-IR infrared modes of operation.  
Note: The UARTs 1 and 2 may be configured to share an interrupt. Refer to the Configuration section for more  
information.  
6.5.1 REGISTER DESCRIPTION  
Addressing of the accessible registers of the Serial Port is shown below. The base addresses of the serial ports are  
defined by the configuration registers (see Configuration section). The Serial Port registers are located at  
sequentially increasing addresses above these base addresses. The LPC47S45x contains two serial ports, each of  
which contain a register set as described below.  
Table 28 Addressing the Serial Port  
DLAB*  
A2  
0
0
0
0
0
0
1
1
1
1
0
0
A1  
0
0
0
1
1
1
0
0
1
1
0
0
A0  
0
0
1
0
0
1
0
1
0
1
0
1
REGISTER NAME  
Receive Buffer (read)  
0
0
Transmit Buffer (write)  
0
Interrupt Enable (read/write)  
Interrupt Identification (read)  
FIFO Control (write)  
X
X
X
X
X
X
X
1
Line Control (read/write)  
Modem Control (read/write)  
Line Status (read/write)  
Modem Status (read/write)  
Scratchpad (read/write)  
Divisor LSB (read/write)  
Divisor MSB (read/write  
1
*Note: DLAB is Bit 7 of the Line Control Register  
The following section describes the operation of the registers.  
Receive Buffer Register (RB)  
Address Offset = 0H, DLAB = 0, READ ONLY  
This register holds the received incoming data byte. Bit 0 is the least significant bit, which is transmitted and received  
first. Received data is double buffered; this uses an additional shift register to receive the serial data stream and convert  
it to a parallel 8 bit word which is transferred to the Receive Buffer register. The shift register is not accessible.  
Transmit Buffer Register (TB)  
Address Offset = 0H, DLAB = 0, WRITE ONLY  
This register contains the data byte to be transmitted. The transmit buffer is double buffered, utilizing an additional shift  
register (not accessible) to convert the 8 bit data word to a serial format. This shift register is loaded from the Transmit  
Buffer when the transmission of the previous byte is complete.  
Interrupt Enable Register (IER)  
SMSC DS – LPC47S45x  
Page 63 of 259  
Rev. 07/09/2001  
DATASHEET  
 复制成功!