Christian Légaré
User Rank
Re: Nov 28 - Day 3: Understanding the USB Protocol
Christian Légaré   11/28/2012 3:06:12 PM
Can you achieve a overall sampling rate of 100Hz for up to 32 USB FS devices connected, when the payload is 4 floats per device. Could this be achieve with HID/Joystick type class, or should I go directly with a custom class??


We will have to do the math. First, HID is the right class to use, because it is peioritized by the Host.

(Your 4 floats are 64 bits each? this would mean 32 bytes per transfer)

Second, let's look at the Full Spee table for Interrupt transfer using 32 bytes transfer and see the maximum throughput.


At 100Hz, that would mean once every 10 frames. Or stated otherwise, that would mean you can server 3.2 device per frame and have covers the 32 devices in 10 frames.

Partner Zone
Latest Analysis
The company says it anticipates high-definition video for home security and other uses will be the next mature technology integrated into the IoT domain, hence the introduction of its MatrixCam devkit.
Siemens and Georgia Institute of Technology are partnering to address limitations in the current additive manufacturing design-to-production chain in an applied research project as part of the federally backed America Makes program.
Most of the new 3D printers and 3D printing technologies in this crop are breaking some boundaries, whether it's build volume-per-dollar ratios, multimaterials printing techniques, or new materials types.
Check out these gifts that will make you the hero of your Secret Santa party.
Voting has closed on our 2015 Gadget Freak of the Year contest, but it is not game over yet for two competing projects.
Design News Webinar Series
11/10/2015 11:00 a.m. California / 2:00 p.m. New York
10/29/2015 11:00 a.m. California / 2:00 p.m. New York
10/20/2015 8:00 a.m. California / 11:00 a.m. New York
12/2/2015 11:00 a.m. California / 2:00 p.m. New York
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Jul 6 - 10, Building Raspberry Pi Controllers with Python
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6 |  7

Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

Copyright © 2015 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service