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

max transfer rate on PIC16C765 via USB

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







max transfer rate on PIC16C765 via USB
PostPosted: Wed May 05, 2004 6:55 am     Reply with quote

Hi,

Does anyone know the maximum trasfer rate between the PIC16C765 and a PC via the USB? Can a transfer rate of 16Kb/sec be achieved, and if not what is the maximum?

Thanks in advance
Kasper



Joined: 14 Jan 2004
Posts: 88
Location: Aurora, Ontario, Canada

View user's profile Send private message Visit poster's website

PostPosted: Wed May 05, 2004 10:10 am     Reply with quote

I suppose that depends on what you do with the data transferred. I have a 18f6620, which I communicate with through a FTDI USB chip @38400bps
I have a 6MHz crystal, which is not liking much higher baud rates without errors.
On my project, the limiting factor is not the serial transfer as much as it is writing the data to an I2C EEPROM.. saving straight to RAM, you should really not run into any problems.. especially at 16Kbit
Darren Rook



Joined: 06 Sep 2003
Posts: 287
Location: Milwaukee, WI

View user's profile Send private message Send e-mail

PostPosted: Wed May 05, 2004 12:22 pm     Reply with quote

PIC16C7x5 can only use slow speed, which means there is 10ms between each transaction. A transaction is one packet. The max packet size for slow speed devices is 8bytes.

So 8bytes every 10ms = 800 bytes a second
Kasper



Joined: 14 Jan 2004
Posts: 88
Location: Aurora, Ontario, Canada

View user's profile Send private message Visit poster's website

PostPosted: Wed May 05, 2004 12:45 pm     Reply with quote

Darren Rook wrote:
PIC16C7x5 can only use slow speed, which means there is 10ms between each transaction. A transaction is one packet. The max packet size for slow speed devices is 8bytes.

So 8bytes every 10ms = 800 bytes a second


My bad.. I was thinking it was a regular PIC Embarassed
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