Electronic Components Datasheet Search
  English  ▼

X  

TAS1020 Datasheet(PDF) 23 Page - Texas Instruments

Part # TAS1020
Description  USB Streaming Controller
PDF  93 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  TI [Texas Instruments]
Direct Link  http://www.ti.com
Logo TI - Texas Instruments

TAS1020 Datasheet(HTML) 23 Page - Texas Instruments

Back Button TAS1020 Datasheet HTML 19Page - Texas Instruments TAS1020 Datasheet HTML 20Page - Texas Instruments TAS1020 Datasheet HTML 21Page - Texas Instruments TAS1020 Datasheet HTML 22Page - Texas Instruments TAS1020 Datasheet HTML 23Page - Texas Instruments TAS1020 Datasheet HTML 24Page - Texas Instruments TAS1020 Datasheet HTML 25Page - Texas Instruments TAS1020 Datasheet HTML 26Page - Texas Instruments TAS1020 Datasheet HTML 27Page - Texas Instruments Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 93 page
background image
2–9
2.2.7
USB Transfers
The TAS1020 device supports all the USB data transfer types: control, bulk, interrupt, and isochronous. In accordance
with the USB specification, endpoint zero is reserved for the control endpoint and is bidirectional. In addition to the
control endpoint, the TAS1020 is capable of supporting up to 7 in endpoints and 7 out endpoints. These additional
endpoints can be configured as bulk, interrupt, or isochronous endpoints. The MCU handles all control, bulk, and
interrupt endpoint transactions. In addition, the MCU can handle isochronous endpoint transactions, such as a rate
feedback endpoint to the host PC. However, for streaming isochronous data between the host PC and the codec
interface port, the DMA channels are provided.
2.2.7.1 Control Transfers
Control transfers are used for configuration, command, and status communication between the host PC and the
TAS1020 device. Control transfers to the TAS1020 device use in endpoint 0 and out endpoint 0. The three types of
control transfers are control write, control write with no data stage, and control read. Note that the control endpoint
must be initialized before connecting the TAS1020 device to the USB.
2.2.7.1.1 Control Write Transfer (Out Transfer)
The host PC uses a control write transfer to write data to the USB function. A control write transfer consists of a setup
stage transaction, at least one out data stage transaction, and an in-status stage transaction.
The steps to be followed for a control write transfer are as follows:
Setup Stage Transaction:
1.
MCU initializes in endpoint 0 and out endpoint 0 by programming the appropriate USB endpoint
configuration blocks. This entails programming the buffer size and buffer base address, selecting the buffer
mode, enabling the endpoint interrupt, initializing the TOGGLE bit, enabling the endpoint, and clearing the
NACK bit for both in endpoint 0 and out endpoint 0.
2.
The host PC sends a setup token followed by the setup data packet addressed to out endpoint 0. If the data
is received without an error, then the UBM writes the data to the setup data packet buffer, set the setup stage
transaction (SETUP) bit to a 1 in the USB status register, return an ACK handshake to the host PC, and
assert the setup stage transaction interrupt. Note that as long as the setup transaction stage (SETUP) bit
is set to a 1, the UBM returns a NACK handshake for any data stage or status stage transactions
transactions regardless of the endpoint 0 NACK or STALL bit values.
3.
The MCU services the interrupt and reads the setup data packet from the buffer then decodes the
command. If the command is not supported or valid, the MCU should set the STALL bit in the out endpoint
0 configuration byte and the endpoint 0 configuration byte before clearing the setup stage transaction
(SETUP) bit. This causes the device to return a STALL handshake for any data stage or status stage
transactions. After reading the data packet and decoding the command, the MCU clears the interrupt, which
automatically clears the setup stage transaction status bit. The MCU also sets the TOGGLE bit in the out
endpoint 0 configuration byte to a 1. For control write transfers, the PID used by the host for the first out data
packet is a DATA1 PID and the TOGGLE bit must match.
Data Stage Transaction:
1.
The host PC sends an out token packet followed by a data packed addressed to out endpoint 0. If the data
packet is received without errors then the UBM writes the data to the endpoint buffer, updates the data count
value, toggles the TOGGLE bit, sets the NACK bit to a 1, returns an ACK handshake to the host PC, and
asserts the endpoint interrupt.
2.
The MCU services the interrupt and reads the data packet from the buffer. To read the data packet, the MCU
first must obtain the data count value. After reading the data packet, the MCU must clear the interrupt and
clear the NACK bit to allow the reception of the next data packet from the host PC.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com