[SOLVED] can i use both the software and hardware I2C in 1 pic16f877a?

Status
Not open for further replies.

Reymel S. Arizala

Newbie level 5
Joined
Jul 21, 2013
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
46
Sir can i ask a question, can i use two I2C in pic16f877a?, i mean the soft and hardware I2C. Because in my thesis i need to have to I2C one for RTC and 1 for External EEPROM..
 

That's basically possible. If you're referring to the built-in I2C functions of a specific C compiler, you should check if it has any problems with the dual interface, but technically it's no problem. You can always setup the software I2C in your own code.

An obvious question arises however. Why can't you operate the two devices with a single I2C master as everyone does?
 
Want do you mean is that one connection for rtc and external eeprom?

is that possible sir? with out conflict between rtc and eeprom?

i saw it already sir is there no interference between eeprom and rtc in that kind of connection?

- - - Updated - - -

i already get it sir.. thanks.. i can a lost earlier and now i have already an idea, thanks for the sir FvM.. i remember that rtc and external eeprom have unique addresses... thanks.
 
Last edited by a moderator:

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…