High Performance Two Port 10/100 Managed Ethernet Switch with
Datasheet
11.2IEEE 1588 Time Stamp
The LAN9312 contains three identical IEEE 1588 Time Stamp blocks as shown in Figure 11.1. These blocks are responsible for capturing the source UUID, sequence ID, and current
Table 11.1 IEEE 1588 Message Type Detection
IEEE 1588 CLOCK MODE | RECEIVE | TRANSMIT |
|
|
|
Slave | Sync | Delay_Req |
(M_nS_x = 0) |
|
|
|
|
|
Master | Delay_Req | Sync |
(M_nS_x = 1) |
|
|
|
|
|
For ports 1 and 2, receive is defined as data from the PHY (from the outside world) and transmit is defined as data to the PHY. This is consistent with the
As defined by IEEE 1588, and shown in Figure 11.2, the message time stamp point is defined as the leading edge of the first data bit following the Start of Frame Delimiter (SFD). However, since the packet contents are not yet known, the time stamp can not yet be loaded into the capture register. Therefore, the time stamp is first stored into a temporary internal holding register at the start of every packet.
|
|
|
|
|
| Message Timestamp |
|
|
|
|
| |
|
|
|
|
|
| Point |
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Ethernet | First Octet | |||||
Preamble |
| |||||||||||
|
|
|
| Start of Frame |
|
|
|
| following |
| ||
Octet |
|
|
|
|
|
|
|
|
| |||
|
|
|
|
| Delimiter |
|
|
|
| Start of Frame |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
|
|
| 1 |
|
|
|
|
| 1 |
|
|
|
|
| 1 |
|
|
|
|
| 1 |
|
|
|
|
| 1 |
| 1 |
| 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
0 |
|
|
| 0 | 0 | 0 | 0 | 0 |
|
|
|
|
| 0 | |||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 0 |
| 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bit time
Figure 11.2 IEEE 1588 Message Time Stamp Point
Revision 1.4 | 156 | SMSC LAN9312 |
| DATASHEET |
|