Cypress Semiconductor FX2LP Technické informace Strana 35

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 460
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 34
Chapter 1. Introducing EZ-USB FX2 Page 1-9
1.10 The Serial Interface Engine (SIE)
Figure 1-6. What the SIE Does
Every USB device has a Serial Interface Engine (SIE) which connects to the USB data lines (D+
and D-) and delivers data to and from the USB device. Figure 1-6 illustrates the SIE’s role: it
decodes the packet PIDs, performs error checking on the data using the transmitted CRC bits, and
delivers payload data to the USB device.
Bulk transfers are asynchronous, meaning that they include a flow control mechanism using ACK
and NAK handshake PIDs. The SIE indicates busy to the host by sending a NAK handshake
packet. When the USB device has successfully transferred the data, it commands the SIE to send
an ACK handshake packet, indicating success. If the SIE encounters an error in the data, it auto-
matically indicates no response instead of supplying a handshake PID. This instructs the host to
retransmit the data at a later time.
To send data to the host, the SIE accepts bytes and control signals from the USB device, formats it
for USB transfer, and sends it over D+ and D-. Because USB uses a self-clocking data format
(NRZI), the SIE also inserts bits at appropriate places in the bit stream to guarantee a certain num-
ber of transitions in the serial data. This is called “bit stuffing,” and is handled automatically by the
FX2’s SIE.
One of the most important features of the FX2 (and the other EZ-USB chips) family is that its con-
figuration is soft. Instead of requiring ROM or other fixed memory, it contains internal program/data
Serial
Interface
Engine
(SIE)
D+
D-
USB
Transceiver
O
U
T
A
D
D
R
E
N
D
P
C
R
C
5
Token Packet
D
A
T
A
1
Payload
Data
C
R
C
1
6
Data Packet
A
C
K
O
U
T
A
D
D
R
E
N
D
P
C
R
C
5
Token Packet
D
A
T
A
0
Payload
Data
C
R
C
1
6
Data Packet
A
C
K
H/S Pkt
Payload
Data
Payload
Data
A
C
K
H/S Pkt
Zobrazit stránku 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 459 460

Komentáře k této Příručce

Žádné komentáře