I2C Eeprom - Mikroe EasyMx PRO v7a Manual

Table of Contents

Advertisement

I
C EEPROM
2
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. 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.
EasyMx PRO v7a supports serial EEPROM which uses I
and has 1024 bytes of available memory. EEPROM itself supports single byte or 16-
byte (page) write and read operations. Data rates are dependent of power supply
voltage, and go up to 400 kHz for 3.3V power supply. EEPROM address on I
0xA2
WHAT IS I2C?
I
C is a multi-master serial single-ended
2
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.
PB6
EEPROM-SCL
PB7
EEPROM-SDA
VCC-3.3V
DATA BUS
SW14
2
C communication interface
C bus is
2
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.
VCC-3.3V
VCC-3.3V
VCC-3.3V
U9
1
8
R72
R73
A0
VCC
2K2
2K2
2
7
A1
WP
3
6
EEPROM-SCL
A2
SCL
4
5
EEPROM-SDA
VSS
SDA
C36
100nF
24AA01 EEPROM
Enabling I
C EEPROM
2
In order to connect I
C EEPROM to the microcontroller you must enable
2
SW14.1 and SW14.2 switches, as shown on Figure 23-2. 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 PB6 and PB7 communication lines
that could interfere with the data signals and cause data corruption.
E a s y M x
P R O v 7 a
U s e r M a n u a l

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EasyMx PRO v7a and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Mikroe-5200

Table of Contents