Simple Driver for Microchip 47x16 EERAM (I2C)

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Post Reply
Mark's Bench
Posts: 9
Joined: Wed May 12, 2021 9:47 pm

Simple Driver for Microchip 47x16 EERAM (I2C)

Post by Mark's Bench » Mon May 31, 2021 7:17 pm

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!

Post Reply