HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  INDUSTRIES  |  FOCUS ON FUNDAMENTALS
  |  REGISTER  |  LOGIN  |  HELP
Comment
Christian Légaré
User Rank
Blogger
Re: Nov 28 - Day 3: Understanding the USB Protocol
Christian Légaré   11/28/2012 3:06:12 PM
NO RATINGS
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
Researchers working with additive manufacturing have said multimaterial techniques will allow industry “to fabricate materials with combinations of density, strength, and thermal expansion that do not exist [yet].”
A decade from now, firmware development may be nothing more than software integration, grabbing vendor and third-party components, and meshing their APIs together to form a final system.
The term "multiphysics" is used to describe the simulation of multiple types of physics and their influence on one another -- for example, the investigation of the behavior of a chemical in liquid form will involve both chemistry and fluid dynamics.
Tune in to the Continuing Education Center next week for a comprehensive course in using the Raspberry Pi development platform.
Researchers in Australia think new types of plastic materials instead of silicon may be the key to building more efficient solar cells.
More:Blogs|News
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