EMAC Port Registers | www.ti.com |
5.50 Network Statistics Registers
The EMAC has a set of statistics that record events associated with frame traffic. The statistics values are cleared to zero 38 clocks after the rising edge of reset. When the GMIIEN bit in the MACCONTROL register is set, all statistics registers are
The statistics interrupt (STATPEND) is issued, if enabled, when any statistics value is greater than or equal to 8000 0000h. The statistics interrupt is removed by writing to decrement any statistics value greater than 8000 0000h. The statistics are mapped into internal memory space and are
The network statistics register is shown in Figure 92 and described in Table 86.
| Figure 92. Statistics Register |
31 | 16 |
|
|
| COUNT |
| |
15 | 0 |
COUNT
LEGEND: R/W = Read/Write;
|
|
| Table 86. Statistics Register Field Descriptions |
|
|
| |
Bit | Field | Value | Description |
|
|
|
|
COUNT |
| Count | |
|
|
|
|
5.50.1Good Receive Frames Register (RXGOODFRAMES)
The total number of good frames received on the EMAC. A good frame is defined as having all of the following:
•Any data or MAC control frame that matched a unicast, broadcast, or multicast address, or matched due to promiscuous mode
•Was of length 64 to RXMAXLEN bytes inclusive
•Had no CRC error, alignment error, or code error
See Section 2.5.5 for definitions of alignment, code, and CRC errors. Overruns have no effect on this statistic.
5.50.2Broadcast Receive Frames Register (RXBCASTFRAMES)
The total number of good broadcast frames received on the EMAC. A good broadcast frame is defined as having all of the following:
•Any data or MAC control frame that was destined for address
•Was of length 64 to RXMAXLEN bytes inclusive
•Had no CRC error, alignment error, or code error
See Section 2.5.5 for definitions of alignment, code, and CRC errors. Overruns have no effect on this statistic.
148 | C6472/TCI6486 EMAC/MDIO | SPRUEF8F |
|
| Submit Documentation Feedback |
Copyright ©