62.1 GMAC Network Control Register

Name: GMAC_NCR
Offset: 0x000
Reset: 0x00000000
Property: Read/Write

Bit 3130292827262524 
  IFGQAVCRED MIIONRGMIIOSSCORREXTSELRQENPFCCTLOSSMODE 
Access R/WR/WR/WR/WR/WR/W 
Reset 000000 
Bit 2322212019181716 
  STUDPOFFSET PTPUNIENATXLPIENFNPTXPBPFENPBPR 
Access R/WR/WR/WR/WR/WR/W 
Reset 000000 
Bit 15141312111098 
 SRTSM  TXZQPFTXPFTHALTTSTARTBP 
Access R/WR/WR/WR/WR/WR/W 
Reset 000000 
Bit 76543210 
 WESTATINCSTATCLRSTATMPETXENRXENLBL  
Access R/WWWR/WR/WR/WR/W 
Reset 0000000 

Bit 30 – IFGQAVCRED Credit-Based Shaping Algorithm Modification

ValueDescription
0 No modification of the CBS algorithm.
1 Modifies the CBS algorithm so the IFG/IPG associated with a transmit frame counts towards its 802.1Qav credit.

Bit 28 – MIIONRGMII MII Control

ValueDescription
0 Disables MII operation.
1 Enables MII operation when GMAC_UR.MIM=0.

Bit 27 – OSSCORR OSS Correction Field

1588 One Step Correction field update. Set this bit high to update the correction field of PTP 1588 version 2 sync frames by adding current TSU timer value.

Bit 26 – EXTSELRQEN External Selection of Receive Queue Enable

ValueDescription
0 Disables external selection of receive queue.
1 Enables external selection of receive queue.

Bit 25 – PFCCTL Multiple PFC Pause Quantum Enable

ValueDescription
0 Disables multiple PFC pause quantums.
1 Enables multiple PFC pause quantums, one per pause priority.

Bit 24 – OSSMODE One Step Sync Mode

ValueDescription
0 1588 One Step Sync mode is disabled.
1 1588 One Step Sync mode is enabled. Replaces timestamp field in the 1588 header for TX Sync Frames with the current TSU timer value.

Bit 22 – STUDPOFFSET Store UDP Offset

Stores UDP/TCP offset to memory.
ValueDescription
0 Normal operations.
1 The upper 16 bits of the CRC of every received frame are replaced with the offset from start of frame to the beginning of the UDP or TCP header. The lower 16 bits of the CRC are replaced with zero and reserved for future use. The offset is measured in units of 2 bytes.

Bit 20 – PTPUNIENA Detection of Unicast PTP Frames Enable

ValueDescription
0 Disables detection of unicast PTP frames.
1 Enables detection of unicast PTP frames.

Bit 19 – TXLPIEN Enable LPI Transmission

When set, LPI (low power idle) is immediately transmitted.

Bit 18 – FNP Flush Next Packet

Flush the next packet from the external receive memory. Writing one to this bit will only have an effect if the DMA is not currently writing a packet already stored in the receive memory to system memory.

ValueDescription
0 No effect.
1 Flushes the next packet from the receive memory. This will only have an effect if the DMA is not currently writing a packet already stored in the receive memory to system memory.

Bit 17 – TXPBPF Transmit PFC Priority-based Pause Frame

ValueDescription
0 No effect.
1

Takes the values stored in the Transmit PFC Pause Register.

Bit 16 – ENPBPR Enable PFC Priority-based Pause Reception

Enables PFC Priority Based Pause Reception capabilities. Setting this bit enables PFC negotiation and recognition of priority-based pause frames.

Bit 15 – SRTSM Store Receive Timestamp to Memory

ValueDescription
0

No effect.

1

Causes the CRC of every received frame to be replaced with the value of the nanoseconds field of the 1588 timer that was captured as the receive frame passed the message timestamp point. Note that bit RFCS in register GMAC_NCFGR may not be set to 1 when the timer should be captured.

Bit 12 – TXZQPF Transmit Zero Quantum Pause Frame

ValueDescription
0 No effect.
1 Generates a pause frame with zero quantum to be transmitted.

Bit 11 – TXPF Transmit Pause Frame

ValueDescription
0 No effect.
1 Generates a pause frame to be transmitted.

Bit 10 – THALT Transmit Halt

ValueDescription
0 No effect.
1 Halts transmission as soon as any ongoing frame transmission ends.

Bit 9 – TSTART Start Transmission

ValueDescription
0 No effect.
1 Starts transmission.

Bit 8 – BP Back Pressure

ValueDescription
0 No effect.
1 When the MAC is set in 10M or 100M Half Duplex mode, forces collisions on all received frames. Ignored in Gigabit Half Duplex mode.

Bit 7 – WESTAT Write Enable for Statistics Registers

ValueDescription
0 Forces the statistics registers to be in read-only mode for normal operation mode.
1 Makes the statistics registers writable for functional test purposes.

Bit 6 – INCSTAT Increment Statistics Registers

Bit 5 – CLRSTAT Clear Statistics Registers

ValueDescription
0 No effect.
1 Clears the statistics registers.

Bit 4 – MPE Management Port Enable

Set to one to enable the management port. When zero, forces GMDIO to high impedance state and MDC low.
ValueDescription
0 Forces GMDIO to high impedance state and MDC low.
1 Enables the management port.

Bit 3 – TXEN Transmit Enable

ValueDescription
0 Stops transmission immediately, the transmit pipeline and control registers will be cleared and the Transmit Queue Pointer register will reset to point to the start of the transmit descriptor list.
1 Enables the GMAC transmitter to send data.

Bit 2 – RXEN Receive Enable

When set, RXEN enables the GMAC to receive data. When reset frame reception stops immediately and the receive pipeline will be cleared. The Receive Queue Pointer register is unaffected.

ValueDescription
0 Stops frame reception immediately and the receive pipeline will be cleared. The Receive Queue Pointer register is unaffected.
1 Enables the GMAC to receive data.

Bit 1 – LBL Loop Back Local

ValueDescription
0 Normal operating mode (no loop back).
1 Connects GTX to GRX, GTXEN to GRXDV and forces Full Duplex mode. GRXCK and GTXCK may malfunction as the GMAC is switched into and out of internal loop back. It is important that receive and transmit circuits have already been disabled when making the switch into and out of internal loop back.