• Completely implements DDC1™/DDC2™
interface for monitor identification, including
recovery to DDC1
• Pin and function compatible with 24LC21
• Low-power CMOS technology
- 1 mA typical active current
-10 µA standby current typical at 5.5V
• 2-wire serial interface bus, I
2
C™ compatible
• 100 kHz (2.5V) and 400 kHz (5V) compatibility
• Self-timed write cycle (including auto-erase)
• Page write buffer for up to eight bytes
• 1,000,000 erase/write cycles ensured
• Data retention > 200 years
• ESD Protection > 4000V
• 8-pin PDIP and SOIC package
• Available for extended temperature ranges
- Commercial (C):0°C to +70°C
- Industrial (I):-40°Cto +85°C
Description
The Microchip Technology Inc. 24LC21A is a 128x 8-bit
dual-mode Electrically Erasable PROM. 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 and Bidirectional mode. Upon
power-up, the device will be in the Transmit-only mode,
sending a serial bit stream of the memory 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 control byte on
2
C bus. If it detects a valid control byte from the
the I
master, it will switch into Bidirectional mode, with byte
selectable read/write capability of the memory array
using SCL. If no control byte is received, the device will
revert to the Transmit-only mode after it receives 128
consecutive VCLK pulses while the SCL pin is idle. The
24LC21A is available in a standard 8-pin PDIP and
SOIC package in both commercial and industrial
temperature ranges.
DDC is a trademark of the Video Electronics Standards
Association.
2
C is a trademark of Philips Corporation.
I
Package Types
PDIP
NC
1
8
24LC21A
NC
V
NC
SS
2
3
4
7
6
5
SOIC
NC
1
8
24LC21A
NC
NC
Vss
2
3
4
7
6
5
Block Diagram
SDA
V
VSS
I/O
Control
Logic
SCL
VCLK
CC
Memory
Control
Logic
XDEC
Pin Function Table
NameFunction
SSGround
V
SDASerial Address/Data I/O
SCLSerial Clock (Bidirectional mode)
SS.........................................................................................................................................-0.6V to VCC +1.0V
Storage temperature ...............................................................................................................................-65°C to +150°C
Ambient temperature with power applied................................................................................................-65°C to +125°C
ESD protection on all pins ......................................................................................................................................................≥ 4 kV
† NOTICE: Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to
the device. This is a stress rating only and functional operation of the device at those or any other conditions
above those indica ted in the opera tional li stings of this sp ecification is not i mplied. Ex posure to maximum rating
conditions for extended periods may affect device reliability.
TABLE 1-1:DC CHARACTERISTICS
VCC = +2.5V to 5.5V
DC CHARACTERISTICS
Commercial (C): T
Industrial (I): T
ParameterSymbolMinMaxUnitsConditions
SCL and SDA pins:
High-level input voltage
Low-level input voltage
VIH
VIL
Input levels on VCLK pin:
High-level input voltage
Low-level input voltage
Hysteresis of Schmitt Trigger inputs V
Low-level output voltageV
Low-level output voltageV
Input leakage currentI
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 generation of Start or Stop conditions.
3: The combined T
spike suppression. This eliminates the need for a T
SP and VHYS specifications are due to Schmitt Trigger inputs which provide noise and
I specification for standard operation.
4: T his parameter is not tested but ensured by characterization. For endurance estimates in a specific
application, please consult the Total Endurance™ Model which can be obtained from our web site.
2003 Microchip Technology Inc.DS21160F-page 3
24LC21A
2.0FUNCTIONAL DESCRIPTION
The 24LC21A is designed to comply to the DDC
Standard proposed by VESA (Figure 3-3) with the
exception that it is not Access.bus cap ab le. I t operates
in two modes, the Transmit-only mode and the
Bidirectional mode. T here is a sep ara te 2- wire prot ocol
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 power-up.
In this mode, the dev ice t ransm its dat a bit s o n the SD A
pin in response to a clock signal 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. Otherwise, it will
revert to the Transmit-only mode after it sees 128
VCLK pulses.
2.1Transmit-Only Mode
The device will power-up in the Transmit-only mode at
address 00H. This mode supports a unidirectional
2-wire protocol for continuous transmission of the
contents of th e memory a rray. This d evice requi res that
it be initialized prior to valid data being sent in the
Transmit-only mode (Section 2.2 “Initialization Pro-cedure”). In this mod e, data is trans mitted 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 Transmitonly mode is provided on the VCLK pin, and a data bit
is output on the rising edge on this pin. Th e eight bit s 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
around to the first memory loca tion (00h) and conti nue.
The Bidirectional mode Clock (SCL) pin must be held
high for the device to remain in the Transmit-only
mode.
2.2Initialization Procedure
After VCC has stabilized, the device will be in the
Transmit -only mode. Nine clock cy cles on the VCL K pin
must be given to the device for it to perform internal
sychronization. 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
SCL
TvaaTvaa
SDA
Bit 1 (LSB)
VCLK
TvlowTvhigh
FIGURE 2-2:DEVICE INITIALIZATION
Vcc
SCL
SDA
Tvpu
VCLK
12891011
Null Bit
Bit 1 (MSB)Bit 7
TvaaTvaa
Bit 8Bit 7High-impedance for 9 clock cycles
DS21160F-page 4 2003 Microchip Technology Inc.
24LC21A
3.0BIDIRECTIONAL MODE
Before the 24LC21A can be switched into the
Bidirectional mode (Figure3-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 it enters the Transition mode, it looks
for a control byte 1010 000X on the I
starts to count pulses on VCLK. Any high-to-low transition on the SCL line will reset the count. If it sees a
pulse count of 128 on VCLK while the SCL line 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 I
in the Bidirectional mode. Once the device has made
the transition to the Bidire ctiona l mode , the onl y way to
switch the device back to the Transmit-only mode is to
remove power from the device. The mode transition
process is shown in detail in Figure3-3.
2
C™ bus, (Figure 3-2) it will switch to the
2
C™ bus, and
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. This mode supports a two-wire
Bidirectional data transmission protocol (I
protocol, a devic e that se nds dat a on the bus is define d
to be the transmitter, and a device that receives data
from the bus is defined to be the rece iver . The bus must
be controlled by a master device that generates the
Bidirectional mode Clock (SCL), co ntro ls access to th e
bus and generates the Sta r t an d Stop co ndi tio ns, while
the 24LC21A acts as the slave. Both master and slave
can operate as transmitter or receiver, but the master
device determines which mode is activated. In the
Bidirectional mode, the 24LC21A only responds to
commands for device 1010 000X.
FIGURE 3-1:MODE TRANSITION WITH RECOVERY TO TRANSMIT-ONLY MODE
MODE
Transmit
Only
Bidirectional
TVHZ
Recovery to Transmit-only mode
2
C™). In this
SCL
(MSB of data in 00h)
SDA
VCLK count =
VCLK
1 2 3 4 127 128
Bit8
FIGURE 3-2:SUCCESSFUL MODE TRANSITION TO BIDIRECTIONAL MODE
Transmit
Only mode
MODE
SCL
SDA
VCLK count = 1 2 n 0
VCLK
Transition mode with possibility to return to Transmit-only mode
S1 0 1 00000 ACK
n < 128
Bidirectional
permanently
2003 Microchip Technology Inc.DS21160F-page 5
24LC21A
FIGURE 3-3:DISPLAY OPERATION PER DDC STANDARD PROPOSED BY VESA
The 24LC21A was designed to
Display Power-on
or
DDC Circuit Powered
from +5 volts
Communication
is idle
comply to the portion of flowchart insi de das h box
No
No
No
Is Vsync
present?
Yes
Send EDID continuously
using Vsync as clock
High-to-low
transition on
SCL?
Yes
Stop sending EDID.
Switch to DDC2 mode.
Display has
optional
transition state
?
Yes
Set Vsync counter = 0
or start timer
Change on
SCL, SDA or
VCLK lines?
Yes
High - low
transition on SCL
?
Yes
Reset Vsync counter = 0
Valid
DDC2 address
received?
No
VCLK
cycle?
Yes
Increment VCLK counter
(if appropriate)
No
No
No
Reset counter or timer
Yes
High-to-low
transition on
SCL?
Yes
DDC2 communication
idle. Display waiting for
address byte.
DDC2B
address
received?
No
Is display
Access.bus
Valid Access.bus
See Access.bus
specification to determine
correct procedure.
TM
capable?
Yes
address?
Yes
No
Yes
Respond to DDC2B
No
No
Receive DDC2B
command
command
No
Counter=128 or
timer expired?
Yes
Switch back to DDC1
mode.
Note 1: The base flowchart is cop yright 199 3, 1994, 1995 V ideo El ectroni c Standard Ass ociation (VESA) from
VESA’s Display Data Channel (DDC) Standard Proposal ver. 2p rev. 0, used by permission of VESA.
2: The dash box and text “The 24LC21A and... inside dash box.” are added by Microchip Technology Inc.
3: Vsync signal is normally used to derive a signal for VCLK pin on the 24LC21A.
DS21160F-page 6 2003 Microchip Technology Inc.
Loading...
+ 12 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.