IC Phoenix
 
Home ›  DD27 > DS1858,Dual Temperature-Controlled Resistors with Three Monitors
DS1858 Fast Delivery,Good Price
Part Number:
If you need More Quantity or Better Price,Welcom Any inquiry.
We available via phone +865332716050 Email
Partno Mfg Dc Qty AvailableDescript
DS1858DSN/a10avaiDual Temperature-Controlled Resistors with Three Monitors
DS1858DALLASN/a80avaiDual Temperature-Controlled Resistors with Three Monitors


DS1858 ,Dual Temperature-Controlled Resistors with Three MonitorsFeaturesThe DS1858 dual temperature-controlled nonvolatile♦ Five Total Monitored Channels (Temperat ..
DS1858 ,Dual Temperature-Controlled Resistors with Three MonitorsApplications♦ 2-Wire Serial InterfaceOptical Transceivers♦ Two Buffers with TTL/CMOS-Compatible Inp ..
DS1858B-050 ,Dual Temperature-Controlled Resistors with Three MonitorsApplicationsOptical Transceivers♦ Two Buffers with TTL/CMOS-Compatible InputsOptical Transponders a ..
DS1858B-050+ ,Dual Temperature-Controlled Resistors with Three MonitorsApplications♦ 2-Wire Serial InterfaceOptical Transceivers♦ Two Buffers with TTL/CMOS-Compatible Inp ..
DS1858E-050 ,Dual Temperature-Controlled Resistors with Three MonitorsFeaturesThe DS1858 dual temperature-controlled nonvolatile♦ Five Total Monitored Channels (Temperat ..
DS1859 ,Dual, Temperature-Controlled Resistors with Internally Calibrated MonitorsFeaturesThe DS1859 dual, temperature-controlled, nonvolatile ♦ SFF-8472 Compatible(NV) variable res ..
DZD9.1 ,0.2W Zener DiodesElectrical Characteristics at Ta = 25˚CZener voltage VZ will be subdivided into X, Y, Z at your req ..


DS1858
Dual Temperature-Controlled Resistors with Three Monitors
DS1858
Dual Temperature-Controlled
Resistors with Three Monitors
General Description

The DS1858 dual temperature-controlled nonvolatile
(NV) variable resistors with three monitors consists of
two 50kΩ256-position linear variable resistors, three
analog monitor inputs (MON1, MON2, MON3), and a
direct-to-digital temperature sensor. The device pro-
vides an ideal method for setting and temperature-com-
pensating bias voltages and currents in control
applications using minimal circuitry. The variable resis-
tor settings are stored in EEPROM memory and can be
accessed over the 2-wire serial bus.
Applications

Optical Transceivers
Optical Transponders
Instrumentation and Industrial Controls
RF Power Amps
Diagnostic Monitoring
Features
Five Total Monitored Channels (Temperature,
VCC, MON1, MON2, MON3)
Three External Analog Inputs (MON1, MON2,
MON3)
Internal Direct-to-Digital Temperature SensorTwo 50kΩ, Linear, 256-Position, Nonvolatile
Temperature-Controlled Variable Resistors
Resistor Settings Changeable Every 2°CAccess to Monitoring and ID Information
Configurable with Separate Device Addresses
2-Wire Serial InterfaceTwo Buffers with TTL/CMOS-Compatible Inputs
and Open-Drain Outputs
Operates from a 3.3V or 5V SupplySFF-8472 Compatible
Ordering Information

Rev 1; 5/06
EVALUATION KIT
AVAILABLE
PARTTEMP RANGEPIN-PACKAGE

DS1858E-050-40°C to +95°C16 TSSOP
DS1858E-050+-40°C to +95°C16 TSSOP
DS1858E-050/T&R-40°C to +95°C16 TSSOP
(Tape-and-Reel)
DS1858B-050-40°C to +95°C16-Ball CSBGA
TOP VIEW
16-BALL CSBGA (4mm x 4mm)
1.0mm PITCH
16 TSSOP24
MON3OUT1IN2
MON1L0GND
WPENH0SDAOUT2VCCSCLIN1
MON2
DS1858
SDA1
SCL
OUT1
IN1
OUT2
IN2
WPEN
GND
VCC
MON3
MON2
MON1
Pin Configurations

DS1858
SDA1
0.1μF
SCL
OUT1
IN1
OUT2
IN2
WPEN
GND
VCC
MON3
MON2
MON1
GROUND TO
DISABLE WRITE
PROTECT
Tx POWER*
DIAGNOSTIC
INPUTS
0 TO 2.5V FS
TO LASER
MODULATION
CONTROL
TO LASER BIAS
CONTROL
DECOUPLING
CAP
Rx POWER*
Tx BIAS*
*Rx POWER, Tx BIAS, AND Tx POWER CAN BE
ARBITRARILY ASSIGNED TO THE MON INPUTS
VCC
VCC = 3.3V
4.7kΩ4.7kΩ
Tx-FAULT
LOS
2-WIRE
INTERFACE
Typical Operating Circuit

+Denotes lead-free package.
DS1858
Dual Temperature-Controlled
Resistors with Three Monitors
PARAMETERSYMBOLCONDITIONSMINTYPMAXUNITS

Supply VoltageVCC(Note 1)3.05.5V
Input Logic 1 (SDA, SCL, WPEN)VIH(Note 2)0.7 x VccVCC + 0.3V
Input Logic 0 (SDA, SCL, WPEN)VIL(Note 2)-0.30.3 x VCCV
Resistor Inputs (L0, L1, H0, H1)-0.3VCC + 0.3V
Resistor CurrentIRES-3+3mA
VIHInput logic 11.5Input Logic Levels (IN1, IN2)VILInput logic 00.9V
ABSOLUTE MAXIMUM RATINGS

Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional
operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to
absolute maximum rating conditions for extended periods may affect device reliability.
Voltage on VCCRelative to Ground.......................-0.5V to +6.0V
Voltage on Inputs Relative
to Ground*................................................-0.5V to VCC+ 0.5V
Voltage on Resistor Inputs Relative
to Ground*................................................-0.5V to VCC+ 0.5V
Current into Resistors............................................................5mA
Operating Temperature Range...........................-40°C to +95°C
Programming Temperature Range.........................0°C to +70°C
Storage Temperature Range.............................-55°C to +125°C
Soldering Temperature.......................................See IPC/JEDEC
RECOMMENDED DC OPERATING CONDITIONS

(TA= -40°C to +95°C, unless otherwise noted.)
PARAMETERSYMBOLCONDITIONSMINTYPMAXUNITS

Supply CurrentICC(Note 3)12mA
Input LeakageIIL-1+1µA
Input Current each I/O Pin0.4 x VCC < VI/O < 0.9 x VCC-10+10µA
VOL13mA sink current00.4Low-Level Output Voltage (SDA)VOL26mA sink current00.6V
Full-Scale Input (MON1, MON2,
MON3)(Note 4)2.48752.52.5125V
Full-Scale VCC Monitor(Note 5)6.52086.55366.5864V
I/O CapacitanceCI/O10pF
WPEN PullupRWPEN4065100kΩ
VOL13mA sink current00.4VOUT1, OUT2 VoltageVOL26mA sink current00.6V
Digital Power-On ResetPOD1.02.2V
Analog Power-On ResetPOA2.02.6V
DC ELECTRICAL CHARACTERISTICS

(VCC= 3.0V to 5.5V, TA= -40°C to +95°C, unless otherwise noted.)
*Not to exceed 6.0V.
DS1858
Dual Temperature-Controlled
Resistors with Three Monitors
PARAMETERSYMBOLCONDITIONSTYPMAXUNITS

Thermometer ErrorTERR-40°C to +95°C±3.0°C
DIGITAL THERMOMETER

(VCC= 3.0V to 5.5V, TA= -40°C to +95°C, unless otherwise noted.)
PARAMETERSYMBOLCONDITIONSMINTYPMAXUNITS

Input ResolutionΔVMON610µV
Supply ResolutionΔVCC1.6mV
Input/Supply AccuracyACC0.250.5% FS
(full scale)
Update Rate for MON1, MON2,
MON3, Temp, or VCCtframe2536ms
ANALOG VOLTAGE MONITORING

(VCC= 3.0V to 5.5V, TA= -40°C to +95°C, unless otherwise noted.)
PARAMETERSYMBOLCONDITIONSMINTYPMAXUNITS

Position 00h ResistanceTA = +25°C0.71.01.25kΩ
Position FFh ResistanceTA = +25°C405060kΩ
Absolute Linearity(Note 6)-2+2LSB
Relative Linearity(Note 7)-1+1LSB
Temperature Coefficient(Note 8)50ppm/°C
ANALOGRESISTOR CHARACTERISTICS

(VCC= 3.0V to 5.5V, TA= -40°C to +95°C, unless otherwise noted.)
DS1858
Dual Temperature-Controlled
Resistors with Three Monitors
PARAMETERSYMBOLCONDITIONSMINTYPMAXUNITS

Fast mode (Note 9)0400SCL Clock FrequencyfSCLStandard mode (Note 9)0100kHz
Fast mode (Note 9)1.3Bus Free Time Between STOP and
START ConditiontBUFStandard mode (Note 9)4.7µs
Fast mode (Notes 9, 10)0.6Hold Time (Repeated)
START ConditiontHD:STAStandard mode (Notes 9, 10)4.0µs
Fast mode (Note 9)1.3Low Period of SCL ClocktLOWStandard mode (Note 9)4.7µs
Fast mode (Note 9)0.6High Period of SCL ClocktHIGHStandard mode (Note 9)4.0µs
Fast mode (Notes 9, 11, 12)00.9Data Hold TimetHD:DATStandard mode (Notes 9, 11, 12)0µs
Fast mode (Note 9)100Data Setup TimetSU:DATStandard mode (Note 9)250ns
Fast mode (Note 9)0.6Start Setup TimetSU:STAStandard mode (Note 9)4.7µs
Fast mode (Note 13)20 + 0.1CB300Rise Time of Both SDA and SCL
SignalstRStandard mode (Note 13)20 + 0.1CB1000ns
Fast mode (Note 13)20 + 0.1CB300Fall Time of Both SDA and SCL
SignalstFStandard mode (Note 13)20 + 0.1CB300ns
Fast mode0.6Setup Time for STOP ConditiontSU:STOStandard mode4.0µs
Capacitive Load for Each Bus LineCB(Note 13)400pF
EEPROM Write TimetW(Note 14)10msELECTRICAL CHARACTERISTICS
(VCC= 3.0V to 5.5V, TA= -40°C to +95°C, unless otherwise noted.)
Note 1:
All voltages are referenced to ground.
Note 2:
I/O pins of fast-mode devices must not obstruct the SDA and SCL lines if VCCis switched off.
Note 3:
SDA and SCL are connected to VCCand all other input signals are connected to well-defined logic levels.
Note 4:
The maximum voltage the MON inputs will read is approximately 2.5V, even if the voltage on the inputs is greater than 2.5V.
Note 5:
This voltage is defining the maximum range of the analog-to-digital converter voltage and not the maximum VCC voltage.
Note 6:
Absolute linearity is the difference of measured value from expected value at DAC position. The expected value is a
straight line from measured minimum position to measured maximum position.
Note 7:
Relative linearity is the deviation of an LSB DAC setting change vs. the expected LSB change. The expected LSB change
is the slope of the straight line from measured minimum position to measured maximum position.
Note 8:
See the Typical Operating Characteristics.
Note 9:
A fast-mode device can be used in a standard-mode system, but the requirement tSU:DAT> 250ns must then be met. This
is automatically the case if the device does not stretch the LOW period of the SCL signal. If such a device does stretch the
LOW period of the SCL signal, it must output the next data bit to the SDA line tRMAX+ tSU:DAT= 1000ns + 250ns = 1250ns
before the SCL line is released.
DS1858
Dual Temperature-Controlled
Resistors with Three MonitorsELECTRICAL CHARACTERISTICS (continued)

(VCC= 3.0V to 5.5V, TA= -40°C to +95°C, unless otherwise noted.)
Note 10:
After this period, the first clock pulse is generated.
Note 11:
The maximum tHD:DATonly has to be met if the device does not stretch the LOW period (tLOW) of the SCL signal.
Note 12:
A device must internally provide a hold time of at least 300ns for the SDA signal (see the VIH MIN of the SCL signal) in order
to bridge the undefined region of the falling edge of SCL.
Note 13:
CB—total capacitance of one bus line, timing referenced to 0.9 x VCCand 0.1 x VCC.
Note 14:
EEPROM write begins after a STOPcondition occurs.
Typical Operating Characteristics

(VCC= 5.0V, TA= +25°C, unless otherwise noted.)
SUPPLY CURRENT vs. TEMPERATURE

DS1858 toc01
TEMPERATURE (°C)
SUPPLY CURRENT (6040200-20
SUPPLY CURRENT vs. VOLTAGE
DS1858 toc02
VOLTAGE (V)
SUPPLY CURRENT (
RESISTANCE vs. SETTING
DS1858 toc03
SETTING
RESISTANCE (k
ACTIVE SUPPLY CURRENT
vs. SCL FREQUENCY
DS1858 toc04
SCL FREQUENCY (kHz)
ACTIVE SUPPLY CURRENT (
SDA = 5V
0400
DS1858
Dual Temperature-Controlled
Resistors with Three Monitorsypical Operating Characteristics (continued)

(VCC= 5.0V, TA= +25°C, unless otherwise noted.)
RESISTOR 0 INL (LSB)

DS1858 toc05
POSITION
RESISTOR 0 INL (LSB)
RESISTOR 1 INL (LSB)
DS1858 toc07
POSITION
RESISTOR 1 INL (LSB)
RESISTOR 1 DNL (LSB)
DS1858 toc08
RESISTOR 1 DNL (LSB)
POSITION
RESISTANCE vs. POWER-UP VOLTAGE
+25°C
DS1858 toc09
POWER-UP VOLTAGE (V)
RESISTANCE (k321
RESISTOR 0 DNL (LSB)
DS1858 toc06
RESISTOR 0 DNL (LSB)
POSITION
PPM vs. POSITION
DS1858 toc12
POSITION
ppm/
+25°C TO +85°C
+25°C TO -40°C
DS1858 toc11
POSITION FFH RESISTANCE vs. TEMPERATURE
TEMPERATURE (°C)
RESISTANCE (k655035205-10-25-4095
POSITION 00H RESISTANCE vs. TEMPERATURE

DS1858 toc10
TEMPERATURE (°C)
RESISTANCE (k655035205-10-25
-4095
Dual Temperature-Controlled
Resistors with Three Monitors
Detailed Description

The user can read the registers that monitor the VCC,
MON1, MON2, MON3, and temperature analog signals.
After each signal conversion, a corresponding bit is set
that can be monitored to verify that a conversion has
occurred. The signals also have alarm flags that notify
the user when the signals go above or below the user-
defined value. Interrupts can also be set for each signal.
The position values of each resistor can be indepen-
dently programmed. The user can assign a unique
value to each resistor for every 2°C increment over the
-40°C to +102°C range.
Two buffers are provided to convert logic-level inputs
into open-drain outputs. Typically these buffers are
used to implement transmit (Tx) fault and loss-of-signal
(LOS) functionality. Additionally, OUT1 can be asserted
in the event that one or more of the monitored values
go beyond user-defined limits.
PINBALLNAMEFUNCTION

1B2SDA2-Wire Serial Data I/O Pin. This pin is for serial data transfer to and from the device.A2SCL2-Wire Serial Clock Input. The serial clock input is used to clock data into and out of the device.
3C3OUT1Open-Drain Buffer OutputA1IN1TTL/CMOS-Compatible Input to Buffer
5B1OUT2Open-Drain Buffer OutputC2IN2TTL/CMOS-Compatible Input to Buffer
7C1WPENWrite Protect Enable. The device is not write protected if WPEN is connected to ground. This pin has
an internal pullup (RWPEN). See Table 6.
8D1GNDGround
9D3MON1External Analog InputD4MON2External Analog InputC4MON3External Analog InputD2L0
Low-End Resistor 0 Terminal. It is not required that the low-end terminals be connected to a potential
less than the high-end terminals of the corresponding resistor. Voltage applied to any of the resistor
terminals cannot exceed the power-supply voltage, VCC, or go below ground.B3H0
High-End Resistor 0 Terminal. It is not required that the high-end terminals be connected to a
potential greater than the low-end terminals of the corresponding resistor. Voltage applied to any of
the resistor terminals cannot exceed the power-supply voltage, VCC, or go below ground.B4L1Low-End Resistor 1 TerminalA4H1High-End Resistor 1 TerminalA3VCCSupply Voltage
Pin Descriptions
DS1858
DS1858
Dual Temperature-Controlled
Resistors with Three Monitors

DEVICE
ADDRESS
AD (AUXILIARY DEVICE ENABLE A0h)
MD (MAIN DEVICE ENABLE)
DEVICE ADDRESS
ADDRESS
ADDRESS
ADDRESS
R/W
R/W
TxF
DATA BUS
R/W
TxF
RxL
LOS
ADENADFIX
SDA
SCL
IN1
OUT1
2-WIRE
INTERFACE
MINT
INV1
Tx FAULT
IN2
MON2
MON1
MON3
VCC
GND
WPEN
OUT2
INV2
EEPROM
128 x 8 BIT
00h-7Fh
STANDARDS
PROT
AUXAD
ADDRESS
TABLE
SELECT
R/W
EEPROM
72 x 8 BIT
80h-C7h
TABLE 02
RESISTOR 0
LOOK-UP
TABLE
PROT
MAINMD
EEPROM
96 x 8 BIT
00h-5Fh
LIMITS
SRAM
32 x 8 BIT
60h-7Fh
NOT PROTECTED
PROT
MAINMD
TEMP INDEX
ALARM FLAGS
MUX
CTRL
MEASUREMENT
ADDRESS
TABLE
SELECT
R/W
EEPROM
72 x 8 BIT
80h-C7h
TABLE 03
RESISTOR 1
LOOK-UP
TABLE
PROT
MAINMD
TEMP INDEX
RWPEN
MONITORS LIMIT
HIGH
MONITORS LIMIT
LOW
TABLE SELECT
TEMP INDEX
MINT (BIT)
INTERNAL
TEMPVCC
MUXA/D
12-BIT
A/D
CTRL
VCCVCC
PROT AUX
PROT MAIN
MPEN
APEN
COMPARATOR
MEASUREMENT
ALARM FLAGS
MONITORS LIMIT LOW
MONITORS LIMIT HIGH
COMP CTRL
INTERRUPT
MINT
TABLE 01
EEPROM
16 x 8 BIT
80h-8Fh
VENDOR
PROT
MAINMDR/W
DEVICE ADDRESS
ADDRESS
TABLE SELECT
MASKING (TMP, VCC, MON1, MON2, MON3)
ADFIX (BIT)
ADEN (BIT)
MPEN (BIT)
APEN (BIT)
INV2 (BIT)
INV1 (BIT)
RESISTOR 0
50kΩ FULL SCALE
256 POSITIONS
REGISTER
REGISTER
RESISTOR 1
50kΩ FULL SCALE
256 POSITIONS
Figure 1. DS1858 Block Diagram
DS1858
Dual Temperature-Controlled
Resistors with Three Monitors
Monitored Signals

Each signal (VCC, MON1, MON2, MON3, and tempera-
ture) is available as a 16-bit value with 12-bit accuracy
(left-justified) over the serial bus. See Table1 for signal
scales and Table2 for signal format. The four LSBs
should be masked when calculating the value.
The signals are updated every frame rate (tframe) in a
round-robin fashion.
The comparison of all five signals with the high and low
user-defined values are done automatically. The corre-
sponding flags are set to 1 within a specified time of
the occurrence of an out-of-limit condition.
Calculating Signal Values

The LSB = 100µV for VCC, and the LSB = 38.147µV for
the MON signals.
To calculate the value of VCC, convert the unsigned 16-
bit value to decimal and multiply by 100µV.
To calculate the value of MON1, MON2, or MON3 con-
vert the unsigned 16-bit value to decimal and multiply
by 38.147µV.
To calculate the value of the temperature, treat the
two’s complement value binary number as an unsigned
binary number, then convert to decimal and divide by
256. If the result is greater than or equal to 128, then
subtract 256 from the result.
Temperature: high byte: -128°C to +127°C signed; low
byte: 1/256°C.
SIGNAL+FS
SIGNAL
+FS
(hex)
-FS
SIGNAL
-FS
(hex)

Temperature127.996°C7FFF-128°C8000
VCC6.55VFFFF0V0000
MON12.5VFFFF0V0000
MON22.5VFFFF0V0000
MON32.5VFFFF0V0000
Table 1. Scales for Monitor Channels
SIGNALFORMAT

VCCUnsigned
MON1Unsigned
MON2Unsigned
MON3Unsigned
TemperatureTwo’s complement
Table 2. Signal Comparison
TEMPERATURECORRESPONDING LOOK-UP
TABLE ADDRESS

<-40°C80h
-40°C80h
-38°C81h
-36°C82h
-34°C83h
+98°CC5h
+100°CC6h
+102°CC7h
>+102°CC7h
Table 3. Look-up Table Address for
Corresponding Temperature Values

MSB2152142132122112102928
LSB2726252423222120
MSB (BIN)LSB (BIN)VOLTAGE (V)

MSB (BIN)LSB (BIN)TEMPERATURE (°C)
MSB (BIN)LSB (BIN)VOLTAGE (V)
Monitor/VCCBit WeightsTemperatureBit Weights
Monitor Conversion Example
VCCConversion Examples
Temperature Conversion Examples
DS1858
Dual Temperature-Controlled
Resistors with Three Monitors
ADEN
(ADDRESS
ENABLE)
NO. OF SEPARATE
DEVICE
ADDRESSES
ADDITIONAL
INFORMATION
2See Figure 21 (Main Device only)See Figure 3
Table 4. ADEN Address Configuration
ADENADFIXAUXILIARY
ADDRESSMAIN ADDRESS
0A0hA2h1A0hEEPROM
(Table 01, 8Ch)0N/AA2h1N/AEEPROM
(Table 01, 8Ch)
Table 5. ADEN and ADFIX Bits

MAIN
DEVICE
MON LOOK-UP
TABLE CONTROLR0 LOOK-UP
TABLE
AUXILIARY
DEVICE
DEC
MEMORY PARTITION WITH ADEN BIT = 0
5Fh
60h
SEL
SEL
7Fh7Fh80h80h
C7h
F0h
FFh
RESERVED
8Fh
TABLE SELECT
MAIN DEVICE ENABLE
AUXILIARY DEVICE ENABLE
DECODER
F0h
FFh
RESERVED
R1 LOOK-UP
TABLE
SEL
80h
C7h
TABLE 03TABLE 02TABLE 01
Figure 2. Memory Organization, ADEN = 0
MAIN
DEVICE
MON LOOK-UP
TABLE CONTROLR0 LOOK-UP
TABLE
AUXILIARY
DEVICE
80h
DEC
5Fh
60h
SEL
SEL
FFh
7Fh80h80h
C7h
F0h
FFh
RESERVED
8Fh
TABLE SELECT
TABLE 00
MAIN DEVICE ENABLE
DECODER
F0h
FFh
RESERVED
R1 LOOK-UP
TABLE
SEL
80h
C7h
TABLE 03TABLE 02TABLE 01
MEMORY PARTITION WITH ADEN BIT = 1
Figure 3. Memory Organization, ADEN = 1
DS1858
Dual Temperature-Controlled
Resistors with Three Monitors
Variable Resistors

The value of each variable resistor is determined by
a temperature-addressed look-up table, which can
assign a unique value (00h to FFh) to each resistor for
every 2°C increment over the -40°C to +102°C range
(see Table3). See the Temperature Conversion section
for more information.
The variable resistors can also be used in manual
mode. If the TEN bit equals 0, then the resistors are in
manual mode and the temperature indexing is dis-
abled. The user sets the resistors in manual mode by
writing to addresses 82h and 83h in Table 01 to control
resistors 0 and 1, respectively.
Memory Description

Main and auxiliary memories can be accessed by two
separate device addresses. The Main Device address
is A2h (or value in Table 01 byte 8Ch, when ADFIX = 1)
and the Auxiliary Device address is A0h. A user option
is provided to respond to one or two device addresses.
This feature can be used to save component count in
SFF applications (Main Device address can be used)
or other applications where both GBIC (Auxiliary
Device address can be used) and monitoring functions
are implemented and two device addresses are need-
ed. The memory blocks are enabled with the corre-
sponding device address. Memory space from 80h and
up is accessible only through the Main Device address.
This memory is organized as three tables; the desired
tablecan be selected by the contents of memory loca-
tion 7Fh, Main Device. The Auxiliary Device address
has no access to the tables, but the Auxiliary Device
address can be mapped into the Main Device’s memo-
ry space as a fourth table. Device addresses are pro-
grammable with two control bits in EEPROM.
ADEN configures memory access to respond to differ-
ent device addresses (see Tables4 and 5).
The default device address for EEPROM-generated
addresses is A2h.
If the ADEN bit is 1, additional 128 bytes of EEPROM
are accessible through the Main Device, selected as
Table00 (see Figure3). In this configuration, the
Auxiliary Device is not accessible. APEN controls the
protection of Table 00 regardless of the setting of
ADEN.
ADFIX (address fixed) determines whether the Main
Device address is determined by an EEPROM byte
(Table01, byte 8Ch, when ADFIX =1). There can be up
to 128 devices sharing a common 2-wire bus, with
each device having its own unique device address.
Memory Protection

Memory access from either device address can be
either read/write or read only. Write protection
is accomplished by a combination of control bits in
EEPROM (APEN and MPEN in configuration register
89h) and a write-protect enable (WPEN) pin. Since the
WPEN pin is often not accessible from outside the mod-
ule, this scheme effectively allows the module to be
locked by the manufacturer to prevent accidental writes
by the end user.
Separate write protection is provided for the Auxiliary
and Main Device address through distinct bits APEN
and MPEN. APEN and MPEN are bits from configura-
tion register 89h, Table01. Due to the location, the
APEN and MPEN bits can only be written through the
Main Device address. The control of write privileges
through the Auxiliary Device address is dependent on
the value of APEN. Care should be taken with the set-
ting of MPEN, once set to a 1, assuming WPEN is high,
access through the Main Device is thereafter denied
unless WPEN is taken to a low level. By this means
inadvertent end-user write access can be denied.
Main Device address space 60h to 7Fh is SRAM and is
not write protected by APEN, MPEN, or WPEN. For
example, the user may reset flags set by the device.
Bytes designated as “Reserved” may be used as
scratchpad, but they will not be stored in a power cycle
because of their volatility. These bytes are reserved for
added functionality in future versions of this device.
Note that in single device mode (ADEN bit = 1), APEN
determines the protection level of Table00, indepen-
dent of WPEN.
The write-protect operation, for both Main and Auxiliary
Devices, is summarized in Tables 6 and 7.
WPENMPENPROTECT MAIN
NoNo1Yes
Table 6. Main Device
APENWPENPROTECT AUXILIARY
XNoXYes
Table 7. Auxiliary Device
ic,good price


TEL:86-533-2716050      FAX:86-533-2716790
   

©2020 IC PHOENIX CO.,LIMITED