Rules | Recent posts | topic RSS | Search | Register  | Log in

I2C Networking Microchip Pic 16f876

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing
Author Message
carrotts



Joined: 31 Jan 2002
Posts: 40


Post06 Jan 2003 17:04   I2C Networking Microchip Pic 16f876

I posted a topic a few weeks ago regarding I2C networking using crownhill pic basic plus. My problem being communicating between two pics on the I2C bus. I received several helpful answers, and have worked through them, taking a break for christmas Laughing . I have managed to find the root of my problems, and it lies with the fact I am using Proteus VSM to simulate the circuit. Unfortunately Proteus does not support the PICS native I2C commands. I assume PIC basic's commands work differently, so they can be simulated? Anyway, my question is: Is there any other simulation software that will allow me to simulate two PICs communicating over I2C, or Is there a better way to implement I2C, perhaps another compiler supports more features.
If all else fails I will build up a prototype, but I am trying to avoid that as I2C is only a small part of the overall project.
I see that a new release of Proteus is imminent, does anyone know anything about this? I am using Crownhill PIC basic Plus V1.10, does anyone know where an update can be had?

Thanks in advance

Carrotts
Back to top
sc/mp



Joined: 10 Feb 2002
Posts: 142
Helped: 1


Post06 Jan 2003 17:33   

If you have enough place in your chip you can use sofware I2C routines
(like those for 16F84). Proteus will simulate I2C by sofware if it doesn't
simulate MSSP I2C mode.

I don't know many things about Basic for PICs but maybe there is
an option that tell your compiler not to use hardware I2C and generate
soft routines.

Bye
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing
Page 1 of 1 All times are GMT + 1 Hour


Abuse
Administrator
Moderators
topic RSS 
sitemap