Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

SLES025A Datasheet(PDF) 37 Page - Texas Instruments

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

SLES025A Datasheet(HTML) 37 Page - Texas Instruments

Back Button SLES025A Datasheet HTML 33Page - Texas Instruments SLES025A Datasheet HTML 34Page - Texas Instruments SLES025A Datasheet HTML 35Page - Texas Instruments SLES025A Datasheet HTML 36Page - Texas Instruments SLES025A Datasheet HTML 37Page - Texas Instruments SLES025A Datasheet HTML 38Page - Texas Instruments SLES025A Datasheet HTML 39Page - Texas Instruments SLES025A Datasheet HTML 40Page - Texas Instruments SLES025A Datasheet HTML 41Page - Texas Instruments Next Button
Zoom Inzoom in Zoom Outzoom out
 37 / 114 page
background image
2–23
chosen, OEPDCNTX or OEPDCNTY, is determined by the LSB of the frame count register USBFNL. An
LSB value of 1 chooses OEPDCNTY; a value of 0 chooses OEPDCNTX. This count value does not play a
role in implementing the data flow for isochronous out transactions, but is provided for and can be accessed
by the MCU. As is discussed in the next section, the counts do play a role in implementing the data flow for
isochronous in transactions.
•
The streaming of audio data via the DMA channel continues indefinitely until the DMA engine is halted by
the MCU.
Circular Buffer Operation for Isochronous IN Transactions
For isochronous out transactions, the handshake implemented between the USB bus and the output device ensures
that at each USB SOF event, the output has access to a complete USB frame of data. For isochronous in transactions,
the mirror condition must be true: the handshake implemented between the USB bus and the input device must
ensure that at each USB SOF event, the UBM has access to one or more complete frames of device data.
Isochronous out transactions also ensure, by definition, that a complete USB frame of data is transmitted between
USB SOF events. But the mirror condition here is not true, there may not be an integer number of device frames
received between USB SOF events.
If, at each USB SOF event, the UBM is to have access to one or more complete frames of data from the input device,
the latest codec frame available to the UBM has to have completed prior to the USB SOF event. But it is not known
when the last input device frame to complete prior to the USB SOF event occurs. Thus a timing mark must be set
up to mark the worse case arrival time of the last complete input device frame prior to the USB SOF event. The slowest
sampling rate supported for an input device is set at 8 kHz (8 kHz audio sampling). At 8 kHz, a frame arrives from
the input device every 0.125 milliseconds, which is 1500 12 MHz USB clock periods. Thus a time mark can be set
to occur 1500 clock periods before the next USB SOF event. When this time mark occurs, the DMA completes the
current input device frame, if a frame is currently being received, and then sets a handshake flag. The DMA also
updates the content of register IEPDCNTX/Y with the total number of samples collected since the previous
handshake flag was set. When the USB SOF event occurs, the UBM looks at the flag to see if data is available. If
data is available, the UBM refers to the count in the register to determine how much data is to be output on the next
isochronous in transaction.
To accommodate variations in the number of clocks at the output of the soft PLL, with respect to the incoming 12 MHz
USB data rate, the time mark count is actually set to 1511, rather than 1500. The extra 11 clock periods assures that
the last frame prior to the USB SOF event will have completed. The flag used is the NACK bit in the IEPDCNTX/Y
register, and the data count is the 7-bit DCNTX/Y field in the same register. For isochronous in transactions, the
register chosen, IEPDCNTX or IEPDCNTY, is also determined by the LSB of the frame count register USBFNL. But
in the case of isochronous in transactions, an LSB value of 1 chooses IEPDCNTX and a value of 0 chooses
IEPDCNTY. The selection logic for isochronous in transactions then is the reverse of that used for isochronous out
transactions.
The operation of the circular buffer for isochronous in transactions is as follows.
•
Initially, the read and write pointers are set in hardware to the IN endpoint start address. At the same time
the NACK flags in the IEPDCNTX and IEPDCNTY registers are set to logic 1 and the DCNTX and DCNTY
counts are cleared.
•
As the input device frames are received, they are stored in the circular buffer by the DMA engine. As each
byte is stored in the buffer, the DMA engine updates the write pointer by one count, and also keeps count
of the number of samples being stored.
•
When the time mark occurs, marking that there are 1511 USB clock periods remaining until the next USB
SOF event occurs, the DMA engine awaits the completion of the current incoming input device frame (if one
is currently being received). When the incoming input device frame completes, the DMA engine sets the
NACK flag in IEPDCNTX/Y to logic 0 and loads the number of samples received into the DCNTX/Y field
of IEPDCNTX/Y.
•
At this time, the DMA engine zeroes its running count of data samples and awaits the next input device
frame. For the DMA engine, the process repeats, and at the next time mark, the DMA engine sets the NACK
flag in IEPDCNTX/Y to logic 0 and loads the number of samples received into the DCNTX/Y field of
IEPDCNTXY.



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