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

I2C and TX/RX at the same PIC

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



Joined: 31 May 2009
Posts: 79

View user's profile Send private message

I2C and TX/RX at the same PIC
PostPosted: Thu Oct 08, 2009 10:41 am     Reply with quote

The pic that I will be using is PIC16F877A. I want to use TX/RX pin and I2C pins for different operations. Can it be? Does it affect PIC performance?
TX/RX for computer communication.
I2C for DS1302(real time clock).
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Oct 08, 2009 1:22 pm     Reply with quote

DS1302 uses 3-wire SPI. It doesn't use i2c. Read the data sheet.

Look at this CCS example file for the DS1302. It uses rs-232 to send
data to the PC.
Quote:
c:\program files\picc\examples\ex_rtclk.c
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