English
Language : 

LAN9500 Datasheet, PDF (41/213 Pages) SMSC Corporation – USB 2.0 to 10/100 Ethernet Controller Promiscuous mode
LAN950x
5.3.2.5.7
Set Configuration
The device supports only one configuration. An occurrence of this command places the device into the Configured state.
TABLE 5-31: FORMAT OF SET CONFIGURATION SETUP STAGE
Offset
Field
Value
0h
bmRequestType
1h
bRequest
2h
wValue
4h
wIndex
6h
wLength
00h
09h
Configuration Value
00h
00h
Since only one configuration is supported, 01h is the only supported configuration value.
5.3.2.5.8
Set Interface
Only one interface is supported by the device. Therefore, this command is of marginal use. If the command is issued
with an alternative setting of 00h and interface setting of 00h, as shown in Table 5-32, the device responds with an ACK.
Otherwise it responds with a STALL handshake.
TABLE 5-32:
Offset
0h
1h
2h
4h
6h
FORMAT OF SET INTERFACE SETUP STAGE
Field
bmRequestType
bRequest
wValue
wIndex
wLength
Value
01h
0Bh
00h
00h
00h
5.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.
5.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 5-33:
Offset
0h
1h
2h
4h
6h
FORMAT OF REGISTER WRITE SETUP STAGE
Field
bmRequestType
bRequest
wValue
wIndex
wLength
Value
40h
A0h
00h
{0h, CSR Address[11:0]}
04h
TABLE 5-34: FORMAT OF REGISTER WRITE DATA STAGE
Offset
Field
0h Register Write Data [31:0]
 2010 - 2015 Microchip Technology Inc.
DS00001875A-page 41