Electronic Components Datasheet Search
  English  ▼

X  

TAS1020 Datasheet(PDF) 28 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) 28 Page - Texas Instruments

Back Button TAS1020 Datasheet HTML 24Page - Texas Instruments TAS1020 Datasheet HTML 25Page - Texas Instruments TAS1020 Datasheet HTML 26Page - Texas Instruments TAS1020 Datasheet HTML 27Page - Texas Instruments TAS1020 Datasheet HTML 28Page - Texas Instruments TAS1020 Datasheet HTML 29Page - Texas Instruments TAS1020 Datasheet HTML 30Page - Texas Instruments TAS1020 Datasheet HTML 31Page - Texas Instruments TAS1020 Datasheet HTML 32Page - Texas Instruments Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 93 page
background image
2–14
2.2.7.3.2 Bulk In Transaction Using MCU
The steps to be followed for a bulk in transaction are as follows:
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, then
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 a 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 a 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, then 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
to the X buffer. If the toggle bit is a 1, the UBM reads the data packet to the Y buffer.
2.2.7.3.3 Bulk Out Transaction Through DMA
This transaction is used for mass storage class USB applications to move bulk data through DMA to C-Port. C-Port
can be programmed in General Purpose mode or AC97 mode. When in general purpose mode, SYNC is disabled
when no data is there to send out. In the AC97 mode, Tag fields are de-asserted when no valid data is in the buffer
to be sent out.
A sample for the Bulk Out transaction is the number of bytes to be transferred in a codec frame.
Two modes of transfer are possible. The first one is the software handshake mode using MCU and external controller
(DSP) and the second one is no handshake mode where MCU intervention is less for higher rates of transfer.
Software Handshake Using MCU and External Controller (DSP)
The following steps explain the operation:
1.
hsken (Handshake enable) bit in DMA channel control definition register = 1.
2.
UBM after receiving BULK packet, it puts it into the buffer, sets the NACK bit and the data count in the data
count register, and generates an interrupt to the MCU.
3.
MCU after receiving interrupt can decide to use DMA to send the packet to C-Port.
4.
MCU decides how many BULK OUT packets need to be handled by DMA without MCU intervention. MCU
writes this value (16-bit) to DMAPCNT1, MDMAPCNT0 registers.
5.
MCU configures the C-Port to be in AC97/GP modes. If C-Port is used as GP mode, then MCU must set
the CptBlk bit in GLOBCTRL register.
6.
Then, MCU enables the DMA.
7.
DMA then transfers data through the C-Port and once it finishes the number of packets programmed by
MCU, it disables itself and then generates DMA0 or DMA1 interrupt to MCU.
8.
MCU after receiving DMA interrupt will know that the DMAPCNT packets are sent out to the C-Port and
takes control again.



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