Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button 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 TAS1020 Datasheet HTML 33Page - Texas Instruments TAS1020 Datasheet HTML 34Page - Texas Instruments Next Button
Zoom Inzoom in Zoom Outzoom out
 30 / 93 page
background image
2–16
–
If UBM write pointer overtakes the DMA read pointer, UBM sets the buffer overflow (OVF) bit in the ISO
endpoint configuration register.
–
UBM write pointer is reset to the buffer starting address once DMA is disabled.
DMA Operation
•
DMA must be enabled before getting any ISO packets from the Host. Typically, MCU enables the DMA
before playing audio to the device.
–
After DMA is enabled, it reads the DMA channel control register to get the endpoint number and
direction.
–
Based on the endpoint number, it reads the endpoint configuration register. If it is ISO endpoint, it works
as follows.
–
DMA reads the OEPBBAXn, OEPBSIZn registers to determine the buffer starting address and buffer
size.
–
DMA reads the C-port registers to understand the C-port mode.
–
DMA reads the DMA time slot assignment registers.
–
DMA, for the first time, keeps monitoring the OEPDCNTXn or OEPDCNTYn register to see if an ISO
OUT packet is received. Once a new ISO OUT packet is received, DMA waits for next SOF/PSOF
signaling and goes to the next step.
–
DMA starts with the read pointer equal to the buffer starting address. Once an ISO OUT packet is
received, the UBM pointer is incremented very fast as the ISO OUT is packet is received at 12 Mb/sec.
–
DMA starts reading the samples out of the buffer and sends to the C-port till it catches up with the UBM
pointer.
–
Each time DMA receives SOF/PSOF signaling, it completes streaming the current sample, and
calculates the buffer content based on UBM write pointer and DMA read pointer. Buffer content is in
number of bytes. This buffer size is written into DmaBCnt0/DMABCnt1 registers.
NOTE: In AC97 mode, if buffer under-run happens, DMA should send this information to the
C-port to clear the tag bits for the corresponding slots to indicate that the data in those codec
frames is invalid. For I2S, AIC, GP modes, it must send zeros. C-port logic sends zeros if DMA
does not stream anything to the C-port for a codec frame.
2.2.7.4.2 ISO IN
The serial data coming from the codec/DSP is received by the C-Port. DMA moves the bytes from C-Port holding
registers into the buffer and updates the endpoint data count registers. UBM packetizes the data and sends the
packets to host when it receives an ISO IN request. MCU has to program the endpoint configuration registers, DMA
and C-Port. The following section explains how DMA and UBM works.
UBM Operation
•
After ISO IN token is received, UBM reads the endpoint configuration register if the endpoint is enabled.
If not enabled, it ignores the IN request.
•
UBM reads the IEPBBAXn, IEPBSIZXn registers to get the circular buffer starting address and buffer size
and calculates the buffer maximum address.
•
UBM reads IEPDCNTXn or IEPDCNTYn depending on the LSB of the frame counter register to determine
how many samples (bytes) need to be transferred to the host.
•
UBM initializes the read pointer to one of the 11-bit pointers from DMA(depending on the LSB of frame
counter) to start reading the samples out of the buffer. If the address reaches buffer maximum address UBM
rewinds the read pointer to the buffer starting address.



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