How To Read and Write 12CE67x DATA EEPROM

Submitted by: TechTools

Download Link: link
The DATA EEPROM contained in the 12CE67x devices are actually seperate 24C00 type dies. The PICmicro® MCU communicates with the EEPROM through two port bits using I2C protocol. The use of I2C protocol makes using the EEPROM much more complicated than on previous PICmicro® MCUs.

This note includes CVASM16 source code to READ and WRITE the DATA EEPROM. It uses about 90 bytes of code and a couple bytes of RAM space.