Detection Of Errors On Usb; Usb Timing Errors - NEC uPD98502 User Manual

Network controller
Table of Contents

Advertisement

6.6.7 Detection of errors on USB

USB Controller has some functions which detect some errors on the USB.
Errors shown in figure below are related to Isochronous EndPoint and SOF packet.
SOF
Correct
ISO.
SOF
Loss of
Data
ISO.
SOF
Loss of
SOF
ISO.
SOF
Extra
Data
ISO.
SOF
Extra
SOF
ISO.
(1) If "Loss of Data" error has occurred, EP2ND bit (Bit 5) in USB General Status Register 2 will be set. The other
action of USB Controller for this error is explained in next section (Section 6.6.8).
(2) If "Loss of SOF" error has occurred, SL bit (Bit 0) in USB General Status Register 2 will be set.
In this case, USB Controller only reflect the error to USB General Status Register.
(3) If "Extra Data" error has occurred, EP2ED bit (Bit 6) in USB General Status Register 2 will be set.
In this case, USB Controller only reflect the error to USB General Status Register.
(4) If "Extra SOF" error has occurred, ES bit (Bit 1) in USB General Status Register 2 will be set.
In this case, USB Controller only reflect the error to USB General Status Register.
USB Controller can detect the other Error listed below.
• Isochronous data oversize error:
• Incorrect EndPoint Number:
• No data in EndPoint1 Tx FIFO:
358
CHAPTER 6 USB CONTROLLER
Figure 6-24. USB Timing Errors
If received data packet size is over Max Packet Size of
EndPoint2, USB Controller will set EP2OS bit (Bit 7) in USB
General Status Register 2.
If received IN/OUT TOKEN packet includes the EndPoint
Number which is not enabled by V
USB Controller will set IEA bit (Bit 19) in USB General Status
Register 2.
If IN TOKEN packet for EndPoint2 comes when Tx FIFO for
EndPoint2 is not ready, USB Controller will not transmit any
Preliminary User's Manual S15543EJ1V0UM
Error
Error
Error
Error
4120A or which is over 7,
R

Advertisement

Table of Contents
loading

Table of Contents