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 CDC

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



Joined: 18 Nov 2008
Posts: 278
Location: Athens, Greece.

View user's profile Send private message

USB CDC
PostPosted: Fri Mar 04, 2011 9:30 pm     Reply with quote

Hello,

I understand that when you use CDC virtual com port you can send/receive one byte each time. Is this true?
Is there a buffer that I can fill and then send it out? If yes, what is it's size?
If no, is there any other method for sending/receiving faster data though the USB port?
Thanks,

George.
Yaniv



Joined: 09 Mar 2011
Posts: 6

View user's profile Send private message

PostPosted: Wed Mar 09, 2011 9:39 am     Reply with quote

Hello George,

When sending data to the PC you can fill the Tx buffer and then send it to the PC. When receiving data from the PC sometimes you get one byte at a time but sometimes you get more. I think it depends on the UART baud rate.
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