|
PDIUSBD11 Datasheet, PDF (7/20 Pages) NXP Semiconductors – USB device with serial interface | |||
|
◁ |
Philips Semiconductors
USB device with serial interface
Product specification
PDIUSBD11
COMMAND DESCRIPTIONS
Command Procedure
There are three basic types of commands: Initialization, Data Flow,
and General commands. Respectively, these are used to initialize
the function; for data flow between the function and the host; and
some general commands.
Initialization Commands
Initialization commands are used during the enumeration process of
the USB network. These commands are used to enable the function
endpoints. They are also used to set the USB assigned address.
Set Address / Enable
Command
Data
: D1h, (Function)
: Write 1 byte
This command is used to set the USB assigned address and enable
the function.
76 54 32 1 0
00 00 00 00
POWER ON VALUE
ADDRESS
ENABLE
Address
Enable
SV00825
The value written becomes the address.
A â1â enables this function.
Set Endpoint Enable
Command
Data
: D8h
: Write 1 byte
The generic endpoints can only be enabled when the function is
enabled via the Set Address/Enable command.
76 54 32 1 0
X X X X X X 0 X POWER ON VALUE
RESERVED; WRITE 0
FUNCTION GENERIC ENDPOINTS
RESERVED; WRITE 0
Function Generic Endpoint
SV00826
A value of â1â indicates the
function generic endpoints are
enabled.
Set Mode
Command
Data
: F3h
: Write 2 bytes
The Set Mode command is followed by two data writes. The first
byte contains the configuration byte values. The second byte is the
clock division factor byte.
Configuration Byte
76 54 32 1 0
1X X0 11 01
POWER ON VALUE
REMOTE WAKEUP
NO LAZYCLOCK
CLOCK RUNNING
DEBUG MODE
SoftConnectâ¢
RESERVED; WRITE 0
FUTURE MODE
SV00827
Remote Wakeup
No LazyClock
Clock Running
Debug Mode
SoftConnectâ¢
FutureMode
A â1â indicates that a remote wakeup feature is
ON. Bus reset will set this bit to â1â.
A â1â indicates that CLKOUT will not switch to
LazyClock. A â0â indicates that the CLKOUT
switches to LazyClock 1ms after the Suspend
pin goes high. LazyClock frequency is 30KHz
±40%. The programmed value will not be
changed by a bus reset.
A â1â indicates that the internal clocks and PLL
are always running even during Suspend state.
A â0â indicates that the internal clock, crystal
oscillator and PLL are stopped whenever not
needed. To meet the strict Suspend current
requirement, this bit needs to be set to â0â. The
programmed value will not be changed by a bus
reset.
A â1â indicates that all errors and âNAKingâ are
reported and a â0â indicates that only OK and
babbling are reported. The programmed value
will not be changed by a bus reset.
A â1â indicates that the upstream pull-up resistor
will be connected if VBUS is available. A â0â
means that the upstream resistor will not be
connected. The programmed value will not be
changed by a bus reset.
Write a â1â.
1999 Jul 22
7
|
▷ |