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

I2C without MSSP

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



Joined: 31 May 2007
Posts: 16

View user's profile Send private message

I2C without MSSP
PostPosted: Tue Oct 02, 2007 6:03 pm     Reply with quote

Hi, I have a SD/MMC whit SPI but I need I2C to use ci DS1307 RTC. I check others post and its impossible use SPI and I2C at the same time (is this true?) because both use the MSSP. I would like to know if somedoby have a I2C driver whithout use MSSP, in order to use any other pins to I2C.

Tnks
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Oct 02, 2007 7:40 pm     Reply with quote

Put in a #use i2c() statement and specify two i/o pins which are not
used for the MSSP. The compiler will create software i2c Master code
for those pins.
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