09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

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 <strong>RM0090</strong><br />

Ethernet MAC debug register (ETH_MACDBGR)<br />

Address offset: 0x0034<br />

Reset value: 0x0000 0000<br />

This debug register gives the status of all the main modules of the transmit and receive data<br />

paths and the FIFOs. An all-zero status indicates that the MAC core is in Idle state (and<br />

FIFOs are empty) and no activity is going on in the data paths.<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 />

TFF<br />

TFNE<br />

Reserved<br />

TFWA<br />

979/1416 Doc ID 018909 Rev 3<br />

TFRS<br />

MTP<br />

MTFCS<br />

MMTEA<br />

Reserved RFFL<br />

ro ro ro ro ro ro ro ro ro ro ro ro ro ro ro ro ro<br />

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

Bit 25 TFF: Tx FIFO full<br />

When high, it indicates that the Tx FIFO is full and hence no more frames will be accepted<br />

for transmission.<br />

Bit 24 TFNE: Tx FIFO not empty<br />

When high, it indicates that the TxFIFO is not empty and has some data left for<br />

transmission.<br />

Bit 23 Reserved, must be kept at reset value.<br />

Bit 22 TFWA: Tx FIFO write active<br />

When high, it indicates that the TxFIFO write controller is active and transferring data to the<br />

TxFIFO.<br />

Bits 21:20 TFRS: Tx FIFO read status<br />

This indicates the state of the TxFIFO read controller:<br />

00: Idle state<br />

01: Read state (transferring data to the MAC transmitter)<br />

10: Waiting for TxStatus from MAC transmitter<br />

11: Writing the received TxStatus or flushing the TxFIFO<br />

Bit 19 MTP: MAC transmitter in pause<br />

When high, it indicates that the MAC transmitter is in Pause condition (in full-duplex mode<br />

only) and hence will not schedule any frame for transmission<br />

Bits 18:17 MTFCS: MAC transmit frame controller status<br />

This indicates the state of the MAC transmit frame controller:<br />

00: Idle<br />

01: Waiting for Status of previous frame or IFG/backoff period to be over<br />

10: Generating and transmitting a Pause control frame (in full duplex mode)<br />

11: Transferring input frame for transmission<br />

Bit 16 MMTEA: MAC MII transmit engine active<br />

When high, it indicates that the MAC MII transmit engine is actively transmitting data and<br />

that it is not in the Idle state.<br />

Bits 15:10 Reserved, must be kept at reset value.<br />

Reserved<br />

RFRCS<br />

RFWRA<br />

Reserved<br />

MSFRWCS<br />

MMRPEA

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

Saved successfully!

Ooh no, something went wrong!