- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When 1 packet size is changed to 16 Kbytes and data is transferred from FPGA to PC, flag_a will remain low when completing one packet transfer of 16 Kbytes.
If USB3 HUB is inserted between FPGA and PC, Bulk in transfer can be done normally.
What's wrong?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Taku Sato-san,
- When VBUS and VBATT are connected simultaneously, FX3 by default uses the VBUS supply. In this case, the configuration can be described as BUS POWERED.
- Please let me know if you had tested using the Cypress Control Center.
- Share the firmware project file that you are using.
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
- Please let know if you are using any Cypress App Note examples.
- Also, please let know if you mean to say that just adding USB3 HUB in between the PC and the FX3-FPGA has solved your issues.
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am using AN65974 of Cypress App Note.
I would like to work without USB3 HUB.
But, if there is not USB3 HUB between the PC and the FX3-FPGA, PC can’t receive the data from the FX3.
FX3 can receive the data from FPGA and DMA buffer of FX3 becomes full.
Then FPGA receives flag_a is low.
PC outputs queue for request of data, but FX3 does not output the data to PC.
If there is USB3 HUB between the PC and the FX3-FPGA, FX3 outputs the data to PC.
Please tell me why this problem is happen.
Best regards.
Taku
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
- Please share the UART logs during the failure if possible.
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Taku-san,
- Kindly, let me know if you are using Cypress provided kits or your custom board.
- Also, mention if there are any changes made to the AN65974 example firmware.
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Srinath
I am using my custom board.
There are three changes made to the AN65974 example firmware.
1. Comment out LOOPBACK_SHRT_ZLP
//#define LOOPBACK_SHRT_ZLP
1. Except for comment out
/* set up DMA channel for stream IN/OUT transfers */
#define STREAM_IN_OUT
1. Comment out MANUAL
/* set up MANUAL DMA channel for stream IN/OUT transfers */
//#define MANUAL
Best regards,
Taku
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Taku-san,
The PC_Logs.zip file that you have shared does not have any differences in the two files. Both the logs indicate failure. Can you please recheck and confirm this?
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Taku-san,
Please provide me with the USB traces captured on the bus using a protocol analyzer like LeCroy. In case you do not have access to hardware analyzers, you can use software protocol analyzers like USBLyzer
Download USBlyzer, USB Sniffer and Data Analyzer Software
Capture the traces during success as well as failure and share the same.
Also, mention the OS, host application and the driver that is used.
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Taku-san,
- Can you please let me know what host controller you are using? Kindly, try it out on a Intel host controller based PC and let me know the result.
- Also, let me know about the frequency of occurrence of the issue. Is it persistent or does it happen occasionally?
- In the host application, please retrieve the error code returned on the XferData() (or) Begin/Wait/FinishDataXfer() API and let me know the same.
- If possible, please test the setup using the Cypress provided USB Control Center and let me know the findings.
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Srinath-san,
The issue is always happened.
I am using intel usb 3.0 extensible host controller.
I have a question.
I am using external 5V to VBUS of fx3 in my fx3 controller board.
When VBUS of USB connector is detected, external 5V is supply to VBUS of fx3.
Also, I am using external 3.3V to VBATT of fx3 in my fx3 controller board.
For details, please refer to attached document.
Is there problem for power supply?
Configuration descriptor of fx3 is selected to bus powered.
Is this setting ok?
Shall I have to select self powered ?
Best regards,
Taku
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Taku Sato-san,
- When VBUS and VBATT are connected simultaneously, FX3 by default uses the VBUS supply. In this case, the configuration can be described as BUS POWERED.
- Please let me know if you had tested using the Cypress Control Center.
- Share the firmware project file that you are using.
Best regards,
Srinath S