2 pics 1 memory i2c


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2008
    Location
    sao paulo - brasil
    Posts
    23

    Default 2 pics 1 memory i2c

    Dear Friends,
    it is possible two pic's they access the same memory I2C (24lc256)

    thank you,

    vicente

  2. #2
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    947


    Did you find this post helpful? Yes | No

    Default

    In theory, yes. Practically, you may have to define your needs better to have a workable solution.

  3. #3
    Join Date
    Oct 2003
    Location
    holland
    Posts
    251


    Did you find this post helpful? Yes | No

    Default

    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.
    Attached Images Attached Images  

  4. #4
    Join Date
    Nov 2008
    Location
    sao paulo - brasil
    Posts
    23


    Did you find this post helpful? Yes | No

    Default Thanksss

    Thank you very much friends,

    I hope to also help,

    excuse my English, I am Brazilian

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts