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
When you think of the DARPA Robotics Challenge, you may imagine complex humanoid contraptions made of metal and wires that move like a Terminator Series T-90. But what actually happened at the much-vaunted event was something just a bit different.
The machine is claimed to be the largest and most powerful electric pipe-bender on the market, exerting nearly 500,000 lb-ft of torque.
Traditional dev kits are based on a manufacturer’s microcontroller, radio module, or sensor device. The idea is to aid the design engineer in developing his or her own IoT prototype as quickly as possible. A not-so-traditional IoT development kit released by Bosch aims to simplify IoT prototyping even further.
This consulting firm has put together a report detailing the growing biomimicry design field in the US and around the world, from naturally bacteria-repelling surfaces to keratin-inspired polymers.
Here's a list of engineering and tech jobs ranked by outlook, work environment, stress, and income.
More:Blogs|News
Design News Webinar Series
1/28/2016 11:00 a.m. California / 2:00 p.m. New York
12/8/2015 11:00 a.m. California / 2:00 p.m. New York
2/18/2016 11:00 AM PT | 2:00 PM ET
2/24/2016 11:00 AM PT | 2:00 PM ET
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Jan 11 - 15, Designing ARM Devices Using Segger Tools
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6 |  7 | 8 | 9


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 © 2016 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service