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.

A–13
A.4.4.5 USB In Endpoint – X Buffer Base Address Byte (IEPBBAXx)
The USB in endpoint X buffer base address byte contains the 8-bit value used to specify the base memory location
for the X data buffer for a particular USB in endpoint.
Bit 7 6 5 4 3 2 1 0
Mnemonic BBAX10 BBAX9 BBAX8 BBAX7 BBAX6 BBAX5 BBAX4 BBAX3
Type R/W R/W R/W R/W R/W R/W R/W R/W
BIT MNEMONIC NAME DESCRIPTION
7:0 BBAX(10:3) X Buffer base address The X buffer base address value is set by the MCU to program the base address
location in memory to be used for the X data buffer. A total of 11 bits is used to specify
the base address location. This byte specifies the most significant 8 bits of the
address. All 0s are used by the hardware for the three least significant bits.
A.4.4.6 USB In Endpoint – Configuration Byte (IEPCNFx)
The USB in endpoint configuration byte contains the various bits used to configure and control the endpoint. Note
that the bits in this byte take on different functionality based on the type of endpoint defined. Basically, the control,
interrupt and bulk endpoints function differently than the isochronous endpoints.
A.4.4.6.1 USB In Endpoint – Control, Interrupt or Bulk Configuration Byte
This section defines the functionality of the bits in the USB in endpoint configuration byte for control, interrupt, and
bulk endpoints.
Bit 7 6 5 4 3 2 1 0
Mnemonic IEPEN ISO TOGGLE DBUF STALL IEPIE
Type R/W R/W R/W R/W R/W R/W R/W R/W
BIT MNEMONIC NAME DESCRIPTION
7 IEPEN Endpoint enable The endpoint enable bit is set to a 1 by the MCU to enable the in endpoint. This bit
does not affect the reception of the control endpoint setup stage transaction.
6 ISO Isochronous endpoint The isochronous endpoint bit is set to a 1 by the MCU to specify the use of a
particular in endpoint for isochronous transactions. This bit should be cleared to a 0
by the MCU to use a particular in endpoint for control, interrupt, or bulk transactions.
5 TOGGLE Toggle The toggle bit is controlled by the UBM and is toggled at the end of a successful in
data stage transaction if a valid data packet is transmitted. If this bit is a 0, a DATA0
PID is transmitted in the data packet to the host PC. If this bit is a 1, a DATA1 PID is
transmitted in the data packet.
4 DBUF Double buffer mode The double buffer mode bit is set to a 1 by the MCU to enable the use of both the X
and Y data packet buffers for USB transactions to a particular in endpoint. This bit
should be cleared to a 0 by the MCU to use the single buffer mode. In the single
buffer mode, only the X buffer is used.
3 STALL Stall The stall bit is set to a 1 by the MCU to stall endpoint transactions. When this bit is
set, the hardware will automatically return a stall handshake to the host PC for any
transaction received for the endpoint.
2 IEPIE Interrupt enable The interrupt enable bit is set to a 1 by the MCU to enable the in endpoint interrupt.
See section A.5.7.2 for details on the in endpoint interrupts.
1:0 Reserved Reserved for future use
A–14
A.4.4.6.2 USB In Endpoint – Isochronous Configuration Byte
This section defines the functionality of the bits in the USB in endpoint configuration byte for isochronous endpoints.
Bit 7 6 5 4 3 2 1 0
Mnemonic IEPEN ISO OVF BPS4 BPS3 BPS2 BPS1 BPS0
Type R/W R/W R/W R/W R/W R/W R/W R/W
BIT MNEMONIC NAME DESCRIPTION
7 IEPEN Endpoint enable The endpoint enable bit is set to a 1 by the MCU to enable the in endpoint.
6 ISO Isochronous endpoint The isochronous endpoint bit is set to a 1 by the MCU to specify the use of a
particular in endpoint for isochronous transactions. This bit should be cleared to a 0
by the MCU for a particular in endpoint to be used for control, interrupt, or bulk
transactions.
5 OVF Overflow The overflow bit is set to a 1 by the UBM to indicate a buffer overflow condition has
occurred. This bit is used for diagnostic purposes only and is not used for normal
operation. This bit can only be cleared to a 0 by the MCU.
4:0 BPS(4:0) Bytes per sample The bytes per sample bits are used to define the number of bytes per isochronous
data sample. In other words, the total number of bytes in an entire audio CODEC
frame. For example, a PCM 16-bit stereo audio data sample consists of 4 bytes.
There are two bytes of left channel data and two bytes of right channel data. For a
four channel system using 16-bit data, the total number of bytes would be 8, which
would be the isochronous data sample size.
00h = 1 byte, 01h = 2 bytes, , 1Fh = 32 bytes
A.4.5 USB Control Endpoint Setup Stage Data Packet Buffer
The USB control endpoint setup stage data packet buffer is the buffer space used to store the 8-byte data packet
received from the host PC during a control endpoint transfer setup stage transaction. Refer to Chapter 9 of the USB
Specification for details on the data packet.
Table A–2. USB Control Endpoint Setup Data Packet Buffer Address Map
ADDRESS NAME
FF2Fh wLength – Number of bytes to transfer in the data stage.
FF2Eh wLength – Number of bytes to transfer in the data stage.
FF2Dh wIndex – Index or offset value.
FF2Ch wIndex – Index or offset value.
FF2Bh wValue – Value of a parameter specific to the request.
FF2Ah wValue – Value of a parameter specific to the request.
FF29h bRequest – Specifies the particular request.
FF28h bmRequestType – Identifies the characteristics of the request.
A–15
A.5 Memory-Mapped Registers
The TUSB3200 device provides a set of control and status registers to be used by the MCU to control the overall
operation of the device. This section describes the memory-mapped registers.
Table A–3. Memory Mapped Registers Address Map
ADDRESS MNEMONIC NAME
FFFFh USBFADR USB function address register
FFFEh USBSTA USB status register
FFFDh USBIMSK USB interrupt mask register
FFFCh USBCTL USB control register
FFFBh USBFNL USB frame number register (low byte)
FFFAh USBFNH USB frame number register (high byte)
FFF9h DMATSL3 DMA channel 3 time slot assignment register (low byte)
FFF8h DMATSH3 DMA channel 3 time slot assignment register (high byte)
FFF7h DMACTL3 DMA channel 3 control register
FFF6h DMATSL2 DMA channel 2 time slot assignment register (low byte)
FFF5h DMATSH2 DMA channel 2 time slot assignment register (high byte)
FFF4h DMACTL2 DMA channel 2 control register
FFF3h Reserved Reserved for future use
FFF2h Reserved Reserved for future use
FFF1h Reserved Reserved for future use
FFF0h DMATSL1 DMA channel 1 time slot assignment register (low byte)
FFEFh DMATSH1 DMA channel 1 time slot assignment register (high byte)
FFEEh DMACTL1 DMA channel 1 control register
FFEDh Reserved Reserved for future use
FFECh Reserved Reserved for future use
FFEBh Reserved Reserved for future use
FFEAh DMATSL0 DMA channel 0 time slot assignment register (low byte)
FFE9h DMATSH0 DMA Channel 0 time slot assignment register (high byte)
FFE8h DMACTL0 DMA channel 0 control register
FFE7h ACGFRQ0 Adaptive clock generator frequency register (byte 0)
FFE6h ACGFRQ1 Adaptive clock generator frequency register (byte 1)
FFE5h ACGFRQ2 Adaptive clock generator frequency register (byte 2)
FFE4h ACGCAPL Adaptive clock generator mclk capture register (low byte)
FFE3h ACGCAPH Adaptive clock generator mclk capture register (high byte)
FFE2h ACGDCTL Adaptive clock generator divider control register
FFE1h ACGCTL Adaptive clock generator control register
FFE0h CPTCNF1 CODEC port interface configuration register 1
FFDFh CPTCNF2 CODEC port interface configuration register 2
FFDEh CPTCNF3 CODEC port interface configuration register 3
FFDDh CPTCNF4 CODEC port interface configuration register 4
FFDCh CPTCTL CODEC port interface control and status register
FFDBh CPTADR CODEC port interface address register
FFDAh CPTDATL CODEC port interface data register (low byte)
FFD9h CPTDATH CODEC port interface data register (high byte)
FFD8h CPTVSLL CODEC port interface valid slots register (low byte)
FFD7h CPTVSLH CODEC port interface valid slots register (high byte)
PREVIOUS1415161718192021222324252627NEXT