Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

SLES025A Datasheet(PDF) 29 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) 29 Page - Texas Instruments

Back Button SLES025A Datasheet HTML 25Page - Texas Instruments SLES025A Datasheet HTML 26Page - Texas Instruments SLES025A Datasheet HTML 27Page - Texas Instruments SLES025A Datasheet HTML 28Page - Texas Instruments SLES025A Datasheet HTML 29Page - Texas Instruments SLES025A Datasheet HTML 30Page - Texas Instruments SLES025A Datasheet HTML 31Page - Texas Instruments SLES025A Datasheet HTML 32Page - Texas Instruments SLES025A Datasheet HTML 33Page - Texas Instruments Next Button
Zoom Inzoom in Zoom Outzoom out
 29 / 114 page
background image
2–15
3.
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 a CRC or bit stuff error occurs when the data packet is received, then
no handshake is returned to the host PC.
Status Stage Transaction:
1.
For IN endpoint 0, the MCU clears the data count value to zero, sets the TOGGLE bit to 1, and clears the
NACK bit to 0 to enable the data packet to be sent to the host PC. Note that for a status stage transaction
a null data packet with a DATA1 PID is sent to the host PC.
2.
The host PC sends an IN token packet addressed to IN endpoint 0. After receiving the IN token, the UBM
transmits the null data packet to the host PC. If the data packet is received without errors by the host PC,
an ACK handshake is returned. Upon receiving the ACK handshake, the UBM toggles the TOGGLE bit, sets
the NACK bit to 1, and asserts the endpoint interrupt.
3.
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 then the UBM
prepares to retransmit the same data packet again.
2.2.7.1.2 Control Read Transfer (In Transfer)
The host PC uses a control read transfer to read data from the USB function. A control read transfer consists of a
setup stage transaction, at least one in data stage transaction, and an out status stage transaction.
The steps followed for a control read transfer are:
Initialization Stage:
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.
Setup Stage Transaction:
1.
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, the UBM writes the data to the setup data packet buffer, sets the setup
stage transaction (SETUP) bit to a 1 in the USB status register, returns an ACK handshake to the host PC,
and asserts the setup stage transaction interrupt. Note that as long as the setup stage transaction (SETUP)
bit is set to a 1, the UBM returns a NACK handshake for any data stage or status stage transactions
regardless of the endpoint 0 NACK or STALL bit values.
2.
The MCU services the interrupt, reads the setup data packet from the buffer, and decodes the command.
If the command is not supported or is not valid, the MCU sets the STALL bit in the OUT endpoint 0
configuration byte and the IN 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. If the command decoded is valid and is supported, the MCU clears the interrupt, which
automatically clears the setup stage transaction bit. The MCU also sets the TOGGLE bit in the IN endpoint
0 configuration byte to a 1. For control read transfers, the PID used by the host for the first IN data packet
is a DATA1 PID.



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