Page 1 of 1

Simple Driver for Microchip 47x16 EERAM (I2C)

Posted: Mon May 31, 2021 7:17 pm
by Mark's Bench
Hello again!

Just put together a (hopefully) easy to use driver for the Microchip 47L/C16 I2C EERAM. I'd never heard of EERAM before (thought it was a typo) but if you hook it up and configure it right (and add the right capacitor), it will automatically save the contents of SRAM to EERAM using the charge in the capacitor. Pretty cool device - you can hammer away at it with SRAM speeds (or as fast as you can over I2C) but also acts like NVRAM.

I'm trying to keep these as simple to use as possible, so like the other memory-type drivers I've posted, it accepts an address (0-2047), and a value (0-255). It also has functions to store the contents of SRAM to EEPROM and recall the contents of EEPROM to SRAM.

The driver and an example are at https://github.com/MarksBench/mb_47x16

Have a good day!