Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Losing half of the bandwidth when receiving data by hid set-report transfer. #2608

Open
1 task
neil-kerman opened this issue Apr 24, 2024 · 2 comments
Open
1 task
Labels

Comments

@neil-kerman
Copy link

neil-kerman commented Apr 24, 2024

Operating System

Windows 10

Board

LicheePi Nano (Allwinner f1c100s)

Firmware

portable/sunxi/dcd_sunxi_musb.c

OS: ucos2

What happened ?

Losing half of bandwidth. Half of the packets wouldn't trigger interrupts.

Interrupt would be triggered by packet n, but wouldn't triggered by packet n+1.

How to reproduce ?

Receive data by hid set-report.

Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)

tusb.log

Screenshots

ss

I have checked existing issues, dicussion and documentation

  • I confirm I have checked existing issues, dicussion and documentation.
@neil-kerman
Copy link
Author

It would uses two polling phases for transfering single packet:
ss1

@neil-kerman
Copy link
Author

neil-kerman commented Apr 24, 2024

Here is my endpoint descriptor for ep2:
ss2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant