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

ENC28J60-I/SO 参数 Datasheet PDF下载

ENC28J60-I/SO图片预览
型号: ENC28J60-I/SO
PDF下载: 下载PDF文件 查看货源
内容描述: 独立以太网控制器,SPI接口 [Stand-Alone Ethernet Controller with SPI Interface]
分类和应用: 微控制器和处理器串行IO控制器通信控制器外围集成电路光电二极管数据传输PC局域网以太网时钟
文件页数/大小: 96 页 / 1466 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号ENC28J60-I/SO的Datasheet PDF文件第32页浏览型号ENC28J60-I/SO的Datasheet PDF文件第33页浏览型号ENC28J60-I/SO的Datasheet PDF文件第34页浏览型号ENC28J60-I/SO的Datasheet PDF文件第35页浏览型号ENC28J60-I/SO的Datasheet PDF文件第37页浏览型号ENC28J60-I/SO的Datasheet PDF文件第38页浏览型号ENC28J60-I/SO的Datasheet PDF文件第39页浏览型号ENC28J60-I/SO的Datasheet PDF文件第40页  
ENC28J60  
4. Program the MAMXFL registers with the maxi-  
mum frame length to be permitted to be received  
or transmitted. Normal network nodes are  
designed to handle packets that are 1518 bytes  
or less.  
6.5  
MAC Initialization Settings  
Several of the MAC registers require configuration  
during initialization. This only needs to be done once;  
the order of programming is unimportant.  
1. Set the MARXEN bit in MACON1 to enable the  
MAC to receive frames. If using full duplex, most  
applications should also set TXPAUS and  
RXPAUS to allow IEEE defined flow control to  
function.  
5. Configure the Back-to-Back Inter-Packet Gap  
register, MABBIPG. Most applications will pro-  
gram this register with 15h when Full-Duplex  
mode is used and 12h when Half-Duplex mode  
is used.  
2. Configure the PADCFG, TXCRCEN and  
FULDPX bits of MACON3. Most applications  
should enable automatic padding to at least  
60 bytes and always append a valid CRC. For  
convenience, many applications may wish to set  
the FRMLNEN bit as well to enable frame length  
status reporting. The FULDPX bit should be set  
if the application will be connected to a  
full-duplex configured remote node; otherwise, it  
should be left clear.  
6. Configure the Non-Back-to-Back Inter-Packet  
Gap register low byte, MAIPGL. Most applications  
will program this register with 12h.  
7. If half duplex is used, the Non-Back-to-Back  
Inter-Packet Gap register high byte, MAIPGH,  
should be programmed. Most applications will  
program this register to 0Ch.  
8. If Half-Duplex mode is used, program the  
Retransmission and Collision Window registers,  
MACLCON1 and MACLCON2. Most applications  
will not need to change the default Reset values.  
If the network is spread over exceptionally long  
cables, the default value of MACLCON2 may  
need to be increased.  
3. Configure the bits in MACON4. For conform-  
ance to the IEEE 802.3 standard, set the  
DEFER bit.  
9. Program the local MAC address into the  
MAADR1:MAADR6 registers.  
REGISTER 6-1:  
MACON1: MAC CONTROL REGISTER 1  
U-0  
U-0  
U-0  
R-0  
r
R/W-0  
R/W-0  
R/W-0  
R/W-0  
TXPAUS  
RXPAUS  
PASSALL  
MARXEN  
bit 7  
bit 0  
Legend:  
R = Readable bit  
-n = Value at POR  
W = Writable bit  
‘1’ = Bit is set  
U = Unimplemented bit, read as ‘0’  
‘0’ = Bit is cleared x = Bit is unknown  
bit 7-5  
bit 4  
Unimplemented: Read as ‘0’  
Reserved: Maintain as ‘0’  
bit 3  
TXPAUS: Pause Control Frame Transmission Enable bit  
1= Allow the MAC to transmit pause control frames (needed for flow control in full duplex)  
0= Disallow pause frame transmissions  
bit 2  
bit 1  
bit 0  
RXPAUS: Pause Control Frame Reception Enable bit  
1= Inhibit transmissions when pause control frames are received (normal operation)  
0= Ignore pause control frames which are received  
PASSALL: Pass All Received Frames Enable bit  
1= Control frames received by the MAC will be written into the receive buffer if not filtered out  
0= Control frames will be discarded after being processed by the MAC (normal operation)  
MARXEN: MAC Receive Enable bit  
1= Enable packets to be received by the MAC  
0= Disable packet reception  
DS39662B-page 34  
Preliminary  
© 2006 Microchip Technology Inc.  
 复制成功!