CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

USB SOF doubt

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
xxopiumxx



Joined: 01 Jul 2011
Posts: 20

View user's profile Send private message

USB SOF doubt
PostPosted: Mon May 28, 2012 11:19 am     Reply with quote

greetings,

I have reading upside down the entire usb.c pic18_usb.c etc etc etc libraries, but I cannot find any code relating to the SOF token. As I know, it must be sent every 1ms (in full speed) in order to prevent a suspended mode entering.
Of course it is being sent, otherwise my program wouldn't work at all, but as curious as I am, I wanted to know if you can give me a tip about this.

Thanks for advance.
temtronic



Joined: 01 Jul 2010
Posts: 9161
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Mon May 28, 2012 1:19 pm     Reply with quote

If you really,really NEED to know about it, I suggest Jan's bible on USB. Somewhere in the 500-600 pages of dull,dreary reading you'll come across it....
As for the CCS drivers,again, just read the code, line by line, it's there if it needs to be...

Frankly I've got better things to do than dive into the workings of the Useless Serial Bus.
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Mon May 28, 2012 2:35 pm     Reply with quote

You find the basic information even in the USB chapter of the PIC18 datasheet. SOF is send from host to device. The device don't answer the SOF, only succeeding explicite commands, if any.
xxopiumxx



Joined: 01 Jul 2011
Posts: 20

View user's profile Send private message

PostPosted: Tue May 29, 2012 6:12 am     Reply with quote

thanks, pals
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group