Loopback Mode; Data Flow In Loopback Mode - NEC uPD98502 User Manual

Network controller
Table of Contents

Advertisement

6.9 Loopback Mode

USB Controller features a built-in loopback function for test purposes.
To enable the loopback function, set the LE bit (Bit 1) of the USB General Mode Register to 1.
Once the loopback function has been activated, USB Controller gets the data from system memory and places it
into the Tx FIFO. The data is returned by the EndPoint Controller. The returned data is written into the Rx FIFO, after
it is returned to system memory.
Transmitting and receiving should be performed using the normal settings. The Tx and Rx indications are issued as
normal.
The internal data flow is as shown below.
As shown in the figure, in loopback mode data reception from the USB and data transmission to the USB are not
performed. All data is returned by the EndPoint Controller.
Following table indicates the Endpoint which is used to transmit data and the Endpoint at which the data will be
received.
EndPoint0 (Control)
EndPoint1 (Isochronous)
EndPoint3 (Bulk)
EndPoint5 (Interrupt)
368
CHAPTER 6 USB CONTROLLER
Figure 6-31. Data Flow in Loopback Mode
T x data
IB US I/F
Controller
T x F IF O
R x F IF O
E P C ontroller
S IE
Tx EndPoint
EndPoint0 (Control)
EndPoint2 (Isochronous)
EndPoint4 (Bulk)
EndPoint6 (Interrupt)
Preliminary User's Manual S15543EJ1V0UM
R x data
Rx EndPoint

Advertisement

Table of Contents
loading

Table of Contents