
1998 Aug 28
27
Philips Semiconductors
Preliminary specification
Universal Serial Bus (USB) Audio
Playback Recording Peripheral (APRP)
UDA1335H
These port configurations can be chosen via the configuration map at start-up of the UDA1335H.
The user can also make use of an I
2
C-bus expander. The usage of an I
2
C-bus expander (yes/no) can be indicated via
the configuration map. Some of the supported HID functions are located in the I
2
C-bus expander. If this expander is not
used, the HID functions normally located in the expander must be declared as “unassigned” in the HID report descriptor.
The bit which indicates if an external expander is used must then be put on zero.
Table 11
Definition of the general purpose pins and I
2
C-bus expander pins; notes 1 to 6
Notes
1.
Connect/disconnect: This pin can be used to avoid malfunction during initialisation phase of the UDA1335H. While
initialization takes place, the USB can be kept disconnected while the software of the microcontroller reads in the
configuration map. When the UDA1335H is ready, the USB becomes connected and enumeration can start. Using
the 6-pin I
2
S-bus, the connect/disconnect will be moved to the I
2
C-bus expander.
HID input 1 to 6 and interrupt input: A change on the expander can be signalled to the UDA1335H via the interrupt
input. After detecting this signal the UDA1335H will decode the buttons. When no expander is used, the interrupt pin
must be connected to the ground. The HID input pins and the interrupt input pin on the UDA1335H are scanned each
20 ms. If the interrupt in pin indicates a change on the expander, the expander input pins are scanned once. Using
the 6-pin I
2
S-bus, the interrupt pin is not available and the inputs on the expander are scanned every 20 ms. All input
pins must have a pull-up resistor.
Selector output: This pin can be used for switching the audio selector as illustrated in Fig.4. If the configuration map
does not request this output pin, the output is always LOW.
Mute output: This output is activated if the isochronous signal is not available during a certain time. The output levels
and the time are programmable in the configuration map.
Standby output: This output is activated if the UDA1335H is muted during a certain time. The output levels and the
time are programmable in the configuration map.
Output pins 1 to 3: All the output pins are set via the I
2
C-bus. The function is according the configuration map.
For the I
2
C-bus expander, the PCF8574P remote 8-bit I/O expander for I
2
C-bus can be used.
2.
3.
4.
5.
6.
7.
PINS
NO I
2
S-BUS USAGE
4-PIN I
2
S-BUS USAGE
6-PIN I
2
S-BUS USAGE
General purpose I/O
GP5
GP4
GP3
GP2
GP1
GP0
connect/disconnect
HID input 2
HID input 1
selector output
mute or standby output
interrupt input
connect/disconnect
BCK output
WS output
DATA output
DATA input
interrupt input
WS input
BCK output
WS output
DATA output
DATA input
BCK input
I
2
C-bus expander;
note 7
P0
P1
P2
P3
P4
P5
P6
P7
HID input 3
HID input 4
HID input 5
HID input 6
output pin 1
output pin 2
output pin 3
mute or standby output
HID input 3
HID input 4
HID input 5
HID input 6
output pin 1
output pin 2
selector output
mute or standby output
connect/disconnect
HID input 4
HID input 5
HID input 6
output pin 1
output pin 2
selector output
mute or standby output