29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

RM0008<br />

Bits 16:14 TTC: Transmit threshold control<br />

These three bits control the threshold level of the Transmit FIFO. Transmission starts when the<br />

frame size within the Transmit FIFO is larger than the threshold. In addition, full frames with a<br />

length less than the threshold are also transmitted. These bits are used only when the TSF bit<br />

(Bit 21) is cleared.<br />

000: 64<br />

001: 128<br />

010: 192<br />

011: 256<br />

100: 40<br />

101: 32<br />

110: 24<br />

111: 16<br />

Bit 13 ST: Start/stop transmission<br />

When this bit is set, transmission is placed in the Running state, <strong>and</strong> the DMA checks the<br />

transmit list at the current position for a frame to be transmitted. Descriptor acquisition is<br />

attempted either from the current position in the list, which is the transmit list base address set<br />

by the ETH_DMATDLAR register, or from the position retained when transmission was<br />

stopped previously. If the current descriptor is not owned by the DMA, transmission enters the<br />

Suspended state <strong>and</strong> the transmit buffer unavailable bit (ETH_DMASR [2]) is set. The Start<br />

Transmission comm<strong>and</strong> is effective only when transmission is stopped. If the comm<strong>and</strong> is<br />

issued before setting the DMA ETH_DMATDLAR register, the DMA behavior is unpredictable.<br />

When this bit is cleared, the transmission process is placed in the Stopped state after<br />

completing the transmission of the current frame. The next descriptor position in the transmit<br />

list is saved, <strong>and</strong> becomes the current position when transmission is restarted. The Stop<br />

Transmission comm<strong>and</strong> is effective only when the transmission of the current frame is<br />

complete or when the transmission is in the Suspended state.<br />

Bits 12:8 Reserved<br />

Bit 7 FEF: Forward error frames<br />

When this bit is set, all frames except runt error frames are forwarded to the DMA.<br />

When this bit is cleared, the Rx FIFO drops frames with error status (CRC error, collision error,<br />

giant frame, watchdog timeout, overflow). However, if the frame’s start byte (write) pointer is<br />

already transferred to the read controller side (in Threshold mode), then the frames are not<br />

dropped. The Rx FIFO drops the error frames if that frame's start byte is not transferred<br />

(output) on the ARI bus.<br />

Bit 6 FUGF: Forward undersized good frames<br />

When this bit is set, the Rx FIFO forwards undersized frames (frames with no error <strong>and</strong> length<br />

less than 64 bytes) including pad-bytes <strong>and</strong> CRC).<br />

When this bit is cleared, the Rx FIFO drops all frames of less than 64 bytes, unless such a<br />

frame has already been transferred due to lower value of receive threshold (e.g., RTC = 01).<br />

Bit 5 Reserved<br />

940/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!