Shop OBEX P1 Docs P2 Docs Learn Events
1 EEPROM for 2 interpreter chips — Parallax Forums

1 EEPROM for 2 interpreter chips

ldegardinldegardin Posts: 1
edited 2009-02-22 16:00 in BASIC Stamp
Hello,

is it possible to use the same EEPROM for 2 interpreter chips ? If i is possible, how can I choose the memory adress of the beginning of each program ?

Thank you in advance

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-02-22 15:05
    No

    You can't use one EEPROM for 2 interpreter chips. EEPROMs are cheap and small and it would slow down both interpreters if they had to share an EEPROM. The features of the I2C protocol that allow for multiple "masters" would also complicate the interpreter and it probably wouldn't fit anymore into the interpreter chip or PBasic features would have to be left out or simplified.
  • MrBi11MrBi11 Posts: 117
    edited 2009-02-22 16:00
    Yes


    But I agree with Mike, trying to share "program" space is going to cause a timing nightmare
    but on the other hand, if you'd like to share Data space to pass stuff between two masters it can be done
    check out the PCA9541 2-to-1 I2C master selector.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Smile ... It increases your face value!
Sign In or Register to comment.