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 CCS Technical Support

PICs with internal USB

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



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

View user's profile Send private message

PICs with internal USB
PostPosted: Mon Aug 03, 2020 4:27 pm     Reply with quote

Looking to get 'real world' numbers on how fast a PIC can be using the internal USB port for serial communications.
Current project (5 axis CNC) is maxed out at 1 megabaud (PIC32 series) and it's too slow. 6th axis is being added as well.....sigh MORE data...
Any comments for those as to what speed I should be able to reliably get ? Maybe 10-12' of USB cabling.

thanks
Jay
Ttelmah



Joined: 11 Mar 2010
Posts: 19520

View user's profile Send private message

PostPosted: Mon Aug 03, 2020 11:06 pm     Reply with quote

The maximum for CDC, is 64KB/sec 6553600 bits per second.
The standard driver manages to get really close to this.
One 64byte packet every mSec.

The baud rate makes no difference. This is the USB layer handling of
such devices. Any actual USB serial that functions above this has to use
custom USB drivers, not the standard Windows implementation.
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