Searching \ for '[PIC]: connect 16F873 to 24LC256 eeprom (please he' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/memory.htm?key=eeprom
Search entire site for: 'connect 16F873 to 24LC256 eeprom (please he'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: connect 16F873 to 24LC256 eeprom (please he'
2000\09\09@010123 by staff

flavicon
face
Barry King wrote:
{Quote hidden}

Thanks Barry, I will re-read the MSSP docs in the
16F873 datasheet. So you have used the MSSP module in other
PICs? Would it be too much to ask if you have any
example code?

Thanks,
Roman

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
"[PIC]:" PIC only "[EE]:" engineering "[OT]:" off topic "[AD]:" ad's

2000\09\09@131647 by staff

flavicon
face
Hi, I have been working with pics for a while and i am
pretty confident with most stuff.
But have never used I2C.

I need to connect the 16F873 to one or more 24LC256
eeproms. I chose the 16F873 as it has a built in I2C
port that should do all the work in hardware.

BUT all the documentation i can find is very vague. Even
the Microchip appnotes like AN578 which are supposed
to be on using the MSSP module seem to all use primitive
bit banging? Why? Doesn't the MSSP module work?

I have read the MSSP I2C section in the 16F873 databook
over and over for two days, and it seems that you only
really need to set one bit in SSPCON2 to init start, load
the byte into the SSPBUF and it should automatically start
shifting the data out at the proper bitrate, and you can check
ack later by checking one bit. All sounds like a dream come
true compared to the manual serial I2C code in the appnotes.
But where is the proper code examples for using the MSSP
module?

Do they think since it is only a couple of instructions
needed that it is not worth putting code example in?
I really would like to see code example, some of the
ack and interrupt descriptions are vague and it would
be great to see how to code for safety in this.

Thanks to anyone who can help!
Roman

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
"[PIC]:" PIC only "[EE]:" engineering "[OT]:" off topic "[AD]:" ad's

2000\09\10@092013 by Chamberlain

flavicon
face
Roman, Email me direct and I will send you some code.

I have been fighting this for what seems ages and I have come to a point
where something works. The whole microchip manual thing is a nightmare. The
method instructions are all over the place and in one part contradictory.

When I got the 877 I used a 16F84 ported JAL program to see if the chip was
working, this worked ok. I then went on using asm code but it is like
pushing a pea up a broom handle with your nose.

I am now going to use JAL again having done a lot of work with it creating
my own libraries. Thanks Wouter.


best of luck Chris.


{Original Message removed}

2000\09\11@060606 by Vasile Surducan

flavicon
face
On Sun, 10 Sep 2000, Chris Chamberlain wrote:

>
>  I am now going to use JAL again having done a lot of work with it creating
> my own libraries. Thanks Wouter.


May be more specific Chris ? If you have some tested Jal libraries for 877
could we see them at Jallist?
I'm interested also in interfacing external eeprom at 877 in JAL!
Thank's, Vasile

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...