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.
......
I2C comunication between 1 16f877 master and 2 16f873 slaves
-
- Unlicenced User
- Posts: 2
- Joined: Tue 2008-11-11 0:13
Re: I2C comunication between 1 16f877 master and 2 16f873 slaves
Can you attach project.
Thank you a lot
Pranas
Thank you a lot
Pranas
-
- Unlicenced User
- Posts: 2
- Joined: Tue 2008-11-11 0:13
Re: I2C comunication between 1 16f877 master and 2 16f873 slaves
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
Re: I2C comunication between 1 16f877 master and 2 16f873 slaves
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.
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.
Re: I2C comunication between 1 16f877 master and 2 16f873 slaves
Most if not all the problems with I2C master/slave of PIC16 have been fixed with 7.5 SP3.moacir_mendes wrote:I had a lot of problems during implementation of this circuit,......
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.
Ettore Arena - Labcenter Electronics.