EEPROM
is short for
Electrically Erasable
Programmable Read Only Memory
. It is
usually a secondary storage memory in devices
containing data that is retained even if the device
looses power supply. EEPROMs come with parallel
or serial interface to the master device. Because
of the ability to alter single bytes of data, EEPROM
devices are used to store personal preference and
configuration data in a wide spectrum of consumer,
automotive, telecommunication, medical, industrial, and
PC applications.
EasyPIC PRO
™
v7 supports serial EEPROM which uses
I
2
C
communication interface
and has
1024 bytes
of available
memory. Board contains socket for serial EEPROMs in DIP8 packaging,
so you can easily exchange it with different memory size EEPROM IC.
EEPROM itself supports single byte or 16-byte (page) write and read operations.
Data rates are dependant of power supply voltage, and go up to
1 MHz
with 5V power
supply, and
400 kHz
for 3.3V power supply.
other modules
page 33
I
2
C EEPROM
In order to connect I
2
C EEPROM to the
microcontroller you must enable
SW5.7
and
SW5.8
switches, as shown on
Figure 19-1
.
4K7
pull-up resistors necessary for I
2
C communication
are already provided on
SDA
and
SCL
lines once
switches are turned on. Prior to using EEPROM in
your application, make sure to disconnect other
peripherals, LEDs and additional pull-up or pull-
down resistors from the interface lines in order
not to interfere with signal/data integrity.
DATA BUS
Enabling I
2
C EEPROM
What is I
2
C?
Figure 19-1:
Activate
SW5.7 and
SW5.8
switches to
enable pull-up
resistors in I
2
C
lines of Serial
EEPROM.
Figure 19-2:
Schematic of
I
2
C EEPROM
module
Easy
PIC PRO
v7
I
2
C is a multi-master serial single-ended bus that is used to attach low-speed peripherals to computer or embedded
systems. I²C uses only two open-drain lines,
Serial Data Line (SDA)
and
Serial Clock (SCL)
, pulled up with
resistors.
SCL
line is driven by a master, while
SDA
is used as bidirectional line either by master or slave device.
Up to 112 slave devices can be connected to the same bus. Each slave must have a unique address.
Summary of Contents for EasyPIC PRO v7
Page 37: ...page 37 EasyPIC PROv7 notes...
Page 38: ...page 38 EasyPIC PROv7 notes...