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

X  

UPSD3422 Datasheet(PDF) 152 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) 152 Page - STMicroelectronics

Back Button UPSD3422 Datasheet HTML 148Page - STMicroelectronics UPSD3422 Datasheet HTML 149Page - STMicroelectronics UPSD3422 Datasheet HTML 150Page - STMicroelectronics UPSD3422 Datasheet HTML 151Page - STMicroelectronics UPSD3422 Datasheet HTML 152Page - STMicroelectronics UPSD3422 Datasheet HTML 153Page - STMicroelectronics UPSD3422 Datasheet HTML 154Page - STMicroelectronics UPSD3422 Datasheet HTML 155Page - STMicroelectronics UPSD3422 Datasheet HTML 156Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 152 / 293 page
background image
USB interface
uPSD34xx
152/293
Figure 55.
FIFO pairing example (1/2 IN paired and 3/4 OUT paired)
25.3.4
Reading and writing FIFOs
There are a total of ten 64-byte FIFOs. Each of the five Endpoints has two FIFOs, one IN
FIFO for IN transactions and one OUT FIFO for OUT transactions. The FIFOs are
accessible by the CPU through a 64-byte segment in the XDATA space when the VISIBLE
Bit is set (see Table 80 on page 163). If the VISIBLE Bit is not set, the FIFOs are not
accessible by the CPU but are still accessible by the SIE. The base address of the 64-byte
segment is specified by the USB Base Address High Register (see Table 85 on page 168)
and the USB Base Address Low Register (see Table 86 on page 168). When the VISIBLE
Bit is set, the FIFO that is accessible in the 64-byte XDATA space segment is the FIFO
selected by the USEL register. The USEL register contains two fields used for selecting the
accessible FIFO. The EP field determines the Endpoint selected and the DIR Bit selects the
IN or OUT FIFO associated with the Endpoint.
25.3.5
Accessing FIFO control registers, UCON, and USIZE
Each of the 10 Endpoint FIFOs has an associated USB Endpoint Control Register (UCON,
0F1H) and a USB FIFO Valid Size Register (USIZE, 0F2H). The USB Endpoint Select
Register (USEL) is not only used to select the Endpoint FIFO that is accessible in the
XDATA space, but also selects the associated Endpoint’s UCON and USIZE registers that
are accessible at SFR addresses 0F1H and 0F2H.
25.3.6
Accessing the setup command buffer
Setup Packets are sent from the host to a device’s Endpoint0 and consist of 8 bytes of
command data. When the SIE receives a Setup packet from the host, it stores the 8 bytes of
data in the Command Buffer. The command buffer is accessed via the indexed USB Setup
8032
MCU
USB SFRs
Serial
Interface
Engine
CTRL
XDATA
S
F
R
B
u
s
AI10494
Endpoint4 IN FIFO
Endpoint3 IN FIFO
Endpoint2 IN FIFO
P
a
i
r
e
d
P
a
i
r
e
d
Endpoint1 IN FIFO
Endpoint0 IN FIFO
Endpoint0 OUT FIFO
Endpoint1 OUT FIFO
Endpoint2 OUT FIFO
FIFO
Interface
Logic
Endpoint4
Endpoint3
Endpoint2
(not available)
Endpoint2
(not available)
Endpoint1
Endpoint0
Endpoint4
Endpoint3
Endpoint1
Endpoint0
Endpoint0
Endpoint1
Endpoint2
Endpoint3
Endpoint0
Endpoint1
Endpoint2
Endpoint3
Endpoint4
(not available)
Endpoint4
(not available)
Endpoint3 OUT FIFO
P
a
i
r
e
d
P
a
i
r
e
d
Endpoint4 OUT 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