
Philips Semiconductors
ISP1181B
Full-speed USB peripheral controller
Product data
Rev. 02 — 07 December 2004
23 of 70
9397 750 13958
Koninklijke Philips Electronics N.V. 2004. All rights reserved.
12. Commands and registers
The functions and registers of ISP1181B are accessed via commands, which consist
of a command code followed by optional data bytes (read or write action). An
overview of the available commands and registers is given in
Table 13.
A complete access consists of two phases:
1. Command phase: when address bit A0 = 1, the ISP1181B interprets the data on
the lower byte of the bus bits D[7:0] as a command code. Commands without a
data phase are executed immediately.
2. Data phase (optional): when address bit A0 = 0, the ISP1181B transfers the
data on the bus to or from a register or endpoint FIFO. Multi-byte registers are
accessed least signicant byte/word rst.
The following applies for register or FIFO access in 16-bit bus mode:
The upper byte (bits D15 to D8) in command phase or the undened byte in data
phase are ignored.
The access of registers is word-aligned: byte access is not allowed.
If the packet length is odd, the upper byte of the last word in an IN endpoint buffer
is not transmitted to the host. When reading from an OUT endpoint buffer, the
upper byte of the last word must be ignored by the rmware. The packet length is
stored in the rst 2 bytes of the endpoint buffer.
Interrupt Enable
IESUSP
enables output INT to signal the suspend state
IERESM
enables output INT to signal the resume state
Mode
SOFTCT
enables SoftConnect pull-up resistor to USB bus
GOSUSP
a HIGH-to-LOW transition enables the suspend state
Hardware
Conguration
EXTPUL
selects internal (SoftConnect) or external pull-up resistor
WKUPCS
enables wake-up on LOW level of input CS
PWROFF
selects powered-off mode during the suspend state
Unlock
all
sending data AA37H unlocks the internal registers for
writing after a resume
Table 12:
Summary of control bits…continued
Register
Bit
Function
Table 13:
Command and register summary
Name
Destination
Code (Hex)
Initialization commands
Write Control OUT Conguration
Endpoint Conguration Register
endpoint 0 OUT
20
Write Control IN Conguration
Endpoint Conguration Register
endpoint 0 IN
21
Write Endpoint n Conguration
(n = 1 to 14)
Endpoint Conguration Register
endpoint 1 to 14
22 to 2F
Read Control OUT Conguration
Endpoint Conguration Register
endpoint 0 OUT
30