Re: PIC and EEPROM modules
- From: "Anthony Fremont" <nobody@xxxxxxxxxxx>
- Date: Wed, 9 Jan 2008 11:12:01 -0600
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.
.
- References:
- PIC and EEPROM modules
- From: coetzee . evert
- PIC and EEPROM modules
- Prev by Date: Re: cordless cell phone?
- Next by Date: Re: SMT rework shops near Sacramento or Bay Area?
- Previous by thread: Re: PIC and EEPROM modules
- Next by thread: Re: PIC and EEPROM modules
- Index(es):
Relevant Pages
|