I2C comunication between 1 16f877 master and 2 16f873 slaves

Discussion on both general simulation and Proteus VSM microcontroller simulation.
Post Reply
moacir_mendes
Unlicenced User
Posts: 2
Joined: Tue 2008-11-11 0:13

I2C comunication between 1 16f877 master and 2 16f873 slaves

Post by moacir_mendes »

I had a lot of problems during implementation of this circuit, more specifically with i2c protocol.
To get and send bytes between the master and one slave it works perfectly. But when i tried comunicate with other slave PIC no one more comunicate.
To solve this problem i do a test with SSPOV and BF bits, what indicates overflow on the buffer.
If one of that are high i make it low.
......
prancius
Unlicenced User
Posts: 10
Joined: Fri 2008-08-08 20:14

Re: I2C comunication between 1 16f877 master and 2 16f873 slaves

Post by prancius »

Can you attach project.

Thank you a lot
Pranas
moacir_mendes
Unlicenced User
Posts: 2
Joined: Tue 2008-11-11 0:13

Re: I2C comunication between 1 16f877 master and 2 16f873 slaves

Post by moacir_mendes »

prancius wrote:Can you attach project.

Thank you a lot
Pranas

Here is the project! Good luck!
Attachments
I2C - Bidirection.rar
Project files
(79 KiB) Downloaded 292 times
David
Site Admin
Posts: 2267
Joined: Mon 2006-02-20 14:56
Location: Head Office
Contact:

Re: I2C comunication between 1 16f877 master and 2 16f873 slaves

Post by David »

Hi moacir_mendes and prancius,

Please can you E-mail me your Customer number which is found in the Help > About box in ISIS. Please E-mail to support@labcenter.co.uk or you can alternatively send them via Private Message. Until these are received we cannot provide and support.

Kind regards,
David Spencer - Labcenter Electronics.
Ettore
Labcenter Staff
Posts: 2932
Joined: Fri 2006-03-03 11:56
Location: Milan
Contact:

Re: I2C comunication between 1 16f877 master and 2 16f873 slaves

Post by Ettore »

moacir_mendes wrote:I had a lot of problems during implementation of this circuit,......
Most if not all the problems with I2C master/slave of PIC16 have been fixed with 7.5 SP3.
HOWEVER - as Dave states - you'll need to prove to us you've been using a legal copy of Proteus or you won't receive any support from us ! It shouldn't that hard to understand ?
Kind regards,
Ettore Arena - Labcenter Electronics.
Post Reply