Ports
May 24, 2013, 06:22:25 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: SMF - Just Installed!
 
   Home   Help Search Login Register  
Welcome to the PORTS Forum. Please post your questions, answers, and comments relating to USB and other hardware interfaces in the appropriate forums below. - Jan
Pages: [1]
  Print  
Author Topic: USB isochronous high bandwidth transfers  (Read 1810 times)
ulrich.sorensen
Member
*
Posts: 2


« on: March 07, 2011, 10:07:44 am »

Hi,

I need to know if my USB host stack is working right (I have not written it myself).

The case is that I am reading from a device (webcam) with an IN endpoint with max packet sixe of 3072 bytes. On my analyzer I can see SOFs generated every 125us but an IN transaction is not generated for every SOF (see attachment).

Isn't that an error? I would expect an IN transaction after every SOF.

Best Regards,
Ulrich
Logged
Jan Axelson
Administrator
Frequent Contributor
*****
Posts: 1629


WWW
« Reply #1 on: March 07, 2011, 10:30:37 am »

What is the endpoint's bInterval?

Jan
Logged
ulrich.sorensen
Member
*
Posts: 2


« Reply #2 on: March 07, 2011, 11:19:21 am »

0x01 = 125 us

Best Regards,
Ulrich
« Last Edit: March 07, 2011, 11:21:44 am by ulrich.sorensen » Logged
Jan Axelson
Administrator
Frequent Contributor
*****
Posts: 1629


WWW
« Reply #3 on: March 07, 2011, 12:12:44 pm »

The endpoint has requested a transaction every microframe.

A transfer can consist of multiple transactions.

The host should be able to provide the requested bandwidth (IN packets) for the transactions within a transfer.

There might be delays between the end of one transfer and the host's scheduling the next one. I don't know if that's what you're seeing.

Jan
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!