09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Ethernet (ETH): media access control (MAC) with DMA controller <strong>RM0090</strong><br />

Bits 31:19 Reserved, must be kept at reset value.<br />

Bit 18 TSPFFMAE: Time stamp PTP frame filtering MAC address enable<br />

When set, this bit uses the MAC address (except for MAC address 0) to filter the PTP frames<br />

when PTP is sent directly over Ethernet.<br />

Bits 17:16 TSCNT: Time stamp clock node type<br />

The following are the available types of clock node:<br />

00: Ordinary clock<br />

01: Boundary clock<br />

10: End-to-end transparent clock<br />

11: Peer-to-peer transparent clock<br />

Bit 15 TSSMRME: Time stamp snapshot for message relevant to master enable<br />

When this bit is set, the snapshot is taken for messages relevant to the master node only.<br />

When this bit is cleared the snapshot is taken for messages relevant to the slave node only.<br />

This is valid only for the ordinary clock and boundary clock nodes.<br />

Bit 14 TSSEME: Time stamp snapshot for event message enable<br />

When this bit is set, the time stamp snapshot is taken for event messages only (SYNC,<br />

Delay_Req, Pdelay_Req or Pdelay_Resp). When this bit is cleared the snapshot is taken for<br />

all other messages except for Announce, Management and Signaling.<br />

Bit 13 TSSIPV4FE: Time stamp snapshot for IPv4 frames enable<br />

When this bit is set, the time stamp snapshot is taken for IPv4 frames.<br />

Bit 12 TSSIPV6FE: Time stamp snapshot for IPv6 frames enable<br />

When this bit is set, the time stamp snapshot is taken for IPv6 frames.<br />

Bit 11 TSSPTPOEFE: Time stamp snapshot for PTP over ethernet frames enable<br />

When this bit is set, the time stamp snapshot is taken for frames which have PTP messages<br />

in Ethernet frames (PTP over Ethernet) also. By default snapshots are taken for UDP-<br />

IPEthernet PTP packets.<br />

Bit 10 TSPTPPSV2E: Time stamp PTP packet snooping for version2 format enable<br />

When this bit is set, the PTP packets are snooped using the version 2 format. When the bit is<br />

cleared, the PTP packets are snooped using the version 1 format.<br />

Note: IEEE 1588 Version 1 and Version 2 formats as indicated in IEEE standard 1588-2008<br />

(Revision of IEEE STD. 1588-2002).<br />

Bit 9 TSSSR: Time stamp subsecond rollover: digital or binary rollover control<br />

When this bit is set, the Time stamp low register rolls over when the subsecond counter<br />

reaches the value 0x3B9A C9FF (999 999 999 in decimal), and increments the Time Stamp<br />

(high) seconds.<br />

When this bit is cleared, the rollover value of the subsecond register reaches 0x7FFF FFFF.<br />

The subsecond increment has to be programmed correctly depending on the PTP’s<br />

reference clock frequency and this bit value.<br />

Bit 8 TSSARFE: Time stamp snapshot for all received frames enable<br />

When this bit is set, the time stamp snapshot is enabled for all frames received by the core.<br />

Bits 7:6 Reserved, must be kept at reset value.<br />

Bit 5 TSARU: Time stamp addend register update<br />

When this bit is set, the Time stamp addend register’s contents are updated to the PTP block<br />

for fine correction. This bit is cleared when the update is complete. This register bit must be<br />

read as zero before you can set it.<br />

993/1416 Doc ID 018909 Rev 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!