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 />

Ethernet DMA missed frame <strong>and</strong> buffer overflow counter register<br />

(ETH_DMAMFBOCR)<br />

Address offset: 0x1020<br />

Reset value: 0x0000 0000<br />

The DMA maintains two counters to track the number of missed frames during reception.<br />

This register reports the current value of the counter. The counter is used for diagnostic<br />

purposes. Bits [15:0] indicate missed frames due to the STM32F107xx buffer being<br />

unavailable (no receive descriptor was available). Bits [27:17] indicate missed frames due to<br />

Rx FIFO overflow conditions <strong>and</strong> runt frames (good frames of less than 64 bytes).<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Reserved<br />

OFOC<br />

rc_<br />

r<br />

rc_<br />

r<br />

rc_<br />

r<br />

rc_<br />

r<br />

rc_<br />

r<br />

rc_<br />

r<br />

MFA<br />

rc_<br />

r<br />

rc_<br />

r<br />

rc_<br />

r<br />

rc_<br />

r<br />

rc_<br />

r<br />

rc_<br />

r<br />

OMFC<br />

rc_<br />

r<br />

rc_<br />

r<br />

rc_<br />

r<br />

rc_<br />

r<br />

rc_<br />

r<br />

rc_<br />

r<br />

rc_<br />

r<br />

rc_<br />

r<br />

MFC<br />

rc_<br />

r<br />

rc_<br />

r<br />

rc_<br />

r<br />

rc_<br />

r<br />

rc_<br />

r<br />

rc_<br />

r<br />

rc_<br />

r<br />

rc_<br />

r<br />

rc_<br />

r<br />

Bits 31:29 Reserved<br />

Bit 28 OFOC: Overflow bit for FIFO overflow counter<br />

Bits 27:17 MFA: Missed frames by the application<br />

Indicates the number of frames missed by the application<br />

Bit 16 OMFC: Overflow bit for missed frame counter<br />

Bits 15:0 MFC: Missed frames by the controller<br />

Indicates the number of frames missed by the Controller due to the host receive buffer being<br />

unavailable. This counter is incremented each time the DMA discards an incoming frame.<br />

Ethernet DMA current host transmit descriptor register (ETH_DMACHTDR)<br />

Address offset: 0x1048<br />

Reset value: 0x0000 0000<br />

The Current host transmit descriptor register points to the start address of the current<br />

transmit descriptor read by the DMA.<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

HTDAP<br />

r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r r<br />

Bits 31:0 HTDAP: Host transmit descriptor address pointer<br />

Cleared on reset. Pointer updated by DMA during operation.<br />

944/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!