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

Setup tris when using rs232

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



Joined: 30 Aug 2007
Posts: 144
Location: South Africa

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

Setup tris when using rs232
PostPosted: Mon Nov 12, 2007 6:54 pm     Reply with quote

Is it necessary to setup the tris of port c when using normal rs232 between 2 pics.
I am trying to communicate with another pic using rs232 but i can't get the coms going. I am using some of the other outputs of pin c for RF sending using a cc1000.
In the program they use fast io but to i need to insert that also in the receive side or can i just use the normal interrupt. I did get to other pics communicating but when i try it with the cc1000 pic it doesn't work.
On the oscilloscope there is a output from rc6.
mrpicing



Joined: 22 Oct 2005
Posts: 20

View user's profile Send private message

PostPosted: Tue Nov 13, 2007 2:25 am     Reply with quote

You must use set_tris for serial port. I've seen problem with out using it.
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