2009 Microchip Technology Inc. DS21682E-page 1
24LCS22A
Features:
Single Supply with Operation down to 2.5V
Supports Enhanced EDID (E-EDID) 1.3
Completely Imp lements DDC1/DDC2 Inter-
face for Monitor Iden tificatio n, i nc lud in g Rec ov ery
to DDC1
2 Kbit Serial EEPROM Low-Power CMOS
Technology:
- 1 mA active current, typical
-10A standby current, typical at 5.5V
2-Wire Serial Interface Bus, I2C Compatible
100 kHz (2.5V) and 400 kHz (5V) Compatibility
Self-Timed Write Cycle (including Auto-Erase)
Hardware Write-Protect Pin
Page Write Buffer for up to Eight Bytes
1,000,000 Erase Write Cycles
Data Retention >200 years
ESD Protection >4000V
8-pin PDIP and SOIC Packages
Available Temperature Ranges:
Pb-Free and RoHS Compliant
Description:
The Microchip Technology Inc. 24LCS22A is a 256 x 8-bit
dual-mode Electrically Erasable PROM (EEPROM). This
device is designed for use in applications requiring
storage and serial transmission of configuration and
control information. Two modes of operation have been
implemented: Transmit-Only mode (1 Kbit) and
Bidirectional mode (2 Kbit). Upon power-up, the device
will be in the Transmit-Only mode, sending a serial bit
stream of the me mory array from 00h to 7Fh, clocked by
the VCLK pin. A valid high-to-low transition on the SCL pin
will cause the device to enter the Transition mode, and
look for a valid contr ol byt e on the I 2C bus. If it detects a
valid control byte from the master, it will switch into
Bidirectional mode, with byte selectable read/write
capability of the entire 2K memory array using SCL. If no
control byte is received, the device will revert to the Trans-
mit-Only mode after it receives 128 consecutive VCLK
pulses while the SCL pin is idle. The 24LCS 22A is avail-
able in standard 8-pin PDIP and SOIC packages. The
24LCS22A features a flexible write-protect pin which is
enabled by writing to address 7Fh (usually the checksum
in VE SA® applications.
Package Types
Block Diagram
- Industrial (I) -40°C to +85°C
PDIP/SOIC
24LCS22A
*NC
*NC
WP
VSS
1
2
3
4
8
7
6
5
VCC
VCLK
SCL
SDA
* Pins labeled ‘NC’ have no internal connection
HV Generator
EEPROM
Array
Page Latches
YDEC
XDEC
Sense Amp.
R/W Control
Memory
Control
Logic
I/O
Control
Logic
WP
SDA SCL
Vcc
Vss
VCLK
2K VESA® E-EDID Serial EEPROM
24LCS22A
DS21682E-page 2 2009 Microchip Technology Inc.
1.0 ELECTRICAL CHARAC TERISTICS
Absolute Maximum Ratings(†)
VCC.............................................................................................................................................................................7.0V
All inputs and outputs w.r.t. VSS ......................................................................................................... -0.6V to VCC +1.0V
Storage temperature ...............................................................................................................................-65C to +150C
Ambient temperature with power applied................................................................................................-40C to +125C
ESD protection on all pins 4kV
TABLE 1-1: DC CHARACTERISTICS
† Not ice: Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the
device . This is a st ress rating only and fun ctional op eration of the device at th ose or any ot her conditi ons above those
indicated in the operational listings of this specification is not implied. Exposure to maximum rating conditions for
extended periods may affect device reliability.
DC CHARACTERISTICS Vcc = +2.5V to 5.5V
Industrial (I): TA = -40°C to +85°C
Param.
No. Sym Characteristic Min. Max. Units Test Conditions
SCL and SDA pins:
D1 VIH High-level input voltage 0.7 VCC —V
D2 VIL Low-level input voltage 0.3 VCC V
Input levels on VCLK pin:
D3 VIH High-level input voltage 2.0 V VCC 2.7V (Note)
D4 VIL Low-level input voltage 0.2 VCC VVCC 2.7V (Note)
D5 VHYS Hy steresis of Schmitt Trigger
Inputs .05 VCC —V(Note)
D6 VOL1 Low-lev el outp ut vol t ag e 0. 4 V IOL = 3 mA, VCC = 2.5V (Note)
D7 VOL2 Low-lev el outp ut vol t ag e 0. 6 V IOL = 6 mA, VCC = 2.5V
D8 ILI Input leakage current ±1 AVIN = 0.1V to VCC
D9 ILO Output leakage current ±1 AVOUT = 0.1V to VCC
D10 CIN, COUT Pin capacitance
(all inputs/outputs) —10pFVCC = 5.0V (Note)
TA = 25°C, FCLK = 1 MHz
Operating current:
D10 ICC WRITE Operating cu rrent 3 mA VCC = 5.5V,
D11 ICC READ Operating current 1 mA VCC = 5.5V, SCL = 400 kHz
D12 ICCS Standby current
30
100 A
AVCC = 3.0V, SDA = SCL = VCC
VCC = 5.5V, SDA = SCL = VCC
VCLK = VSS
Note: This parameter is periodically sampled and not 100% tested.
2009 Microchip Technology Inc. DS21682E-page 3
24LCS22A
TABLE 1-2: AC CHARACTERISTICS
AC CHARACTERISTICS Vcc = +2.5V to 5.5V
Ind ustr i al (I): TA = -40°C to +85° C
Param.
No. Sym Parameter Min Max Units Conditions
1F
CLK Clock frequency
100
400 kHz 2.5V VCC 5.5V
4.5V VCC 5.5V
2T
HIGH Clock high time 4000
600
ns 2.5V VCC 5.5V
4.5V VCC 5.5V
3T
LOW Clock low time 4700
1300
ns 2.5V VCC 5.5V
4.5V VCC 5.5V
4T
RSDA and SCL rise time
1000
300 ns 2.5V VCC 5.5V (Note 1)
4.5V VCC 5.5V ( Note 1)
5T
FSDA and SCL fall time
300
300 ns (Note 1)
6T
HD:STA Start condition hold time 4000
600
ns 2.5V VCC 5.5V
4.5V VCC 5.5V
7T
SU:STA Start condition setup ti me 4700
600
ns 2.5V VCC 5.5V
4.5V VCC 5.5V
8T
HD:DAT Data input hold time 0
0
ns (Note 2)
9T
SU:DAT Data input setup time 250
100
ns 2.5V VCC 5.5V
4.5V VCC 5.5V
10 TSU:STO Stop condition setup time 4000
600
ns 2.5V VCC 5.5V
4.5V VCC 5.5V
11 TAA Output valid from clock
(Note 2)
3500
900 ns 2.5V VCC 5.5V
4.5V VCC 5.5V
12 TBUF Bus free t ime: Time the bus must be
free befor e a ne w tr an s m i ssion can
start
4700
1300
ns 2.5V VCC 5.5V
4.5V VCC 5.5V
13 TOF Output fall time from VIH
minimum to VIL maximum
20+0.1CB250
250 ns 2.5V VCC 5.5V (Note 1)
4.5V VCC 5.5V (Note 1)
14 TSP Input filter spike suppression
(SDA and SCL pins)
50
50 ns (Notes 1 and 3)
15 TWR Write cycle time (byte or page)
10
10 ms
16 TVAA Output valid from VCLK
2000
1000 ns
17 TVHIGH VCLK high time 4000
600
ns
18 TVLOW VCLK low time 4700
1300
ns
19 TVHST V CL K se tu p ti m e 0
0
ns
20 TSPVL VCLK hold time 4000
600
ns
21 TVHZ Mode transition time
1000
500 ns
22 TVPU Transmit-only power-up time 0
0
ns
23 TSPV Input filter spike suppression (VCLK
pin)
100
100 ns
24 Endurance 1M cycles 25°C, VCC = 5.0V, Block mode
(Note 4)
Note 1: Not 100% tested. CB = total capacitance of one bus line in pF.
2: As a transmitter , the device must provide an internal minimum delay time to bridge the undefined region (minimum 300 ns) of the
falling edge of SCL to avoid unintended ge neration of Start or Stop conditions.
3: The combined TSP and VHYS specifications are due to Schmitt Trigger inputs which prov ide improved noise spike suppres sion.
This eliminates the need for a TI specification for standard o peration.
4: This parameter is not tested but established by characterization. For endurance estimates in a specific application, please consult
the Total Endurance™ Model which can be obtai ned from Microchip’s web site at www.microchip.com.
24LCS22A
DS21682E-page 4 2009 Microchip Technology Inc.
2.0 FUNCTIONAL DESCRIPTION
The 24LCS22A is designed to comply to the DDC
Standard proposed by VESA (Figure 3-3) with the
exception that it is not Access.bus™ capable. It oper-
ates in two modes, the Transmit-Only mode (1 Kbit)
and the Bi directional m ode (2 Kbit). The re is a sep arate
2-wire protocol to support each mode, each having a
separate clock input but sharing a common data line
(SDA). The device enters the Transmit-Only mode
upon pow er-up. In thi s mode, the device transm its da ta
bits on the SDA pin in response to a clock signa l on the
VCLK pin. The device will remain in this mode until a
valid high-to-low transition is placed on the SCL input.
When a valid transition on SCL is recognized, the
device will switch into the Bidirectional mode and look
for its control byte to be sent by the master. If it detects
its control byte, it will stay in the Bidirectional mode.
Otherwis e, it will revert to the T ransmi t-Only mode af ter
it sees 128 VCLK pulses.
2.1 Transmit-Only Mode
The devic e wil l pow e r up in the Transmit-O nly mod e at
address 00h. This mode supports a unidirectional
2-wire protocol for continuous transmission of the first
1 Kbit of the memory array. This device requires that it
be initialized prio r to valid data bei ng sent in the Trans-
mit-Only mode (Section 2.2 “Initialization Proce-
dure”). In this mode, data is transmitted on the SDA
pin in 8-bit bytes, with each byte followed by a ninth,
Null bit (Figure 2-1). The clock source for the Transmit-
Only mode is provided on the VCLK pin, and a data bit
is output on the rising e dge on this pi n. The eight bi ts in
each byte are transmitted Most Significant bit first.
Each byte within the memory array will be output in
sequence. After address 7Fh in the memory array is
transmitted, the internal Address Pointers will wrap
aroun d to the first memory location (00h) and c ontinue.
The Bidirectional mode clock (SCL) pin must be held
high for the device to remain in the Transmit-Only
mode.
2.2 Initialization Procedure
After VCC has st abilized , the device wi ll be in the T rans-
mit-Only mode. Nine clock cycles on the VCLK pin
must be given to the device for it to perform internal
sychroniza tion. During this period, the SDA pin will be
in a high-impedance state. On the rising edge of the
tenth clock cycle, the device will output the first valid
data bit which will be the Most Significant bit in address
00h. (Figure 2-2).
FIGURE 2-1: TRANSMIT-ONLY MODE
FIGURE 2-2: DEVICE INITI ALIZATION
SCL
SDA
VCLK
TVAA TVAA
Bit 1 (LSB) Null Bit Bit 1 (MSB) Bit 7
TVLOWTVHIGH
TVAA TVAA
Bit 8 Bit 7High-impedance for 9 clock cycles
TVPU
12 891011
SCL
SDA
VCLK
VCC
2009 Microchip Technology Inc. DS21682E-page 5
24LCS22A
3.0 BIDIRECTIO NAL MO DE
Before the 24LCS22A can be switched into the
Bidirectional mode (Figure 3-1), it must enter the
Transition mode, which is done by applying a valid
high-to-low transition on the Bidirectional mode clock
(SCL). As soon as it enters the Transition mode, it looks
for a c ontrol byte ‘1010 000X’ on the I2C™ bus, and
starts to count pulses on VCLK. Any high-to-low
transition on the SCL li ne will reset the count. If it sees
a pulse count of 128 on VCLK whil e the SCL lin e is idle,
it will revert back to the Transmit-Only mode, and
transmit its contents starting with the Most Significant
bit in address 00h. However, if it detects the control
byte on the I2C bus (Figure 3-2), it will switch to the
Bidirectional mode. Once the device has made the
transition to the Bidirectional mode, the only way to
switc h the devi ce back to the T r ansm it-On ly mode is to
remove power from the device. The mode transition
process is shown in detail in Figure 3-3.
Once the device has switched into the Bidirectional
mode, the VCLK input is disregarded, with the
exception that a logic high level is required to enable
write capability. In Bidirectional mode the user has
acces s t o th e enti re 2K a rray, whereas in the Transmit-
Only mo de , the us er c an on l y a cce ss the f irs t 1 K . Th is
mode supports a two-wire bidirectional data
transmission protocol (I2C). In this protocol, a device
that sends data on the bus is defined to be the
transmitter, and a device that receives data from the
bus is defined to be the receiver. The bus must be
controlled by a master device that generates the
Bidi rec t iona l mo d e cl oc k (SC L) , c on t rol s ac cess t o the
bus and generates the St a r t an d Stop co ndi tio ns, while
the 24LCS22A acts as the slave. Both master and
slave can operate as transmitter or receiver, but the
master device determines whic h mode is activated. In
the Bidirectional mode, the 24LCS22A only responds
to commands for device ‘1010 000X’.
FIGURE 3-1: MODE TRANSITION WITH RECOVERY TO TRANSMIT-ONLY MODE
FIGURE 3-2: SUCCESSF UL MODE TRANSI TION TO BIDIRECTIONAL MODE
TVHZ
SCL
SDA
VCLK
Transmit-Only
MODE Bidirectional Recovery to Transmit-Only mode
Bit8
(MSB of data in 00h)
VCLK count = 1 2 3 4 127 128
Transition mode with possibility to return to Transmit-Only mode Bidirectional
permanently
SCL
SDAVCLK count = 1 2 n 0
VCLK
Transmit-Only
MODE
S1010 0000 ACK
n < 128
24LCS22A
DS21682E-page 6 2009 Microchip Technology Inc.
FIGURE 3-3: DISPLAY OPERATION PER DDC STANDARD PROPOSED BY VESA®
Communication
is idle
Is Vsync
present? No
Send EDID™ continuously
using Vsync as clock
High-to-low
transition on
SCL?
No
Yes
Yes
S top sending EDID.
Switch to DDC2™ mode.
Display has
transition state
?
optional
Set Vsync counter = 0
Change on
VCLK lines?
SCL, SDA or
No
Yes
High-low
transition on SCL
?
Reset Vsync counter = 0
No
Yes
Valid
received?
DDC2 address
No
No VCLK
cycle?
Yes
Increment VCLK counter
Yes
Switch back to DDC1™
mode.
DDC2 communication
idle. Display waiting for
address byte.
DDC2B
address
received?
Yes
Receive DDC2B
command
Respond to DDC2B
command
Is display
Access.bus™
Yes
Valid Access.bus
address? No
Yes
See Access.bus
specification to determine
correct procedure.
Yes
No
Yes
No
No
No
The 24LCS22A was designed to
Display Power-on
or
DDC Circuit Powered
from +5 volts
or start timer Reset counter or timer
(if appropria te)
Counter=128 or
timer expired?
High-to-low
transition on
SCL? No
Yes
comply to the portion of flowchart inside dash box
Note 1: The base fl owchart is cop yright 199 3, 1994, 1995 V ideo Electr onic S tandar d Association (VESA) fr om
VESA’s Display Data Channel (DDC) Standard Proposal ver. 2p rev. 0, used by permission of VESA.
2: The dash b ox and tex t “The 24LCS2 2A and.. . inside d ash box.” are added b y Microchi p Technolog y Inc.
3: Vsync signal is normally used to derive a signal for VCLK pin on the 24LCS22A.
capable?
2009 Microchip Technology Inc. DS21682E-page 7
24LCS22A
3.1 Bidirectional Mode Bus
Characteristics
The following bus protocol has been defined:
Data transfer may be initiated only when the bus
is not busy
During data transfer, the data line must remain
stab le when ever th e clock lin e is high . Change s in
the data line while the clock line is high will be
interpreted as a Start or Stop condition
Accordingly, the following bus conditions have been
defined (Fi gure 3-4).
3.1.1 BUS NOT BUSY (A)
Both data and clock lines remain high.
3.1.2 START DATA TRANSFER (B)
A high-to-lo w transition of the SDA line while the clock
(SCL) is high determines a Start condition. All
commands must be preceded by a Start condition.
3.1.3 STOP DATA TRANSFER (C)
A low-to-high transition of the SDA line while the clock
(SCL) is high determines a Stop condition. All
operations must be ended with a Stop condition.
3.1.4 DATA VALID (D)
The state of the data line represents valid data when,
after a Start condition, the data line is stable for the
duration of the hi gh per iod of the clock signal.
The data on the line must be changed during the low
period of t he cl oc k sig na l. There is one cloc k puls e per
bit of data.
Each dat a transf er is initiated w ith a S tart condition an d
terminated with a Stop condition. The number of the
data bytes transferred between the Start and Stop
conditions is determined by the master device and is
theoretically unlimited, although only the last eight will
be stored when doing a write operation. When an
overwri te does occur it will replace da ta in a firs t-in first-
out (FIFO) fashion.
3.1.5 ACKNOWLEDGE
Each receiving device, when addressed, is obliged to
generate an acknowledge after the reception of each
byte. Th e mast er device mus t ge nera te a n ex tra c lock
pulse which is associated with this Acknowledge bit.
The device that acknowledges has to pull down the
SDA line du ring the Acknow ledge cl ock pulse in s uch a
way that the SDA line is stable low during the high
period of the acknowledge related clock pulse. Of
course, setup and hold times must be taken into
account. A master must signal an end of data to the
slave by no t g ene rati ng an Acknowledge bi t o n th e las t
byte that has been clocked out of the slave. In this
case, the slave must leave the data line high to enable
the master to generate the Stop condition.
FIGURE 3-4: DATA TRANSFER SEQUENCE ON THE SERIAL BUS
Note: Onc e switch ed int o Bidirection al mode , the
24LCS22A will remain in that mode until
powe r is r e move d. Re mo vi ng po w er i s t he
only way to reset the 24LCS22A into the
Transmit-Only mode.
Note: The 24LCS22A does not generate any
Acknowledge bits if an internal
programming cycle is in progress.
(A) (B) (D) (D) (A)(C)
Start
Condition Address or
Acknowledge
Valid
Data
Allowed
to Change
Stop
Condition
SCL
SDA
24LCS22A
DS21682E-page 8 2009 Microchip Technology Inc.
FIGURE 3-5: BUS TIMING START/STOP
FIGURE 3-6: BUS TIMING DATA
3.1.6 SLAVE AD DRESS
After generating a Start condition, the bus master
transmi ts t he slav e addre ss co nsis ting of a 7 -bit dev ice
code (1010000) for the 24LC S22A.
The eigh th bit of s lave address determin es whether th e
master device wants to read or write to the 24LCS22A
(Figure 3-7).
The 24LCS22A monitors the bus for its corresponding
slave address continuously. It generates an
Ackno w l edg e bi t if the sl av e ad d r es s was tru e an d i t is
not in a Programming mode.
FIGURE 3-7: CONTROL BYTE
ALLOCATION
SCL
SDA
Start Stop
VHYS TSU:STO
THD:STA
TSU:STA
SCL
SDA
IN
SDA
OUT
TSU:STA
TSP
TAA
TF
TLOW
THIGH
THD:STA THD:DAT TSU:DAT TSU:STO
TBUF
TAA
TR
Operation Slave Address R/W
Read 1010000 1
Write 1010000 0
R/W A
1 010000
Read/Write
Start
Slave Address
2009 Microchip Technology Inc. DS21682E-page 9
24LCS22A
4.0 WRITE OPERATION
4.1 Byte Write
Following the Start signal from the master, the slave
address (four bits), three zero bits (000) and the R/W
bit which is a logic low are placed onto the bus by the
master transmitter. This indicates to the addressed
slave receiver that a byte with a word address will
follow after it has gen erated an Ackno wledge bit durin g
the ninth clock cycle. Therefore, the next byte
tran smit ted by the ma ster is the word add res s and wi ll
be written into the Address Pointer of the 24LCS22A.
After receiving another Acknowledge signal from the
24LCS22A the master device will transmit the data
word to be wr itten into the addressed mem ory locatio n.
The 24LCS22A acknowledges again and the master
generates a Stop condition. This initiates the internal
write cycle, and during this time the 24LCS22A will not
generate Acknowledge signals (Figure 4-1).
It is required that VCLK be held at a logic high level
during command and data transfer in order to program
the device. This applies to both byte write and page
write operation. Note, however, that the VCLK is
ignored during the self-timed program operation.
Changing VCLK from high-to-low during the self-timed
program operation will not halt programming of the
device.
4.2 Page Write
The write control byte, word address and the first data
byte are tra nsmitted to the 24L CS22A in the same way
as in a byte write. But instead of generating a Stop
conditi on the m aster tran smit s up to eigh t dat a byt es to
the 24LCS22A which are temporarily stored in the on-
chip page buffer and will be written into the memory
after the master has transmitted a S top condition. After
the rece ipt of each wo rd, the three lower orde r Address
Pointer bits are internally incremented by one. The
higher order five bits of the word address remains
const a nt. If the maste r s hou ld transmit more than eight
words prior to generating the Stop condition, the
address counter will roll over and the previously
receive d dat a will be overwri tten. As w ith the by te write
operation, once the Stop condition is received an
internal write cycle will begin (Figure 5-2).
It is required that VCLK be held at a logic high level
during command and da ta transfer in order to program
the device. This applies to both byte write and page
write operation. Note, however, that the VCLK is
ignored during the self-timed program operation.
Changing VCLK from high-to-low during the self-timed
program operation will not halt programming of the
device.
Note: Page write opera tions are l imited to wri ting
bytes within a single physical page,
regardless of the nu mb er of bytes actuall y
being written. Physical page boundaries
start at addresses that are integer
multiples of the page buffer size (or ‘page
size’) and end at addresses that are
integer multiples of [page size – 1]. If a
Page Write command attempts to write
across a physical page boundary, the
result is that the data wraps around to the
beginning of the current page (overwriting
data previously stored there), instead of
being w ritte n to the next page as mi ght be
expected. It is therefore necessary for the
application software to prevent page write
operations that would attempt to cross a
page boundary.
24LCS22A
DS21682E-page 10 2009 Microchip Technology Inc.
FIGURE 4-1: BYTE WRITE
FIGURE 4-2: VCLK WRITE ENABLE TIMING
Bus Activit y
Master
SDA Line
Bus Acti vity
Control
Byte Word
Address Data S
T
O
P
S
T
A
R
T
A
C
K
SP
A
C
K
A
C
K
VCLK
SCL
SDA
IN
VCLK
THD:STA TSU:STO
TVHST TSPVL
2009 Microchip Technology Inc. DS21682E-page 11
24LCS22A
5.0 ACKNOWLEDGE POLLING
Since the device will not acknowledge during a write
cycle, this can be used to determine when the cycle is
complete (this feature can be used to maximize bus
throughput). Once the Stop condition for a Write
comma nd has been is sued from the master , the device
initiates the internally timed write cycle. ACK polling
can be initiated immediately. This involv es the master
sending a Start condition followed by the control byte
for a Write command (R/W = 0). If the device is still
busy with the write cycle, then no ACK will be returned.
If the cycle is complete, then the device will return the
ACK and the master can then proceed with the next
Read or Write command. See Figure 5-1 for the flow
diagram.
FIGURE 5-1: ACKNOWLEDGE
POLLING FLOW
FIGURE 5-2: PAG E WRITE
Did Device
Acknowledge
(ACK = 0)?
Send
Write Command
Send St op
Condition to
Initiate Write Cycle
Send Start
Send Control Byte
with R/W = 0
Next
Operation
No
Yes
SDA Line
Control
Byte Word
Address
S
T
O
P
S
T
A
R
T
A
C
KA
C
KA
C
KA
C
KA
C
K
Data n + 1 Data n + 7
Data (n)
P
S
VCLK
Bus Activity
Master
Bus Activity
24LCS22A
DS21682E-page 12 2009 Microchip Technology Inc.
6.0 WRITE PROTECTION
When using the 24LCS22A in the Bidirectional mode,
the VCLK pin can be used as a write-protect control
pin. Setting VCLK high allows normal write operations,
while setting VCLK low prev ent s writing to any locatio n
in the array. Connecting the VCLK pin to VSS would
allow the 24LCS22A to operate as a serial ROM,
although this configuration would prevent using the
device in the Transmit-Only mode.
Additionally, pin 3 performs a flexible write-protect
function. The 24LCS22A contains a write protection
control fuse whose factory default state is cleared.
Writing any data to address 7Fh (normally the
checksum in DDC applications) sets the fuse which
enables the WP pin. Until this fuse is set, the
24LCS2 2A is al ways write enabled (if VCLK = 1). After
the fuse is set, the write capability of the 24LCS22A is
determined by both VCLK and WP pins (Table 6-1).
TABLE 6-1: WRITE-PROTECT TRUTH
TABLE
7.0 READ OPERATION
Read operations are initiated in the same way as write
operations with the exception that the R/W bit of the
slave address is set to one. There a re three basic types
of read operations: current address read, random read
and sequential read.
7.1 Current Address Read
The 24LCS22A contains an address counter that
maintains the address of the last word accessed,
internally incremented by one. Therefore, if the
previous access (either a read or write operation) was
to address n, the next current address read operation
would ac ce ss d at a from address n + 1. U pon rec ei pt of
the slave address with R/W bit set to one, the
24LCS22A issues an acknowledge and transmits the
eight bit data word. The master will not acknowledge
the transfer, but does generate a S top condition and the
24LCS22A discontinues transmission (Figure 7-1).
FIGURE 7-1: CURRENT ADDRESS
READ
7.2 Random Read
Random read operations allow the master to access
any memory location in a random manner. To perform
this typ e of re ad o peration, first the wo rd address must
be set. This is done b y sending the word address to the
24LCS22A as part of a write operation. After the word
address is sent, the master generat es a Start conditio n
following the acknowledge. This terminates the write
operatio n, but not before the internal Address Pointer is
set. Then the master issues the control byte again but
with the R/W bit set to a one. The 24LCS22A will then
issue an acknowledge and transmits the 8-bit data
word. The master will not acknowledge the transfer, but
does generate a Stop condition and the 24LCS22A
discontinues transmission (Figure 7-2).
VCLK WP Address
7Fh Written
Mode
for
00h-7Fh
0XXRead-only
1XNo R/W
11/open XR/W
10Yes Read-only
Control
A
C
K
SP
Byte Data n
Bus Ac tivit y
SDA Line
Bus Ac tivit y A
C
K
N
O
Master
10100001
S
T
O
P
S
T
A
R
T
2009 Microchip Technology Inc. DS21682E-page 13
24LCS22A
FIGURE 7-2: RANDOM READ
FIGURE 7-3: SEQUENTI AL READ
7.3 Sequential Read
Sequential reads are initiated in the same way as a
random re ad exc ept tha t af ter the 24 LCS22 A transm it s
the first data byte, the master is sues an acknowledge
as opposed to a Stop condition in a random read. This
direct s the 24LCS22A to transm it the nex t se que ntia ll y
addressed 8-bit word (Figure 7-3).
To provi de sequential rea ds the 24LC S22A contai ns an
internal Address Pointer which is incremented by one
at the completion of each operation. This Address
Pointer allows the entire memory contents to be serially
read during one operati on .
7.4 Noise Protection
The 24LCS22A employs a VCC threshold detector
circuit which disables the internal erase/write logic if the
VCC is below 1.5 volts at nominal conditions.
The SDA, SCL and VCLK inputs have Schmitt Trigger
and filte r circuits which suppress noise spikes to assure
proper device operation even on a noisy bus.
Bus Activit y
Master
SDA Line
Bus Activit y
Control
Byte Word
Address Data n
A
C
K
S
T
A
R
T
N
O
S
T
A
RControl
Byte
A
C
K
A
C
K
SS
T
P
S
T
O
P
10100000 00000111
A
C
K
A
C
K
P
Bus Activit y
Master
SDA Line
Bus Activit y
Control
Byte Data n Data n + 1 Data n + 2 Data n + x
A
C
K
A
C
K
A
C
K
N
O
A
C
K
S
T
O
P
24LCS22A
DS21682E-page 14 2009 Microchip Technology Inc.
8.0 PIN DESCRIPTIONS
The descriptions of the pins are listed in Table 8-1.
TABLE 8-1: PIN FUNCTION TABLE
8.1
Write-Protect
(WP)
This pin is used for flexible write protection of the
24LCS22A. When memory location 7Fh is written with
any data, this pin is enabled and determines the write
capability of the 24LCS22A (Table 6-1).
8.2 Serial Address/Data Input/Output
(SDA)
This p in is use d to transfer addresses and data into and
out of the device , when the dev ice is in th e Bidirectiona l
mode. In the Transmit-Only mode, which only allows
data to be read from the device, dat a is also tr ansferred
on the SDA pin. This pin is an open drain terminal,
therefore the SDA bus requires a pull-up resistor to
VCC (typical 10 k for 100 kH z, 2 k for 400 kHz).
For normal data transfer in the Bidire ctional mode, SDA
is allowed to change only during SCL low. Changes
during SCL high are reserved for indicating the Start
and Stop conditions.
8.3 Serial Clock (SCL)
This pin is the clock input for the Bidirectional mode,
and is used to synchronize data transfer to and from the
device. It is also used as the signaling input to switch
the device from the Transmit-Only mode to the
Bidirectional mode. It must remain high for the chip to
continue operation in the Transmit-Only mode.
8.4 Serial Clock (VCLK)
This pin is the clock input for the Transmit-Only mode
(DDC1). In the Transmit-Only mode, each bit is clocked
out on the ris ing edg e of this si gnal. In the Bidire ctiona l
mode, a high logic level is req uired on this pin to enabl e
write capability.
Name Function
WP
Write-Protect
(active low)
VSS Ground
SDA Serial Address/Data I/O
SCL Serial Clock (Bidirectional mode)
VCLK Serial Clock (Transmit-Only mode)
VCC +2.5V to 5.5V Power Supply
NC No Inte rna l Connecti on
2009 Microchip Technology Inc. DS21682E-page 15
24LCS22A
9.0 PACKAGING INFORMATION
9.1 Package Marking Information
XXXXXXXX
TXX NNN
YYWW
8-Lead PDIP (300 mil) Example:
24LCS22A
I/P NNN
0145
8-Lead SOIC (3.90 mm) Example:
*Standard marking consists of Microchip part number, year code, week code, traceability code (facility
code, mask rev#, and assembly c ode).
XXXXXXXT
XX YYWW
NNN
4LCS22AI
SN 0145
NNN
Legend: XX...X Part number or part number code
T Temperature (I, E)
Y Year code (last digit of calendar year)
YY Year code (last 2 digits of calendar year)
WW Week code (week of January 1 is week ‘01’)
NNN Alphanumeric traceability code (2 characters for small packages)
Pb-free JEDEC de signator for Matte Tin (Sn)
Note: For very small packages with no room for the Pb-free JEDEC designator
, the marking will only appear on the outer carton or reel label.
Note: In the eve nt the full Microchi p part number c annot be marked on one lin e, it will
be carried over to the next line, thus limiting the number of available
characte rs for cus tomer-specific information.
3
e
3
e
3
e
3
e
3
e
3
e
24LCS22A
DS21682E-page 16 2009 Microchip Technology Inc.


  !"#$%&"' ()"&'"!&)&#*&&&#
 +%&,&!&
- '!!#.#&"#'#%!&"!!#%!&"!!!&$#/!#
 '!#&.0
1,21!'!&$& "!**&"&&!
 3&'!&"&4#*!(!!&4%&&#&
&&255***''54
6&! 7,8.
'!9'&! 7 7: ;
7"')%! 7 <
& 1,
&& = = 
##44!!   - 
1!&&   = =
"#&"#>#& .  - -
##4>#& .   <
: 9& -< -? 
&& 9  - 
9#4!! <  
69#>#& )  ? 
9*9#>#& )  < 
: *+ 1 = = -
N
E1
NOTE 1
D
12
3
A
A1
A2
L
b1
b
e
E
eB
c
  * ,<1
2009 Microchip Technology Inc. DS21682E-page 17
24LCS22A
 ! ""#$%& !'

  !"#$%&"' ()"&'"!&)&#*&&&#
 +%&,&!&
- '!!#.#&"#'#%!&"!!#%!&"!!!&$#''!#
 '!#&.0
1,2 1!'!&$& "!**&"&&!
.32 %'!("!"*&"&&(%%'&"!!
 3&'!&"&4#*!(!!&4%&&#&
&&255***''54
6&! 99..
'!9'&! 7 7: ;
7"')%! 7 <
& 1,
: 8& = = 
##44!!   = =
&#%%+  = 
: >#& . ?1,
##4>#& . -1,
: 9& 1,
,'%@&A  = 
3&9& 9  = 
3&& 9 .3
3& IB = <B
9#4!!  = 
9#>#& ) - = 
#%& DB = B
#%&1&&' EB = B
D
N
e
E
E1
NOTE 1
12 3
b
A
A1
A2
L
L1
c
h
h
φ
β
α
  * ,1
24LCS22A
DS21682E-page 18 2009 Microchip Technology Inc.
 ! ""#$%& !'
 3&'!&"&4#*!(!!&4%&&#&
&&255***''54
2009 Microchip Technology Inc. DS21682E-page 19
24LCS22A
APPENDIX A: REVISI ON HISTORY
Revision B
Corrections to Section 1.0, Electrical Characteristics.
Revision C
Revised Section 8.1. Added new pac kage legend.
Revision D (07/2008)
Revised Features (added Pb-free); Replaced Pack age
Drawings (Rev. AP); Revised Product ID System.
Revision E (06/2009)
Revised Packag e Marking examples.
24LCS22A
DS21682E-page 20 2009 Microchip Technology Inc.
NOTES:
2009 Microchip Technology Inc. DS21682E-page 21
24LCS22A
THE MICROCHIP WEB SITE
Microc hip pro vides onl ine s upport v ia our W WW site at
www.microchip.c om. This web site is used as a m ean s
to make files and information easily available to
customers. Accessible by using your favorite Internet
browser, the web site contains the following
information:
Product Support – Data sheets and errata,
application notes and sample programs, design
resources, user’s guides and hardware support
documents, latest software releases and archived
software
General Technical Support – Frequently Asked
Questions (FAQ), technical support requests,
online dis cu ss io n gr oups, Microchip con sul t an t
program member listing
Business of Microchip – Product selector and
ordering guides, latest Microchip press releases,
listing of seminars and events, listings of
Microchip sales offices, distributors and factory
representatives
CUSTOMER CHANGE NOTIFICATION
SERVICE
Microchip’s customer notification service helps keep
customers current on Microchip products. Subscrib ers
will receive e-mail notification whenever there are
changes, updates, revisions or errata related to a
specif ied produ ct family or develo pment tool of interes t.
To register, access the Microchip web site at
www.microchip.com, click on Customer Change
Notification and follow the registration instructions.
CUSTOMER SUPP ORT
Users of Microchip products can receive assistance
through several channels:
Distributor or Representative
Local S ales Office
Field Application Engineer (FAE)
Technical Support
Development Systems Information Line
Customers should contact their distributor,
representative or field application engineer (FAE) for
support. Local sales offices are also available to help
customers. A listing of sales offices and locations is
included in the back of this document.
Technical suppo rt is avail able throug h the we b site
at: http://support.microchip.com
24LCS22A
DS21682E-page 22 2009 Microchip Technology Inc.
READER RESP ONSE
It is ou r intention to pro vi de you w it h th e best docume nt a tion possible to e ns ure suc c es sfu l u se of y ou r M ic roc hip prod-
uct. If you wi sh to prov ide you r comment s on org aniza tion, clar ity, subject matter, and ways i n whic h our doc umenta tion
can better serve you, please FAX your comments to the Technical Publications Manager at (480) 792-4150.
Please list the following information, and use this outline to provide us with your comments about this document.
To: Technical Publications Manager
RE: Reader Response Total Pages Sent ________
From: Name
Company
Address
City / State / ZIP / Country
Telephone: (_______) _________ - _________
Application (optional):
Would you like a reply? Y N
Device: Literature Number:
Questions:
FAX: (______) _________ - _________
DS21682E24LCS22A
1. What are the best features of this doc ument ?
2. How does this document meet your hardware and software development needs?
3. Do you find the organization of this docume nt easy to follow? If not, why?
4. What additions to the document do you think would enhance the structure and subject?
5. What deletions from the document could be made without affecting the overall usefulness?
6. Is there any incorrect or misleading information (what and where)?
7. How would you improve this document?
2009 Microchip Technology Inc. DS21682E-page 23
24LCS22A
PRODUCT IDENTIFICATION SYSTEM
To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office.
PART NO. X/XX
PackageTemperature
Range
Device
Device: 24LCS22A : 2K VESA E-EDID Serial EEPROM
24LCS22AT: 2K VESA E-EDID Serial EEPROM
(Tape and Ree l)
Temperature Range: I = -40°C to +85°C
Package: P = Plastic DIP (300 mil Body), 8-Lead
SN = Plastic SOIC (3.90 mm Body), 8-Lead
Examples:
a) 24LCS22A-I/P: Industrial temperature, PDIP
package.
b) 24LCS22A-I/SN: Industrial temperat ure, SOIC
package.
c) 24LCS22AT-I/SN:Tape and Reel, Industrial
temperature, SOIC package.
24LCS22A
DS21682E-page 24 2009 Microchip Technology Inc.
NOTES:
2009 Microchip Technology Inc. DS21682E-page 25
Information contained in this publication regarding device
applications a nd the lik e is provided only f or yo ur convenience
and may be supers ed ed by u pda t es . It is y our responsibil it y to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC,
KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PI C START,
rfPIC and UNI/O are registered trademarks of Microchip
Technology Incorporated in the U.S.A. and other countries.
FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor,
MXDEV, MXLA B, SEEVAL and The Embedded Control
Solutions Company are registered trademarks of Microchip
Technology Incorporated in the U.S.A.
Analog-for-the-Digital Age, Application Maestro, CodeGuard,
dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN,
ECONOMONIT OR, FanSense, HI-TIDE, In-Circuit Serial
Prog ra m ming , ICSP, ICEP I C , Mi n d i , M iW i , MPASM , MPLAB
Certified logo, MPLIB, MPLINK, mTouch, nanoWatt XLP,
Omniscient Code Generation, PICC, PICC-18, PICkit,
PICDEM, PICDEM.net, PICtail, PIC32 log o, REAL ICE, r fLAB,
Select Mode, Total Endurance, TSHARC, WiperLock and
ZENA are trademarks of Microchip Technology Incorporated
in the U.S.A. and other countries.
SQTP is a service mark of Microchip T echnology Incorporated
in the U.S.A.
All other trademarks mentioned herein are property of their
respective companies.
© 2009, Microchip Technology Inc orporated, Pr inted in the
U.S.A., All Rights Reserved.
Printed on recycled paper.
Note the following details of the code protection feature on Microchip devices:
Microchip products meet the specification contained in their particular Microchip Data Sheet.
Microchip believes that i t s family of products is one of the most secure families of its kind on the market today, when used in t he
intended manner and under normal conditions.
There are dishonest and possibly illegal m et hods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
Microchip is willing to work with the customer who is concerned about the integrity of their code.
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.
Code protection is c onstantly evolving. We a t Microc hip are co m mitted to continuously improving the code prot ect ion featur es of our
products. Attempts to break Microchip’ s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Microchip received ISO/TS-16949:2002 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
are for its PIC® MCUs and dsPIC® DSCs, KEELOQ® code hopping
devices, Serial EEPROMs, microperiph erals, nonvolatile memory and
analog products. In addition, Microchip’s quality system for the design
and manufacture of development systems is ISO 9001:2000 certified.
DS21682E-page 26 2009 Microchip Technology Inc.
AMERICAS
Corporate Office
2355 West Chandler Blvd.
Chandler, AZ 85224-6199
Tel: 480-792-7200
Fax: 480-792-7277
Technical Support:
http://support.microchip.com
Web Address:
www.microchip.com
Atlanta
Duluth, GA
Tel: 678-957-9614
Fax: 678-957-1455
Boston
Westborough, MA
Tel: 774-760-0087
Fax: 774-760-0088
Chicago
Itasc a , IL
Tel: 630-285-0071
Fax: 630-285-0075
Cleveland
Independence, OH
Tel: 216-447-0464
Fax: 216-447-0643
Dallas
Addison, TX
Tel: 972-818-7423
Fax: 972-818-2924
Detroit
Farmington Hills, MI
Tel: 248-538-2250
Fax: 248-538-2260
Kokomo
Kokomo, IN
Tel: 765-864-8360
Fax: 765-864-8387
Los A n ge les
Mission Viejo, CA
Tel: 949-462-9523
Fax: 949-462-9608
Santa Clara
Santa Clara, CA
Tel: 408-961-6444
Fax: 408-961-6445
Toronto
Mississauga, Ontario,
Canada
Tel: 905-673-0699
Fax: 905-673-6509
ASIA/PACIFIC
Asia Pacific Office
Suites 3707-14, 37th Floor
Tower 6, The Gateway
Harbour City, Kowloon
Hong Kong
Tel: 852-2401-1200
Fax: 852-2401-3431
Australia - Sydney
Tel: 61-2-9868-6733
Fax: 61-2-9868-6755
China - Beijing
Tel: 86-10-8528-2100
Fax: 86-10-8528-2104
China - Chengdu
Tel: 86-28-8665-5511
Fax: 86-28-8665-7889
China - Hong Kong SAR
Tel: 852-2401-1200
Fax: 852-2401-3431
China - Nanjing
Tel: 86-25-8473-2460
Fax: 86-25-8473-2470
China - Qingdao
Tel: 86-532-8502-7355
Fax: 86-532-8502-7205
China - Shanghai
Tel: 86-21-5407-5533
Fax: 86-21-5407-5066
China - Shenyang
Tel: 86-24-2334-2829
Fax: 86-24-2334-2393
China - Shenzhen
Tel: 86-755-8203-2660
Fax: 86-755-8203-1760
China - Wuhan
Tel: 86-27-5980-5300
Fax: 86-27-5980-5118
China - Xiamen
Tel: 86-592-2388138
Fax: 86-592-2388130
China - Xian
Tel: 86-29-8833-7252
Fax: 86-29-8833-7256
China - Zhuhai
Tel: 86-756-3210040
Fax: 86-756-3210049
ASIA/PACIFIC
India - Bangalore
Tel: 91-80-3090-4444
Fax: 91-80-3090-4080
India - New Delhi
Tel: 91-11-4160-8631
Fax: 91-11 - 4160-8632
India - Pune
Tel: 91-20-2566-1512
Fax: 91-20-2566-1513
Japan - Yokohama
Tel: 81-45-471- 6166
Fax: 81-45-471-6122
Korea - Daegu
Tel: 82-53-744-4301
Fax: 82-53-744-4302
Korea - Seoul
Tel: 82-2-554-7200
Fax: 82-2-558-5932 or
82-2-558-5934
Malaysia - Kuala Lumpur
Tel: 60-3-6201-9857
Fax: 60-3-6201-9859
Malaysia - Penang
Tel: 60-4-227-8870
Fax: 60-4-227-4068
Philippines - Manila
Tel: 63-2-634-9065
Fax: 63-2-634-9069
Singapore
Tel: 65-6334-8870
Fax: 65-6334-8850
Taiwan - Hsin Chu
Tel: 886-3-6578-300
Fax: 886-3-6578-370
Taiwan - Kaohsiung
Tel: 886-7-536-4818
Fax: 886-7-536-4803
Taiwan - Taipei
Tel: 886-2-2500-6610
Fax: 886-2-2508-0102
Thailand - Bangkok
Tel: 66-2-694-1351
Fax: 66-2-694-1350
EUROPE
Austria - Wels
Tel: 43-7242-2244-39
Fax: 43-7242-2244-393
Denmark - Cop e nha gen
Tel: 45-4450-2828
Fax: 45-4485-2829
France - Paris
Tel: 33-1-69-53-63-20
Fax: 33-1-69-30-90-79
Germany - Munich
Tel: 49-89-627-144-0
Fax: 49-89-627-14 4-44
Italy - Milan
Tel: 39-0331-742611
Fax: 39-0331-466781
Netherlands - Drunen
Tel: 31-416-690399
Fax: 31-416-690340
Spain - Madrid
Tel: 34-91-708-08-90
Fax: 34-91-708-08 -91
UK - Wokingham
Tel: 44-118-921- 5869
Fax: 44-118-921-5820
WORLDWIDE SALES AND SERVICE
03/26/09