Master-Slave PIC Interface

General discussion on mikroPascal.
Post Reply
Author
Message
kpskp
Posts: 2
Joined: 01 Feb 2011 15:33

Master-Slave PIC Interface

#1 Post by kpskp » 04 Feb 2011 15:49

Hi,

I am trying to have 2 PICs or more (PIC18F4550) to communicate with each other using any Master/Slave protcol implemented with mikropascal compiler. If possible, in a muti-master interface. I know I2C is one of the possible protocols but I am struggling with the programming on mikropascal.

I am currently using the version 6.0.0.2 of mikropascal

Does anyone have the mikropascal program for this particular application or similar.



Regards
kpskp

Bill O
Posts: 19
Joined: 06 Apr 2008 03:15

Re: Master-Slave PIC Interface

#2 Post by Bill O » 19 Sep 2011 11:41

Hi kpskp

I want to do the same thing between 2 x PIC18F46K22 and haven't had any success.
I submitted a support request and got a reply that the I2C library does not support I2C Slave mode.

I am searching the forums for "I2C Slave" and haven't found anything really useful yet.
It seems like people have been trying to get it to work since about 2005 and the ones that work still have bugs and are PIC specific.

I'll let you know if I have any success.

Post Reply

Return to “mikroPascal General”