Cypress EZ-USB Series 2100 User's Guide Page 227

  • Download
  • Add to my manuals
  • Print
  • Page
    / 239
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 226
Bulk Transfers with the EZ-USB SX2™ Connected
to an Intel
XScale™ DMA Interface
3
Connection Diagram
Figure 1 shows the complete set of signal connections
between the SX2 and the XScale device. The SX2 READY
signal can be connected to the XScale RDY signal. This will
allow throttling of consecutive command writes without
firmware having to detect the READY signal returning high.
An alternative method would be to connect the SX2 READY
signal to an XScale GPIO pin (programmed to trigger an
interrupt on the rising edge). The INT signal should be
connected to a GPIO pin (programmed to trigger an interrupt
on the falling edge) on the XScale to ensure timely reading of
either the interrupt status or the requested register data value.
The SX2 FIFOADR[2:0] pins are connected to address lines
MA[N], MA[N-1], MA[N-2] for DMA memory addressing for
sourcing or sinking the SX2 endpoint data. The SX2 chip
select (CS# function of Flag D) can also be used to localize
addressing of the SX2 on a common address bus.
In this scheme the SX2 slave output enable (SLOE) and slave
read (SLRD) signals are tied together and driven by the single
XScale read (nOE) signal which the XScale DMA drives
during read burst operations.
SX2 write operations require a single slave write (SLWR)
signal and are driven by the single XScale Write (nPWE)
signal, which the XScale DMA drives during write burst opera-
tions.
Data is read from or written to the SX2 in either 8-bit or 16-bit
operations. When programmed for 8-bit data operations, then
of the 16 total data lines, only the FD [7:0] pins are required
for all command, status, and data operations. When
programmed for 16-bit operations (as this example shows),
the second byte in a 16-bit data word is carried on the upper
data pins (FD [15:8]). The first byte corresponds to the least
significant byte (LSB) of a word and the second byte corre-
sponds to the most significant byte (MSB) of a word.
command and status operations are always 8-bit.
The SX2 Flag B is connected to the XScale DMA Request
(DREQ0) signal for the DMA channel. The currently
programmed SX2 endpoint FIFO Flag B is used for throttling
the DMA request flow.
Figure 1. SX2 to XScale Interconnect Diagram
CYPRESS SX2
(CY7C68001)
IFCLK
INT
READY
FLAG B
CS#
SLOE
SLRD
SLWR
PKTEND
FD[ 7:0]
FD[15:8]
FIFOADR[0]
FIFOADR[1]
FIFOADR[2]
Intel XScale
PXA255
I/O
MEMCLK
GPIOx (INT)
RDY
DREQ0
nCS1
nOE
nPWE
MD[ 7:0]
MD[15:8]
MA[N-2]
MA[N-1]
MA[N]
16-Bit Data Byte1 / 8-Bit Data /
Command/Status Bytes
OUT Endpoint2 Empty /
IN Endpoint6 Full
Read/Interrupt Status Ready
Command/Status Select
Command Select Ready
SX2 Chip Select
Read Output Enable
Read Access
Write Access
Pull Up
16-Bit Data Byte2
FIFO 2468 Select1
FIFO 2468 Select2
USB D+/D-
USB VBUS
USBD+
USBD-
Page view 226
1 2 ... 222 223 224 225 226 227 228 229 230 231 232 ... 238 239

Comments to this Manuals

No comments