D21 / USB HID latency

Moderator: nferre

rubear
Posts: 5
Joined: Mon Nov 30, 2015 12:55 am

D21 / USB HID latency

Sat Aug 06, 2016 6:57 pm

HI,

I am communicating with the D21 via USB. I used the ASF Wizard hid_generic driver.
My Windows C# app sends a packet, the D21 sends an ack. The ack is delayed by 8ms. How can I shorten this?
I've look everywhere and cannot find the source of this delay.

Update:
I tried sending 64 byte USB packets with out a software layer ack, just using the underlying HID protocol for flow control.
The time to write a 64 byte packet is about 3 ms. Has anyone tested Atmel's HID solution and have any ideas?

Thanks,
-Robert

Return to “SAM9-based”

Who is online

Users browsing this forum: Google [Bot] and 3 guests