Electronic Components Datasheet Search
  English  ▼

X  

TAS1020B Datasheet(PDF) 33 Page - Texas Instruments

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

TAS1020B Datasheet(HTML) 33 Page - Texas Instruments

Back Button TAS1020B Datasheet HTML 29Page - Texas Instruments TAS1020B Datasheet HTML 30Page - Texas Instruments TAS1020B Datasheet HTML 31Page - Texas Instruments TAS1020B Datasheet HTML 32Page - Texas Instruments TAS1020B Datasheet HTML 33Page - Texas Instruments TAS1020B Datasheet HTML 34Page - Texas Instruments TAS1020B Datasheet HTML 35Page - Texas Instruments TAS1020B Datasheet HTML 36Page - Texas Instruments TAS1020B Datasheet HTML 37Page - Texas Instruments Next Button
Zoom Inzoom in Zoom Outzoom out
 33 / 118 page
background image
TAS1020B
www.ti.com
SLES025B
– JANUARY 2002 – REVISED MAY 2011
1. MCU initializes one of the OUT endpoints as an OUT bulk endpoint by programming the appropriate
USB endpoint configuration block. 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.
2. The host PC sends an OUT token packet followed by a data packet addressed to the OUT endpoint. If
the data is received without an error, 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.
3. The MCU services the interrupt and reads the data packet from the buffer. To read the data packet,
the MCU must first retrieve the data count value. After reading the data packet, the MCU clears the
interrupt and clears the NACK bit to allow the reception of the next data packet from the host PC.
4. If the NACK bit is set to 1 when the data packet is received, the UBM simply returns a NACK
handshake to the host PC. If the STALL bit is set to 1 when the data packet is received, the UBM
simply returns a STALL handshake to the host PC. If a CRC or bit stuff error occurs when the data
packet is received, no handshake is returned to the host PC.
NOTE
In double buffer mode for bulk OUT transactions, the UBM selects between the X and Y
buffer based on the value of the toggle bit. If the toggle bit is a 0, the UBM writes the data
packet to the X buffer. If the toggle bit is a 1, the UBM writes the data packet to the Y buffer.
When a data packet is received, the MCU determines which buffer contains the data packet
by reading the toggle bit. However, when using double buffer mode, data packets may be
received and written to both the X and Y buffer before the MCU responds to the endpoint
interrupt. In this case, simply using the toggle bit to determine which buffer contains the data
packet does not work. Hence, in double buffer mode, the MCU reads the X buffer NACK bit,
the Y buffer NACK bit, and the toggle bit to determine the status of the buffers.
2.2.7.3.2 Bulk In Transaction Using MCU
The steps followed for a bulk in transaction are:
1. MCU initializes one of the IN endpoints as an IN bulk endpoint by programming the appropriate USB
endpoint configuration block. 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 setting the NACK bit.
2. The data packet to be sent to the host PC is written to the buffer by the MCU. The MCU also updates
the data count value then clears the NACK bit to a 0 to enable the data packet to be sent to the host
PC.
3. The host PC sends an IN token packet addressed to the IN endpoint. After receiving the IN token, the
UBM transmits the data packet to the host PC. If the data packet is received without errors by the host
PC, an ACK handshake is returned. The UBM then toggles the toggle bit, sets the NACK bit to a 1,
and asserts the endpoint interrupt.
4. The MCU services the interrupt and prepares to send the next data packet to the host PC.
5. If the NACK bit is set to 1 when the in token packet is received, the UBM simply returns a NAK
handshake to the host PC. If the STALL bit is set to 1 when the IN token packet is received, the UBM
simply returns a STALL handshake to the host PC. If no handshake packet is received from the host
PC, the UBM prepares to retransmit the same data packet again.
NOTE
In double buffer mode for bulk IN transactions, the UBM selects between the X and Y buffer
based on the value of the toggle bit. If the toggle bit is a 0, the UBM reads the data packet
from the X buffer. If the toggle bit is a 1, the UBM reads the data packet from the Y buffer.
Copyright
© 2002–2011, Texas Instruments Incorporated
Detailed Description
33
Submit Documentation Feedback
Product Folder Link(s): TAS1020B



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 94 95 96 97 98 99 100  ...More


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