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

W89C840F 参数 Datasheet PDF下载

W89C840F图片预览
型号: W89C840F
PDF下载: 下载PDF文件 查看货源
内容描述: 局域网节点控制器\n [LAN NODE CONTROLLER ]
分类和应用: 控制器局域网
文件页数/大小: 72 页 / 708 K
品牌: ETC [ ETC ]
 浏览型号W89C840F的Datasheet PDF文件第10页浏览型号W89C840F的Datasheet PDF文件第11页浏览型号W89C840F的Datasheet PDF文件第12页浏览型号W89C840F的Datasheet PDF文件第13页浏览型号W89C840F的Datasheet PDF文件第15页浏览型号W89C840F的Datasheet PDF文件第16页浏览型号W89C840F的Datasheet PDF文件第17页浏览型号W89C840F的Datasheet PDF文件第18页  
W89C840F  
The data flow of a packet in the receiving path is shown as the following diagram.  
PCI  
data  
buffer 1  
data  
data  
from MAC  
4 Kbytes FIFO  
status  
data  
buffer 2  
data  
buffer 3  
control  
Rx  
descriptor 1  
controls  
from MAC  
Rx  
receive  
DMA  
descriptor 2  
PCI  
master  
Rx  
state machine  
PCI slave  
descriptor 3  
data  
buffer n  
status & control  
Rx  
descriptor n  
As shown the above diagram, the receiving DMA state machine controls the data receiving  
processing and the receiving status monitoring. On receiving the data packets, the receiving DMA will start  
to move these data from FIFO to the data buffer, pointed by descriptors in the host memory if there is an  
available data buffer and the byte count of the data received into the FIFO is larger than or equals to 64  
bytes. If the received packet length is less than 64 bytes and runt packet is not accepted, the receiving DMA  
will discard this invalid packet and give it a record in the status register. The receiving DMA will start to  
move the data in FIFO after the full packet is received if runt packet is accepted. Once a valid packet is  
received, the receive DMA will advance the descriptor pointer for the next incoming packet. However, the  
current data buffer and the descriptor will be re-used if the current receiving packet is not a valid packet,  
i.e. the receive state machine will ignore the previously received packet data in the data buffer. Each  
received packet will be treated as a valid packet if it meets the requirement in the bits 3, 4, 5, 6 and 7 of  
C18/CNCR register. In some case of the data buffer unavailable temporarily, the incoming packet data from  
media will be queued in the FIFO temporarily, meanwhile, the receive DMA will enter suspend state at this  
time and a buffer unavailable interrupt will be issued. The receive DMA will start moving the data  
whenever the data buffer is available and a receiving operation is demanded, On the other hand, the data  
will be lost if the FIFO is overflowed. The receiving status, e.g., the receive descriptor access status, the  
receive completion status, the received data byte count, the received packet error status, the received packet  
data type, ... and so on., will be written back into the descriptor by the receive DMA when the packet is  
received successfully.  
During receiving a packet, the receive DMA will release the access right of the descriptor and the  
data buffer to the driver immediately after the free byte space of the data buffers pointed by the current  
descriptor is counted down to zero and the receive DMA will fetch the next available descriptor for the  
current incoming packet. It is known that the LLC layer data is packed into the first 64 bytes of the packet  
in most application program. The driver and the upper layer application program can read the protocol  
messages carried in the first 64 bytes of the incoming packet when the receive DMA release the descriptor  
- 14 -  
 复制成功!