Data EEprom Emulation

  1. What this example do?
  2. How I must configure my ORbit16™ to work with this example?
  3. Where I can learn more about this?
  4. Download this example!

What this example do?

This example shows how to use the Microchip Data EEprom Emulation library. PIC24, dsPIC and PIC32 doesn’t have an internal EEprom, so this library uses the program memory to emulate a Data EEprom, improving the data endurance.

This demo stores a value in the emulated eeprom, then read and show the value on a display.

How I must configure my ORbit16™ to work with this example?

Go to the PCD8544 library page and read the usage document. Here you will see the display pinout. Follow the instructions in the document. In particular you must connect the display IOs as showed here (left: display IO, right: ORbit16™ IO):

  1. VCC to 3.3V
  2. GND to GND
  3. SCE to GND
  4. RST to RA0
  5. D/C to RA1
  6. DN (MOSI) to RB0
  7. SCLK to RB1
  8. LED : is the backlight, you can leave it disconnected or you can connect it to 3.3V through a 220Ω resistor

Where I can learn more about this?

Please read the application note included in the DEE library.

Download this example!

Data EEprom Emulation (215 downloads)