Click here to Skip to main content
15,884,743 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My dear,
I am new in I2C programming. But I want to access two controllers through one master M/C in I2C protocol.Help me please how do I do it.
Posted

That can't be answered in short here. You need the data sheets of your micro controller and the I2C devices. Many device manufactureres (like Microchip for your controller) have additional application notes about using the I2C bus with their devices. You should also read the The I2C-Bus Specification and User Manual[^ PDF]. Another good online resource is http://www.i2c-bus.org/i2c-bus/[^].

If you have a specific problem with some code you may ask this here. But you probably get better help in the Microchip forums.
 
Share this answer
 
Comments
Herambashree 28-Oct-13 4:36am    
Thax
Read:


Also this application note might help: "Using the PICmicro MSSP Module for I2C Communications"[^].
 
Share this answer
 
Comments
Herambashree 28-Oct-13 4:36am    
Thax
CPallini 28-Oct-13 4:39am    
You are welcome.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900