Generic I2C EEPROM Driver

Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: created: 2013-03-28 | updated: 2013-03-28

A generic I2C EEPROM driver. The code has been fully optimized with a super simple spin interface for maximum speed and is also fully commented.

Provides full support for:

  • Reading a byte from the EEPROM,
  • Writing a byte to the EEPROM,
  • Reading a word from the EEPROM,
  • Writing a word to the EEPROM,
  • Reading a long from the EEPROM,
  • Writing a long to the EEPROM,
  • Reading an arbitary page from the EEPROM,
  • Writing an arbitary page to the EEPROM,

Uses 19 bit addressing to allow reading and writing on multiple EEPROMs sharing the I2C that have different device addresses.

Supports locking of the I2C bus to support multiprocessor access.


Original File Upload
Package icon I2C_ROMDemo_1.zip14.77 KB