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

LAN9313I 参数 Datasheet PDF下载

LAN9313I图片预览
型号: LAN9313I
PDF下载: 下载PDF文件 查看货源
内容描述: 三端口10/100管理型以太网交换机MII [Three Port 10/100 Managed Ethernet Switch with MII]
分类和应用: 以太网局域网(LAN)标准
文件页数/大小: 398 页 / 4083 K
品牌: SMSC [ SMSC CORPORATION ]
 浏览型号LAN9313I的Datasheet PDF文件第134页浏览型号LAN9313I的Datasheet PDF文件第135页浏览型号LAN9313I的Datasheet PDF文件第136页浏览型号LAN9313I的Datasheet PDF文件第137页浏览型号LAN9313I的Datasheet PDF文件第139页浏览型号LAN9313I的Datasheet PDF文件第140页浏览型号LAN9313I的Datasheet PDF文件第141页浏览型号LAN9313I的Datasheet PDF文件第142页  
Three Port 10/100 Managed Ethernet Switch with MII  
Datasheet  
10.2.2  
PTP Message Detection  
In order to provide the most flexibility, loose packet type matching is used by the LAN9313/LAN9313i.  
This assumes that for all packets received with a valid FCS, only the MAC destination address is  
required to qualify them as a PTP message. For Ethernet, four multicast addresses are specified in  
the PTP protocol: 224.0.1.129 through 224.0.1.132. These map to Ethernet MAC addresses  
01:00:5e:00:01:81 through 01:00:5e:00:01:84. Each of these addresses has one enable bit per port in  
the 1588 Configuration Register (1588_CONFIG) which enables/disables the corresponding address  
as a PTP address on the specified port.  
In addition to the fixed addresses, a user defined (host programmable) PTP address may be input via  
the 1588 Auxiliary MAC Address High-WORD Register (1588_AUX_MAC_HI) and 1588 Auxiliary MAC  
Address Low-DWORD Register (1588_AUX_MAC_LO). The user defined address may be  
disabled/enabled as a PTP address on each port via the dedicated enable bits in the 1588  
Configuration Register (1588_CONFIG). A summary of the supported PTP multicast addresses and  
corresponding enable bits can be seen in Table 10.3.  
Table 10.3 PTP Multicast Addresses  
CORRESPONDING  
MAC ADDRESS  
RELATED ENABLE BITS IN THE  
1588_CONFIG REGISTER  
PTP ADDRESS  
224.0.1.129  
(Primary)  
01:00:5e:00:01:81  
01:00:5e:00:01:82  
01:00:5e:00:01:83  
01:00:5e:00:01:84  
MAC_PRI_EN_1 (Port 1)  
MAC_PRI_EN_2 (Port 2)  
MAC_PRI_EN_MII (Port 0)  
224.0.1.130  
(Alternate 1)  
MAC_ALT1_EN_1 (Port 1)  
MAC_ALT1_EN_2 (Port 2)  
MAC_ALT1_EN_MII (Port 0)  
224.0.1.131  
(Alternate 2)  
MAC_ALT2_EN_1 (Port 1)  
MAC_ALT2_EN_2 (Port 2)  
MAC_ALT2_EN_MII (Port 0)  
224.0.1.132  
(Alternate 3)  
MAC_ALT3_EN_1 (Port 1)  
MAC_ALT3_EN_2 (Port 2)  
MAC_ALT3_EN_MII (Port 0)  
User Defined  
User Defined Address  
(1588_AUX_MAC_HI &  
1588_AUX_MAC_LO registers)  
MAC_USER_EN_1 (Port 1)  
MAC_USER_EN_2 (Port 2)  
MAC_USER_EN_MII (Port 0)  
Once a packet is determined to match a PTP destination address, it is further qualified as a Sync or  
Delay_Req message type. On Ethernet, PTP uses UDP messages. Within the UDP payload is the PTP  
control byte (offset 32 starting at 0). This byte determines the message type: 0x00 for a Sync message,  
0x01 for a Delay_Req message. The UDP payload starts at packet byte offset 42 (from 0) for untagged  
packets and at byte offset 46 for tagged packets.  
Note: Both tagged and untagged packets are supported. Only Ethernet II packet encoding and IPv4  
are supported.  
Note: For proper routing of the PTP packets, the host must program an entry into the switch engine  
Address Logic Resolution (ALR) Table. The MAC address should be one of the reserved  
Multicast addresses in Table 10.3, with Port 0(External MII) as a destination.The Static and  
Valid bits must also be set. Refer to Chapter 6, "Switch Fabric," on page 57 for more  
information.  
Revision 1.2 (04-08-08)  
138  
SMSC LAN9313/LAN9313i  
DATASHEET  
 复制成功!