Re: PIC and EEPROM modules



coetzee.evert@xxxxxxxxx wrote:
Hi guys

I'm currently using a PIC16F84 for a project. I need to use more
EEPROM than I have on the chip. So I'm considering adding a memory
module to store the additional data. I have no idea what my options
are, which will be the easiest to implement etc.

I dont even need the PIC to write the data to the EEPROM. I would like
to use my computer to program the EEPROM (max 1Mb) and then just use
the PIC to read it (I do the same currently with the PIC. Write EEPROM
data with the pic programmer and then read the data with the PIC).

I've been to microchip's website but I don't really get a noobguide to
what my choices are. Seems like there's at least two architechtures
I2C and SPI. Which will be best? Any suggestions?

Since the F84 doesn't do either in hardware, you'll have to bit bang them.
I2C will take two pins and SPI will take three at least. SPI is faster and
probably easier to write the code for. If you can, I suggest looking at the
16F88 as a pin compatible replacement with many more features. Price is
cheaper even.

I have some code I could give you that will bit-bang I2C to an EEPROM. It's
not a strict implementation though, it doesn't check for ACKs. Outside
that, it worked great for months on end in a data logger project I was
tinkering on.


.



Relevant Pages

  • Re: PIC and EEPROM modules
    ... EEPROM than I have on the chip. ... I2C and SPI. ... Try googling for PIC I2C master or SPI master (you'll want the micro ... These are chips, not modules, typically in something along the lines ...
    (sci.electronics.design)
  • Re: PIC and EEPROM modules
    ... EEPROM than I have on the chip. ... I2C and SPI. ... There's also a third architecture (Microwire) ...
    (sci.electronics.design)
  • Re: PIC and EEPROM modules
    ... EEPROM than I have on the chip. ... I dont even need the PIC to write the data to the EEPROM. ... I2C and SPI. ... There's also a third architecture (Microwire) ...
    (sci.electronics.design)
  • Re: Welches RAM fuer 1Mbyte?
    ... Wie, wat, wo, wo gibt's 1MByte SPI RAM? ... Dieses hatte ich beim letzten Design verwendet, ist ein EEPROM, ... Gibt es noch viel groesser, aber es reichte dem Kunden laessig. ...
    (de.sci.electronics)
  • Re: PIC16F628: whats the addr of EEPROM?
    ... >-The only way to access to EEPROM bytes is via the EEADR, EEDATA, EECON1 ... >used to describe the address space of the data EEPROM to the programmer. ... >PIC programmer to describe the data for the data EEPROM. ...
    (comp.arch.embedded)