30.01.2015 Views

UM10211 - Standard ICs

UM10211 - Standard ICs

UM10211 - Standard ICs

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.

NXP Semiconductors<br />

<strong>UM10211</strong><br />

Chapter 11: LPC2300 Ethernet<br />

Table 165. Transmit Status Vector 0 register (TSV0 - address 0xFFE0 0158) bit description<br />

Bit Symbol Function Reset<br />

value<br />

27:12 Total bytes The total number of bytes transferred including collided 0x0<br />

attempts.<br />

28 Control frame The frame was a control frame. 0<br />

29 Pause The frame was a control frame with a valid PAUSE 0<br />

opcode.<br />

30 Backpressure Carrier-sense method backpressure was previously 0<br />

applied.<br />

31 VLAN Frame’s length/type field contained 0x8100 which is the<br />

VLAN protocol identifier.<br />

0<br />

[1] The EMAC doesn't distinguish the frame type and frame length, so, e.g. when the IP(0x8000) or<br />

ARP(0x0806) packets are received, it compares the frame type with the max length and gives the "Length<br />

out of range" error. In fact, this bit is not an error indication, but simply a statement by the chip regarding the<br />

status of the received frame.<br />

11.14 Transmit Status Vector 1 Register (TSV1 - 0xFFE0 015C)<br />

The Transmit Status Vector 1 register (TSV1) is a Read Only register with an address of<br />

0xFFE0 015C. The transmit status vector registers store the most recent transmit status<br />

returned by the MAC. Since the status vector consists of more than 4 bytes, status is<br />

distributed over two registers TSV0 and TSV1. These registers are provided for debug<br />

purposes, because the communication between driver software and the Ethernet block<br />

takes place primarily through the frame descriptors. The status register contents are valid<br />

as long as the internal status of the MAC is valid and should typically only be read when<br />

the transmit and receive processes are halted.Table 11–166 lists the bit definitions of the<br />

TSV1 register.<br />

Table 166. Transmit Status Vector 1 register (TSV1 - address 0xFFE0 015C) bit description<br />

Bit Symbol Function Reset<br />

value<br />

15:0 Transmit byte count The total number of bytes in the frame, not counting the<br />

collided bytes.<br />

0x0<br />

19:16 Transmit collision<br />

count<br />

Number of collisions the current packet incurred during<br />

transmission attempts. The maximum number of collisions<br />

(16) cannot be represented.<br />

31:20 - Unused 0x0<br />

0x0<br />

11.15 Receive Status Vector Register (RSV - 0xFFE0 0160)<br />

The Receive status vector register (RSV) is a Read Only register with an address of<br />

0xFFE0 0160. The receive status vector register stores the most recent receive status<br />

returned by the MAC. This register is provided for debug purposes, because the<br />

communication between driver software and the Ethernet block takes place primarily<br />

through the frame descriptors. The status register contents are valid as long as the<br />

internal status of the MAC is valid and should typically only be read when the transmit and<br />

receive processes are halted.<br />

Table 11–167 lists the bit definitions of the RSV register.<br />

<strong>UM10211</strong>_1<br />

© NXP B.V. 2007. All rights reserved.<br />

User manual Rev. 01 — 27 March 2007 156 of 613

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

Saved successfully!

Ooh no, something went wrong!