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

LPC47B27X 参数 Datasheet PDF下载

LPC47B27X图片预览
型号: LPC47B27X
PDF下载: 下载PDF文件 查看货源
内容描述: 100引脚增强型超级I / O控制器与LPC接口 [100 PIN ENHANCED SUPER I/O CONTROLLER WITH LPC INTERFACE]
分类和应用: 控制器PC
文件页数/大小: 196 页 / 1189 K
品牌: SMSC [ SMSC CORPORATION ]
 浏览型号LPC47B27X的Datasheet PDF文件第85页浏览型号LPC47B27X的Datasheet PDF文件第86页浏览型号LPC47B27X的Datasheet PDF文件第87页浏览型号LPC47B27X的Datasheet PDF文件第88页浏览型号LPC47B27X的Datasheet PDF文件第90页浏览型号LPC47B27X的Datasheet PDF文件第91页浏览型号LPC47B27X的Datasheet PDF文件第92页浏览型号LPC47B27X的Datasheet PDF文件第93页  
with a "sluggish" system by affording a long latency period after a service request, but results in more  
frequent service requests.  
DMA TRANSFERS  
DMA transfers are always to or from the ecpDFifo, tFifo or CFifo. DMA utilizes the standard PC DMA  
services. To use the DMA transfers, the host first sets up the direction and state as in the programmed I/O  
case. Then it programs the DMA controller in the host with the desired count and memory address. Lastly  
it sets dmaEn to 1 and serviceIntr to 0. The ECP requests DMA transfers from the host by encoding the  
nLDRQ pin. The DMA will empty or fill the FIFO using the appropriate direction and mode. When the  
terminal count in the DMA controller is reached, an interrupt is generated and serviceIntr is asserted,  
disabling DMA. In order to prevent possible blocking of refresh requests a DMA cycle shall not be  
requested for more than 32 DMA cycles in a row. The FIFO is enabled directly by the host initiating a  
DMA cycle for the requested channel, and addresses need not be valid. An interrupt is generated when a  
TC cycle is received. (Note: The only way to properly terminate DMA transfers is with a TC cycle.)  
DMA may be disabled in the middle of a transfer by first disabling the host DMA controller. Then setting  
serviceIntr to 1, followed by setting dmaEn to 0, and waiting for the FIFO to become empty or full.  
Restarting the DMA is accomplished by enabling DMA in the host, setting dmaEn to 1, followed by setting  
serviceIntr to 0.  
DMA Mode - Transfers from the FIFO to the Host  
(Note: In the reverse mode, the peripheral may not continue to fill the FIFO if it runs out of data to transfer,  
even if the chip continues to request more data from the peripheral.)  
The ECP requests a DMA cycle whenever there is data in the FIFO. The DMA controller must respond to  
the request by reading data from the FIFO. The ECP stops requesting DMA cycles when the FIFO  
becomes empty or when a TC cycle is received, indicating that no more data is required. If the ECP stops  
requesting DMA cycles due to the FIFO going empty, then a DMA cycle is requested again as soon as  
there is one byte in the FIFO. If the ECP stops requesting DMA cycles due to the TC cycle, then a DMA  
cycle is requested again when there is one byte in the FIFO, and serviceIntr has been re-enabled.  
Programmed I/O Mode or Non-DMA Mode  
The ECP or parallel port FIFOs may also be operated using interrupt driven programmed I/O. Software  
can determine the writeIntrThreshold, readIntrThreshold, and FIFO depth by accessing the FIFO in Test  
Mode.  
Programmed I/O transfers are to the ecpDFifo at 400H and ecpAFifo at 000H or from the ecpDFifo located  
at 400H, or to/from the tFifo at 400H. To use the programmed I/O transfers, the host first sets up the  
direction and state, sets dmaEn to 0 and serviceIntr to 0.  
The ECP requests programmed I/O transfers from the host by activating the interrupt. The programmed  
I/O will empty or fill the FIFO using the appropriate direction and mode.  
Note: A threshold of 16 is equivalent to a threshold of 15. These two cases are treated the same.  
Programmed I/O - Transfers from the FIFO to the Host  
In the reverse direction an interrupt occurs when serviceIntr is 0 and readIntrThreshold bytes are  
available in the FIFO. If at this time the FIFO is full it can be emptied completely in a single burst,  
otherwise readIntrThreshold bytes may be read from the FIFO in a single burst.  
ReadIntrThreshold =  
(16-<threshold>) data bytes in FIFO  
An interrupt is generated when serviceIntr is 0 and the number of bytes in the FIFO is greater than or  
equal to (16-<threshold>). (If the threshold = 12, then the interrupt is set whenever there are 4-16 bytes in  
the FIFO). The host must respond to the request by reading data from the FIFO. This process is repeated  
until the last byte is transferred out of the FIFO. If at this time the FIFO is full, it can be completely emptied  
in a single burst, otherwise a minimum of (16-<threshold>) bytes may be read from the FIFO in a single  
burst.  
SMSC LPC47B27x  
- 89 -  
Rev. 08-10-04  
DATASHEET  
 复制成功!