lan9311 Standard Microsystems Corp., lan9311 Datasheet - Page 160

no-image

lan9311

Manufacturer Part Number
lan9311
Description
Lan9311/lan9311i Two Port 10/100 Managed Ethernet Switch With 16-bit Non-pci Cpu Interface
Manufacturer
Standard Microsystems Corp.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
lan9311-NU
Manufacturer:
CINCERA
Quantity:
3 023
Part Number:
lan9311-NU
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
lan9311-NU
Manufacturer:
SMSC
Quantity:
20 000
Part Number:
lan9311-NZW
Manufacturer:
Standard
Quantity:
2
Part Number:
lan9311-NZW
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
lan9311I-NZW
Manufacturer:
Standard
Quantity:
836
Part Number:
lan9311I-NZW
Manufacturer:
Microchip Technology
Quantity:
10 000
Revision 1.2 (04-08-08)
11.3
IEEE 1588 CLOCK
The 64-bit IEEE 1588 clock is the time source for all IEEE 1588 related functions of the
LAN9311/LAN9311i. It is readable and writable by the host via the
(1588_CLOCK_HI)
In order to accurately read this clock, a special procedure must be followed. Since two DWORD reads
are required to fully read the 64-bit clock, the possibility exists that as the lower 32-bits roll over, a
wrong intermediate value could be read. To prevent this, a snapshot register technique is used. When
the 1588_CLOCK_SNAPSHOT bit in the
“1”, the current value of the 1588 clock is saved, allowing it to be properly read.
When writing a new value to the IEEE 1588 clock, two 32-bit write cycles are required (one for each
clock register) before the registers are affected. The writes may be in any order. However, caution must
be observed when changing the clock value in a live environment as it will disrupt linear time. If the
clock must be adjusted during operation of the 1588 protocol, it is preferred to adjust the Addend value,
effectively speeding-up or slowing-down the clock until the correct time is achieved.
T h e 6 4 - b i t I E E E 1 5 8 8 c l o c k c o n s i s t s o f t h e 3 2 - b i t
(1588_CLOCK_ADDEND)
of the Accumulator, the 64- bit IEEE 1588 clock is incremented. The Addend / Accumulator pair form
a high precision frequency divider which can be used to compensate for the inaccuracy of the
reference crystal. The nominal frequency of the 64-bit IEEE 1588 clock and the value of the Addend
are calculated as follows:
FreqClock = (Addend / 2
Addend = (FreqClock * 2
Typical values for the Addend are shown in
accuracy of the IEEE 1588 clock compared to the master clock per the PTP protocol. The adjustment
precision column of the table shows the percentage change for the specified IEEE 1588 clock
frequency if the Addend was to be incremented or decremented by 1.
IEEE 1588 Clock
(FreqClock)
33 MHz
50 MHz
66 MHz
75 MHz
90 MHz
Table 11.4 Typical IEEE 1588 Clock Addend Values
and
1588 Clock Low-DWORD Register
32
32
that is added to a 32-bit Accumulator every 100 MHz clock. Upon overflow
) * 100 MHz
) / 100 MHz
DATASHEET
1588_CLOCK_ADDEND
1588 Command Register (1588_CMD)
A8F5C28Fh
160
547AE147h
C0000000h
E6666666h
80000000h
(Addend)
Two Port 10/100 Managed Ethernet Switch with 16-Bit Non-PCI CPU Interface
Table
11.4. These values should be adjusted based on the
(1588_CLOCK_LO).
1 5 8 8 C l o c k A d d e n d R e g i s t e r
1588 Clock High-DWORD Register
ADJUSTMENT PRECISION %
SMSC LAN9311/LAN9311i
7.1*10
4.7*10
3.5*10
3.1*10
2.6*10
register is written with
-8
-8
-8
-8
-8
Datasheet

Related parts for lan9311