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

Can #useRS32 be used on any two pins?

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







Can #useRS32 be used on any two pins?
PostPosted: Thu Apr 01, 2004 10:55 am     Reply with quote

I always took for granted that the i2c, rs232, etc. serial communication routines assumed that the PIC device has a hardware uart and/or i2c.

I am curious to know if rs232 can be assigned to any arbritary pins?

I guess i'm asking if the #use rs232 code are drivers for PICs with rs232, or are they software implementations that work on any two pins you choose?
Kasper



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

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

PostPosted: Thu Apr 01, 2004 11:12 am     Reply with quote

As far as I know, the compiler will use the hardware UART, if there is one present on the pins, or make a software one if not. You can pick any pins for the RS232 lines, BUT, there will be no interrupt on receive, if you don't use a hardware UART.
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