D21 / USB HID latency

Moderator: nferre

Posts: 6
Joined: Mon Nov 30, 2015 12:55 am

D21 / USB HID latency

Sat Aug 06, 2016 6:57 pm


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.

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?


Return to “SAM9-based”

Who is online

Users browsing this forum: No registered users and 5 guests