
DM9102A
单芯片快速以太网NIC控制器
抽样框架编程指南:
1.输入样品架接入方式
让CR6<28 : 25> = 0011
2.Reset的TX / RX FIFO写指针偏移量为0
写38H到CR13<8 : 3>
写01H到CR14 (重置)
写00H到CR14 (清除)
3.编写示例0-3帧数据到RX FIFO
写35H到CR13<8 : 3>
写xxxxxxxxh到CR14 ( Frame1中 3首字节)
写xxxxxxxxh到CR14 ( Frame1中3个第二个字节)
:
:
直到所有的帧数据写入到RX FIFO的写重复
4.复位RX FIFO的写指针,以抵消100H
写38H到CR13<8 : 3>
写40H到CR14 (重置)
写00H到CR14 (清除)
5.编写样本框4-7 RX FIFO
写35H到CR13<8 : 3>
写xxxxxxxxh到CR14 (窗口4 7的第一个字节)
写xxxxxxxxh到CR14 (窗口4 7个第二个字节)
:
:
直到所有的帧数据写入到RX FIFO的写重复
6.写样本框0-3面膜TX FIFO
写32H到CR13<8 : 3>
写xxxxxxxxh到CR14 ( Frame0 3首掩码字节)
写xxxxxxxxh到CR14 ( Frame0 3秒掩码字节)
:
:
重复写,直到所有帧屏蔽其写入TX
FIFO
7. RESET TX FIFO写指针,以抵消100H
写38H到CR13<8 : 3>
写20H到CR14 (重置)
写00H到CR14 (清除)
8.写样本框4-7面膜TX FIFO
写32H到CR13<8 : 3>
写xxxxxxxxh到CR14 (窗口4 7第掩码字节)
写xxxxxxxxh到CR14 (窗口4 7个第二掩模字节)
:
:
重复写,直到所有帧屏蔽其写入TX
FIFO
60
最终科幻
版本: DM9102A - DS- F03
2000年8月28日