----- Original Message -----
From: "Mike Mansheim" <Michael_J_Mansheim
spam_OUTGRACO.COM>
To: <@spam@PICLISTKILLspam
MITVMA.MIT.EDU>
Sent: Monday, March 05, 2001 12:01 PM
Subject: Re: [PIC]: PIC16F87x to 24LC32 using page reads/writes
> > Thanks. OK, you use NO_ACK for byte reads and ACK for page reads.
>
> Sort of. At the risk of being obtuse and providing more information than
> was asked for:
Not at all. All help is welcome.
{Quote hidden}> These devices have a page write, but don't exactly have a page read.
> What you can do is read bytes consecutively without repeating the start
> and send device address operation for each byte. This is done by acking
> each byte as it is received - the internal address pointer in the EEPROM
> is automatically incremented. After the last byte that you want, send a
> no_ack and then the stop. That is why a no_ack is required for reading
> a single byte. This also means that you can read the entire contents of
> the EEPROM is a single start/stop operation.
> Mr. Anderson pointed how to do the acking and no_acking with the MSSP
> hardware - I just wanted to make it clear that you don't just send an
> ack and then you'll automatically receive a "page" of bytes.
Gotcha. It is a consecutive read not a page read. Thanks for your help. I
should have some code together tonight.
--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email KILLspamlistservKILLspam
mitvma.mit.edu with SET PICList DIGEST in the body