sharing 3-wire eeprom


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2007
    Posts
    11

    Default sharing 3-wire eeprom

    hi guys,

    i would like to ask if it is possible that

    PIC16f877 only reads the 93c66 3-wire eeprom.
    and the other pic16f84a writes/manages data to 3-wire eeprom.
    they both share only one external eeprom.

    Thank you

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


    Did you find this post helpful? Yes | No

    Default

    It is possible, but you will need some form of arbitration between the 2 PICs. This makes sure that only one PIC accesses the EEPROM at any point in time. You could think of a single port pin that is used to achieve this. The port is always in INPUT mode. Before it takes control of the EEPROM, it checks to see if the port pin is HIGH. It then puts the port to OUTPUT mode and signals a LOW to the otherside. Now it can access the EEPROM. A similar thing can happen on the other PIC when it needs access to the EEPROM. This is just an overview, of course there are finer details you have to look into when you implement it.

Similar Threads

  1. Can't read sequential addresses in external EEPROM
    By tjkelly in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th February 2010, 15:46
  2. Problem with I2C EEPROM addressing
    By Atom058 in forum General
    Replies: 14
    Last Post: - 3rd November 2009, 04:17
  3. How to write/read strings EEPROM/LCD
    By g-hoot in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 11th February 2007, 07:26
  4. Replies: 6
    Last Post: - 10th June 2005, 08:31
  5. word variable to 25lc640
    By TONIGALEA in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 6th July 2004, 20:59

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