Quantcast
Channel: Cypress Semiconductor - USB - Known Problems and Solutions
Viewing all articles
Browse latest Browse all 153

FX3 Short Length Packet

$
0
0

Hi,

In my FX3 firmware I am using the CYU3P_USBEP_SLP_EVT Sort Length Packet event to determine the end of the USB transfer.

I am able to do so in USB SS but under USB High Speed the event is not generated and my firmware reports transfer failure.

My firmware also use the ZLP event. This event is generated in USB SS and USB High Speed.

I have tested with the Cypress Control Center tool as well as with my WinUSB interface. The data is transferred but the SLP event is not generated.

I have use the JTAG debugger of the SuperSpeed Explorer Kit and the following function are called :

  • USB High Speed
    • ZLP - API Callback called from CyU3PUibEPEvtHandler (Line 1863)
    • SLP - The JTAG Break point is not reached - CyU3PUibEPEvtHandler (Line 1868)
  • USB Super Speed
    • ZLP - API callback callbed from CyU3PUibProtEpIntrEvtHandler (line 2028 )
    • SLP - API callback callbed from CyU3PUibProtEpIntrEvtHandler (line 2031 )

Under USB High Speed, the SLP interrupt is enabled: DEV_EPO_CS=0x60344A00. The EP interrupt is enabled since I get the ZLP Event.

Regards,
Stan


Viewing all articles
Browse latest Browse all 153

Trending Articles