29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

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.

RM0008<br />

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

Bits 31:16 PT: Pause time<br />

This field holds the value to be used in the Pause Time field in the transmit control frame. If the<br />

Pause Time bits is configured to be double-synchronized to the MII clock domain, then<br />

consecutive write operations to this register should be performed only after at least 4 clock<br />

cycles in the destination clock domain.<br />

Bits 15:8 Reserved<br />

Bit 7 ZQPD: Zero-quanta pause disable<br />

When set, this bit disables the automatic generation of Zero-quanta pause control frames on<br />

the deassertion of the flow-control signal from the FIFO layer.<br />

When this bit is reset, normal operation with automatic Zero-quanta pause control frame<br />

generation is enabled.<br />

Bit 6 Reserved<br />

Bits 5:4 PLT: Pause low threshold<br />

This field configures the threshold of the Pause timer at which the Pause frame is<br />

automatically retransmitted. The threshold values should always be less than the Pause Time<br />

configured in bits[31:16]. For example, if PT = 100H (256 slot-times), <strong>and</strong> PLT = 01, then a<br />

second PAUSE frame is automatically transmitted if initiated at 228 (256 – 28) slot-times after<br />

the first PAUSE frame is transmitted.<br />

Selection<br />

Threshold<br />

00 Pause time minus 4 slot times<br />

01 Pause time minus 28 slot times<br />

10 Pause time minus 144 slot times<br />

11 Pause time minus 256 slot times<br />

Slot time is defined as time taken to transmit 512 bits (64 bytes) on the MII interface.<br />

Bit 3 UPFD: Unicast pause frame detect<br />

When this bit is set, the MAC detects the Pause frames with the station’s unicast address<br />

specified in the ETH_MACA0HR <strong>and</strong> ETH_MACA0LR registers, in addition to detecting Pause<br />

frames with the unique multicast address.<br />

When this bit is reset, the MAC detects only a Pause frame with the unique multicast address<br />

specified in the 802.3x st<strong>and</strong>ard.<br />

Bit 2 RFCE: Receive flow control enable<br />

When this bit is set, the MAC decodes the received Pause frame <strong>and</strong> disables its transmitter<br />

for a specified (Pause Time) time.<br />

When this bit is reset, the decode function of the Pause frame is disabled.<br />

Bit 1 TFCE: Transmit flow control enable<br />

In Full-duplex mode, when this bit is set, the MAC enables the flow control operation to<br />

transmit Pause frames. When this bit is reset, the flow control operation in the MAC is<br />

disabled, <strong>and</strong> the MAC does not transmit any Pause frames.<br />

In Half-duplex mode, when this bit is set, the MAC enables the back-pressure operation. When<br />

this bit is reset, the back pressure feature is disabled.<br />

Doc ID 13902 Rev 9 913/995

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

Saved successfully!

Ooh no, something went wrong!