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 in Canada have developed a chin strap that harvests energy from chewing and can potentially power a digital earplug that can provide both protection and communication capabilities.
In case you haven't heard, the deadline to enter the 2014 Golden Mousetrap Awards is coming up fast – Oct. 28! Have you entered yet?
Made by Monkeys highlights products that somehow slipped by the QC cops.
A Tokyo company, Miraisens Inc., has unveiled a device that allows users to move virtual 3D objects around and "feel" them via a vibration sensor. The device has many applications within the gaming, medical, and 3D-printing industries.
In the last few years, use of CFD in building design has increased manifolds. Computational fluid dynamics is effective in analyzing the flow and thermal properties of air within spaces. It can be used in buildings to find the best measures for comfortable temperature at low energy use.
More:Blogs|News
Design News Webinar Series
9/25/2014 11:00 a.m. California / 2:00 p.m. New York
9/10/2014 11:00 a.m. California / 2:00 p.m. New York
7/23/2014 11:00 a.m. California / 2:00 p.m. New York
7/17/2014 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.
Oct 20 - 24, How to Design & Build an Embedded Web Server: An Embedded TCP/IP Tutorial
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6


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.
Next Class: October 1 - 30
Sponsored by Gates Corporation
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

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