English
Language : 

LAN9730 Datasheet, PDF (47/222 Pages) SMSC Corporation – High-Speed Inter-Chip (HSIC) USB 2.0
LAN9730/LAN9730i
4.3.3 USB VENDOR COMMANDS
The device implements several vendor specific commands in order to access CSRs and efficiently gather statistics. The
vendor commands allow direct access to Systems CSRs and MAC CSRs.
Note: When in the Normal state, accesses to the MAC CSRs are stalled.
4.3.3.1 Register Write Command
The commands allows the host to write a single register. Burst writes are not supported. All writes are 32-bits.
TABLE 4-33: FORMAT OF REGISTER WRITE SETUP STAGE
Offset
0h
1h
2h
4h
6h
bmRequestType
bRequest
wValue
wIndex
wLength
Field
Value
40h
A0h
00h
{0h, CSR Address[11:0]}
04h
TABLE 4-34: FORMAT OF REGISTER WRITE DATA STAGE
Offset
0h
Field
Register Write Data [31:0]
4.3.3.2 Register Read Command
The commands allows the host to read a single register. Burst reads are not supported. All reads return 32-bits.
TABLE 4-35: FORMAT OF REGISTER READ SETUP STAGE
Offset
0h
1h
2h
4h
6h
Field
bmRequestType
bRequest
wValue
wIndex
wLength
Value
C0h
A1h
00h
{0h, CSR Address[11:0]}
04h
TABLE 4-36: FORMAT OF REGISTER READ DATA STAGE
Offset
0h
Field
Register Read Data [31:0]
 2012-2015 Microchip Technology Inc.
DS00001946A-page 47