Maybe it's possible if you connect it as I drawed.
At start you must set the SCL and the SDA and the communication as an input.
If pic1 wants to read or write the memory set the communucation line as an output and make it a logic level "1".
Now pic 2 knows that the scl and the sda are not available.
Now you can access withs pic 1 the memory.
when ready set the 3 lines to input again
The same story is is for pic 2 but related to pic 1.




Bookmarks