piclist 2001\03\05\150628a >
Thread: PIC16F87x to 24LC32 using page reads/writes
face BY : Mike Mansheim email (remove spam text)

> 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:
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.

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


See also: www.piclist.com/techref/microchip/devices.htm?key=16F
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) PIC16F87x to 24LC32 using page reads/writes

month overview.

new search...