English
Language : 

LAN9730 Datasheet, PDF (48/222 Pages) SMSC Corporation – High-Speed Inter-Chip (HSIC) USB 2.0
LAN9730/LAN9730i
4.3.3.3 Get Statistics Command
The Get Statistics Command returns the entire contents of the statistics RAMs. The wIndex field is used to select the
RX or TX statistics.
Note: The contents of the statistics RAM is snapshot when fulfilling the command request. The statistics counters
rollover, hence the RAM is not cleared.
TABLE 4-37: FORMAT OF GET STATISTICS SETUP STAGE
Offset
0h
1h
2h
4h
6h
Field
bmRequestType
bRequest
wValue
wIndex
wLength
Note 4-18
Note 4-19
0b - Retrieves RX statistics. 1b - Retrieves TX statistics.
28h for RX statistics. 30h for TX statistics.
TABLE 4-38: FORMAT OF GET STATISTICS DATA STAGE (RX)
Offset
00h
04h
08h
0Ch
10h
14h
18h
1Ch
20h
24h
Field
RX Good Frames
RX CRC Errors
RX Runt Frame Errors
RX Alignment Errors
RX Frame Too Long Error
RX Later Collision Error
RX Bad Frames
RX FIFO Dropped Frames
RESERVED
RESERVED
TABLE 4-39: FORMAT OF GET STATISTICS DATA STAGE (TX)
Offset
00h
04h
08h
0Ch
10h
14h
18h
1Ch
20h
24h
28h
2Ch
Field
TX Good Frames
TX Pause Frames
TX Single Collisions
TX Multiple Collisions
TX Excessive Collision Errors
TX Late Collision Errors
TX Buffer Underrun Errors
TX Excessive Deferral Errors
TX Carrier Errors
TX Bad Frames
RESERVED
RESERVED
Value
C0h
A2h
00h
Note 4-18
Note 4-19
DS00001946A-page 48
 2012-2015 Microchip Technology Inc.