SEARCH
TOOLBOX
LANGUAGES
Register    Login    Forum    Search    FAQ

Board index » Electronics Projects » PIC18F USB development




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: PIC18F USB Device respond time
 Post Posted: Wed Mar 07, 2012 7:15 pm 
Offline

Joined: Wed Nov 23, 2011 4:37 am
Posts: 4
hello Simon, i would like to ask is it any way to test the PIC18F USB Device respond time, i mean the time taken of PC send a command to the device until the device respond to the command and send data back to PC.


Top 
 Profile  
 
 Post subject: Re: PIC18F USB Device respond time
 Post Posted: Wed Mar 07, 2012 7:47 pm 
Offline

Joined: Thu Apr 01, 2010 6:23 am
Posts: 898
The easiest way is probably to set up a timer in the host C# software, perform a command and then display the timer result. If you do it over 100 commands or so then it should give you a good average.


Top 
 Profile  
 
 Post subject: Re: PIC18F USB Device respond time
 Post Posted: Thu Mar 08, 2012 7:23 pm 
Offline

Joined: Wed Nov 23, 2011 4:37 am
Posts: 4
thank you for reply Simon. Beside set up a timer in C#, do you know is it any software to test the respond time with plotting graph function?


Top 
 Profile  
 
 Post subject: Re: PIC18F USB Device respond time
 Post Posted: Thu Mar 08, 2012 7:59 pm 
Offline

Joined: Thu Apr 01, 2010 6:23 am
Posts: 898
I don't know of any, however I believe wireshark can perform some USB logging. It may be possible to dump the USB communication using wireshark and then get the timing intervals from the output?


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 4 posts ] 

Board index » Electronics Projects » PIC18F USB development


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Translated by MaĆ«l Soucaze © 2009 phpBB.fr