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

PIC18F4550 as USB to Serial Converter

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



Joined: 08 Dec 2009
Posts: 11

View user's profile Send private message

PIC18F4550 as USB to Serial Converter
PostPosted: Mon May 17, 2010 3:52 pm     Reply with quote

Does anyone have example code for using a PIC as a USB to Serial converter?

I have a device that talks via RS232 and another via USB CDC Virtual Coms. I need to have them talk to each other and since I am already using the PIC18F4550 for another part of my project I figured I would just use it as a serial converter as well. I'm not sure how to code it though.

I have communication working for both USB and Serial but I am not sure how to pass the data from one to the other. It needs to be bi-directional.
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