Freelance Electronics Components Distributor
Closed Dec 25th-26th
800-300-1968
We Stock Hard to Find Parts

TUSB3200ACPAH

Part # TUSB3200ACPAH
Description USB STREAMING CONTROLLER
Category IC
Availability Out of Stock
Qty 0
Qty Price
1 + $6.01940



Technical Document


DISCLAIMER: The information provided herein is solely for informational purposes. Customers must be aware of the suitability of this product for their application, and consider that variable factors such as Manufacturer, Product Category, Date Codes, Pictures and Descriptions may differ from available inventory.

2–3
2.1.13 CODEC Port Interface
The TUSB3200 provides a configurable full duplex bidirectional serial interface that can be used to connect to a
CODEC or another device for streaming USB Isochronous data. The interface can be configured to support several
different industry standard protocols, including AC ’97 1.X, AC ’97 2.X and I
2
S.
2.1.14 I
2
C Interface
The I
2
C interface logic provides a two-wire serial interface that can be used by the 8052 MCU to access other ICs.
The TUSB3200 is an I
2
C master device only and supports single byte or multiple byte read and write operations. The
interface can be programmed to operate at either 100 kbps or 400 kbps. In addition, the protocol supports 8-bit or
16-bit addressing for accessing the I
2
C slave device memory locations.
2.1.15 Pulse Width Modulation (PWM) Output
The TUSB3200 provides a pulse width modulation output with programmable frequency and pulse width. The
frequency can be programmed from 732 Hz to 93.7 kHz with an 8-bit register. The pulse width of the output signal
is set with a 16-bit register.
2.1.16 General-Purpose IO Ports (GPIO)
The TUSB3200 provides two general-purpose IO ports that are controlled by the internal 8052 MCU. The two ports,
port 1 and port 3, are 8-bits and 5-bits, respectively. Note that port 3 bit locations 2, 6, and 7 have been used in the
TUSB3200 for other functionality. Therefore these three bit locations are not available for GPIO use. Port 3 bit location
2 has been used as the external interrupt (XINT
) input to the TUSB3200. Port 3 bit locations 6 and 7 have been used
as the external MCU write strobe and read strobe inputs for the external MCU mode of operation.
Each bit of both ports can be independently used as either an input or output. Hence each port bit consists of an output
buffer, an input buffer and a pullup resistor. The pullup resistors on the GPIO pins can be disabled using the PUDIS
bit in the global control register.
2.1.17 Interrupt Logic
The interrupt logic monitors the various conditions that can cause an interrupt and asserts the interrupt 0 (INT0) input
to the 8052 MCU accordingly. All of the TUSB3200 internal interrupt sources and the external interrupt (XINT) input
are ORed together to generate the INT0 signal. An interrupt vector register is provided that is used by the MCU to
identify the interrupt source.
2.1.18 Reset Logic
An external master reset (MRESET) input signal that is asynchronous to the internal clocks is used to reset the
TUSB3200 logic. In addition to the master reset, the TUSB3200 logic can be reset with the USB reset from the host
PC. The TUSB3200 also provides a reset output (RSTO
) signal that can be used by external devices. This signal is
asserted when either a master reset or USB reset occurs.
2.2 Device Operation
The operation of the TUSB3200 is explained in the following sections. For additional information on USB, refer to the
universal serial bus Specification version 1.1.
2.2.1 Clock Generation
The TUSB3200 requires an external 6-MHz crystal and PLL loop filter components connected as shown in Figure 4-1
to derive all the clocks needed for both USB and CODEC operation. Using the low frequency 6-MHz crystal and
generating the required higher frequency clocks internal to the IC is a major advantage regarding EMI.
2–4
2.2.2 Device Initialization
After a power-on reset is applied to the TUSB3200 device, the 8052 MCU will execute a boot loader program from
the 4K byte boot ROM mapped to the program memory space. During device initialization, the boot loader program
downloads the application program code from an external EEPROM through the I
2
C interface. This requires that a
binary image of the application code be written to the 8K byte code RAM in the TUSB3200 device.
All memory mapped registers are initialized to a default value as defined in Appendix A,
MCU Memory and Memory-
Mapped Registers
. The TUSB3200 device powersup with a default function address of zero and disconnected from
the USB.
2.2.2.1 Boot Load from EEPROM
Loading the application code from an external serial EEPROM requires a preprogrammed memory device containing
an informative header and the application code. While the application code is being downloaded, the TUSB3200 will
remain disconnected from the USB. When the code download is complete, execution of the application code should
connect the TUSB3200 to the USB. In this situation, the TUSB3200 will enumerate using the vendor ID and product
ID contained in the application code.
2.2.2.2 EEPROM Header
For both application code and USB device information stored in a EEPROM device, a common header format is used
that proceeds the data payload. Table 2-1 shows the format and information contained in the header.
Table 2–1. EEPROM Header
OFFSET TYPE SIZE VALUE
0 Signature 4 0x04513200
4 Header size 1 Header size
5 Version 1 Firmware version
6 EEPROM type 1 0x01 = Reserved
0x02 = Reserved
0x03 = Reserved
0x04 = Reserved
0x05 = Reserved
0x06 = Reserved
0x07 = Reserved
0x08 = Reserved
0x09 = 24C32
0x0A =24C64
0x0B0xFF = Reserved
7 Data type 1 0x01 = Application code
0x020xFF = Reserved
8 Data size 2 Data payload only size
10 Check sum 2 Check sum of the data payload
beginning at location Check Sum + 2
12 Data - Data payload
The s
ignature
field is used for the detection of a EEPROM device connected to the TUSB3200. The
header size
field
supports future updates of the header. Data begins right after the header. The
version
field identifies the header
version. The
EEPROM type
field identifies the specific EEPROM device being used. The
data type
field describes
the nature of data stored in the EEPROM (application code or USB device information). The
data size
field holds the
length of the data payload starting from the end of the header. The
check sum
field contains the check sum for the
data payload portion of the EEPROM.
2.2.2.3 EEPROM Data Type
The two types of data that are stored in the EEPROM are application code and USB device information.
2–5
2.2.2.3.1 Application Code
Application firmware is stored as a binary image of the code. The binary image is mapped to the MCU program
memory space starting at address zero and is stored in the EEPROM as a continuous linear block starting after the
header information. A utility program is available that converts a file in Intel hexidecimal format to a binary image data
file and appends it to the header.
2.2.2.3.2 USB Device Information
The USB device information is comprised of the vendor ID and product ID. Optionally, a manufacturer string and
product string can be included. The boot loader uses this information during enumeration to identify the USB
peripheral device. Table 2-2 shows the format and information contained in the
USB Device Information Section
.
Table 2–2. USB Device Information
OFFSET TYPE SIZE CONTENTS REMARK
H+1 Vendor ID 2 Vendor ID code
H+3 Product ID 2 Product ID code
H+5 M Offset 1 Pointer to manufacture string String is optional
H+6 P Offset 1 Pointer to product string String is optional
H+M Offset Manufacture string - Null terminated
H+P Offset Product string - Null terminated
2.2.2.4 EEPROM Device Type
The TUSB3200 boot loader program supports several different types of serial EEPROM devices. The boot loader
program will automatically identify the EEPROM type from the header information and use the correct serial interface
protocol accordingly. The boot loader program uses an I
2
C slave device address of A0h for the serial EEPROM
device.
These EEPPROM devices require an I
2
C device address in addition to a two byte data word address. These devices
require the full 7-bit I
2
C device address. Depending on the memory size of the EEPROM device being used, the most
significant three or four bits of the two byte data word address are don’t care bits. The EEPROM types supported are:
24C32 and 24C64
All of these EEPROM devices can be used for storing and loading application code. However most applications will
use devices which are capable of storing up to 8K bytes of program code.
2.2.3 USB Enumeration
USB enumeration is accomplished by interaction between the host PC software and the TUSB3200 code. After
power-on reset the boot loader code first reads the information from the EEPROM, then runs the application code.
The application code connects the TUSB3200 to the USB. During the enumeration, the application code identifies
the device as an application specific device and the host loads the appropriate host driver(s). The boot loader and
application code both use the CONT, SDW and FRSTE bits to control the enumeration process. The function connect
(CONT) bit is set to a 1 by the MCU to connect the TUSB3200 device to the USB. When this bit is set to a 1, the USB
data plus pullup resistor (PUR) output signal is enabled, which will connect the pullup on the PCB to the TUSB3200
3.3-V digital supply voltage. When this bit is cleared to a 0, the PUR output is in the 3-state mode. This bit is not
affected by a USB reset. The shadow the boot ROM (SDW) bit is set to a 1 by the MCU to switch the MCU memory
configuration from boot loader mode to normal operating mode. The function reset enable (FRSTE) bit is set to a 1
by the MCU to enable the USB reset to reset all internal logic including the MCU. However, the shadow the ROM
(SDW) and the USB function connect (CONT) bits will not be reset. When this bit is set, the reset output (RSTO
) signal
from the TUSB3200 device will also be active when a USB reset occurs. This bit is not affected by USB reset.
2.2.4 USB Reset
The TUSB3200 can detect a USB reset condition. When the reset occurs, the TUSB3200 responds by setting the
function reset (RSTR) bit in the USB status register (USBSTA). If the corresponding function reset bit in the USB
PREVIOUS12345678910111213NEXT