- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Board : CYUSB3KIT - 003
I'm trying to test my DUT(Device under test) machine with lower packet size then 1024 with the FX3 board and the "USBIntrSourceSink" firmware example.
I want to change the parameters inside the "USBIntrSourceSink" firmware example according to the USB 3.2 Specification limit.
- maximum packet size. (USB 3.2 Specification 4.4.7.1, 9.6.6)
- BURST SIZE.
Inside the "USBIntrSourceSink" example there are
- cyfxintrsrcsink.c
- cyfxintrsrcsink.h
- cyfxintrdscr.c
In "cyfxintrsrcsink.h" I changed the "CY_FX_INTR_BURST_SIZE" param to 1
And inside "cyfxintrsrcsink.c"
I changed size to 8
------------------------------------------
case CY_U3P_SUPER_SPEED:
size = 8;
break;
------------------------------------------
Also inside "cyfxintrdscr.c" in section
/* Standard super speed configuration descriptor */
I change it to
-------------------------------------------------------------------------------------------------------------
0x08,0x00, /* Max packet size = 1024 bytes */
0x08,(0x00 * CY_FX_INTR_BURST_SIZE), /* Bytes per interval : 1024 * burst */
-------------------------------------------------------------------------------------------------------------
the FX3 board don’t pass the enumeration and fail in the Descriptor hand shake.
But when I change the number to 16 in all the files it works And the streamer can test the FX3 board with the interrupt firmware test.
Thanke for your help.
Solved! Go to Solution.
- Labels:
-
USB Superspeed Peripherals
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi EliW,
Maximum endpoint packet size cannot be kept as 8. It is a silicon issue.
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please let me know why you want to reduce the maximum packet size to 8? Please note that such a reduction in max packet size will drop the data rate.
Also, I tested the project by changing the size to 8 and by making the modifications mentioned in the descriptor. I saw that the device was enumerating correctly at my end. Please let me know if I missed anything else while testing at my end.
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I want to reduce the the maximum packet size for automation by testing my host in various packet size.
I know it will drop the data rate, its only for testing And according to USB spec.
**
Also, I tested the project by changing the size to 8 and by making the modifications mentioned in the descriptor. I saw that the device was enumerating correctly at my end. Please let me know if I missed anything else while testing at my end.
***
You focused me on the problem, I should only change the descriptor. Now the enumeration is good!
But it takes me to the next problem.
I'm getting "INTERRUPT IN transfer failed with Error Code:997" error on the "USB Control Center" app.(add pic)
As you can see in the pic, the problem is on the "INTERRUPT IN" end point
On the "INTERRUPT OUT" end point it working fine
Are you getting the same problem as well?
Again, thanks for the help,
EliW.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
can you help me please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The issue is reproducible at our end, we are working on it.
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi EliW,
Could you let us know why is the packet size 8 needed for the interrupt endpoints?
Best Regards,
AliAsgar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello my friend, and thanks for the support!
I'm testing my host\hub as part of compliance testing to see that it know how to handle different pocket size according to usb spec 3.2.
4.4.7.1 Interrupt Transfer Packet Size
Thanks,
EliW.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi EliW,
Maximum endpoint packet size cannot be kept as 8. It is a silicon issue.
Best Regards,
AliAsgar