Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

UPSD3422 Datasheet(PDF) 166 Page - STMicroelectronics

Part # UPSD3422
Description  Turbo Plus Series Fast Turbo 8032 MCU with USB and Programmable Logic
PDF  293 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UPSD3422 Datasheet(HTML) 166 Page - STMicroelectronics

Back Button UPSD3422 Datasheet HTML 162Page - STMicroelectronics UPSD3422 Datasheet HTML 163Page - STMicroelectronics UPSD3422 Datasheet HTML 164Page - STMicroelectronics UPSD3422 Datasheet HTML 165Page - STMicroelectronics UPSD3422 Datasheet HTML 166Page - STMicroelectronics UPSD3422 Datasheet HTML 167Page - STMicroelectronics UPSD3422 Datasheet HTML 168Page - STMicroelectronics UPSD3422 Datasheet HTML 169Page - STMicroelectronics UPSD3422 Datasheet HTML 170Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 166 / 293 page
background image
USB interface
uPSD34xx
166/293
●
USB Endpoint Control Register (UCON)
The Endpoint selected by the USB Endpoint Select Register (see Table 82 on
page 165) determines the direction and FIFO (IN or OUT) that is controlled by the USB
Endpoint Control Register (see Table 83). The USB Endpoint Control Register is used
to control the selected Endpoint and provides some status about that Endpoint.
Table 83.
USB Endpoint Control Register (UCON 0F1h, Reset Value 08h)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
–
–
–
–
Enable
STALL
TOGGLE
BSY
Bit
Symbol
R/W
Definition
7
–
–
Reserved
6
–
–
Reserved
5
–
–
Reserved
4
–
–
Reserved
3
ENABLE
R/W
Selected FIFO Enable Bit.
Note: All FIFOs for each endpoint is enabled after a reset.
2STALL
R/W
Stall Control Bit
When this bit is set, the Endpoint returns a STALL handshake whenever
it receives an IN or OUT token.
1
TOGGLE
R
Data Toggle Bit
– Endpoint IN Case
The state of this bit determines the type of data packet (0=DATA0 or
1=DATA1) that will be sent during the next IN transaction. This bit is
managed by the USB SIE. It is only toggled when an ACK is properly
received during the IN transaction. In some cases it may be necessary
for firmware to clear this bit. In this case, see the Important Notes
section at the end of this data sheet.
– Endpoint OUT Case
The state of this bit indicates the type of data packet PID that the USB
SIE expects to receive with the next OUT transaction (0=DATA0,
1=DATA1). If the Data Toggle for the next OUT transaction received is
not as expected, the USB SIE assumes the host is retransmitting the
last packet. In this case, an ACK is sent but no interrupt is generated
since the original transmission of the packet was OK. This bit is
managed by the USB SIE. It is only toggled when an OUT packet is
properly received. In some cases it may be necessary for firmware to
clear this bit. In this case, see the Important Notes section at the end of
this data sheet.
Important notes:
1. Disabling and enabling the USB SIE using the USBEN bit the UCTL
register clears the TOGGLE bit for both directions of all endpoints.
2. Revision A silicon: See the Important Notes section at the end of the
data sheet that explains the workaround for clearing this data toggle bit.
3. Revision B silicon: Disabling and Enabling the selected FIFO using
the ENABLE bit in this register clears the data toggle bit for the selected
endpoint's FIFO.



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