intersil X4643, X4645 DATA SHEET

查询X4643供应商
®
64K, 8K x 8 Bit
Data Sheet March 29, 2005
CPU Supervisor with 64K EEPROM
FEATURES
• Selectable watchdog timer
•Low V —Four standard reset threshold voltages —Adjust low V
special programming sequence
—Reset signal valid to V
• Low power CMOS —<20µA max standby current, watchdog on —<1µA standby current, watchdog off —3mA active current
• 64Kbits of EEPROM —64-byte page write mode —Self-timed write cycle —5ms write cycle time (typical)
• Built-in inadvertent write protection —Power-up/power-down protection circuitry
• 400kHz 2-wire interface
• 2.7V to 5.5V power supply operation
• Available packages —8-lead SOIC —8-lead TSSOP
detection and reset assertion
CC
reset threshold voltage using
CC
= 1V
CC
FN8123.0
DESCRIPTION
The X4643/5 combines four popular functions, Power­on Reset Control, Watchdog Timer, Supply Voltage Supervision, and Serial EEPROM Memory in one pack­age. This combination lowers system cost, reduces board space requirements, and increases reliability.
Applying power to the device activates the power-on reset circuit which holds RESET
/RESET active for a period of time. This allows the power supply and oscilla­tor to stabilize before the processor can execute code.
The Watchdog Timer provides an independent protec­tion mechanism for microcontrollers. When the micro­control l er fails to restart a timer within a selectable time out interval, the device activates the RESET
/RESET signal. The user selects the interval from three preset values. Once selected, the interval does not change, even after cycling the power.
The device’s low V
detection circuitry protects the
CC
user’s system from low voltage conditions, resetting the system when V V
trip point. RESET/RESET is asserted until V
CC
falls below the set minimum
CC
CC
returns to proper operating level and stabilize s. Four industry standard V
thresholds are available,
TRIP
however, Intersil’s unique circuits allow the threshold to be reprogrammed to meet custom requirements or to fine-tune the threshold for applications requiring higher precision.
BLOCK DIAGRAM
WP
SDA
SCL
S0 S1
V
CC
Watchdog Transition
Data
Register
Command
Decode &
Control
Logic
VCC Threshold
Reset Logic
1
Detector
V
Block Lock Control
TRIP
Watchdog
Timer Reset
Protect Logic
RESET (X4643/5)
Status
Register
EEPROM Array
8Kbit
+
-
CAUTION: These devices are sensitive to electrostatic discharge; follow proper IC Handling Procedures.
1-888-INTERSIL or 1-888-352-6832
Reset &
Watchdog
Timebase
Power-on and
Low Voltage
Reset
Generation
| Intersil (and design) is a registered trademark of Intersil Americas Inc.
All other trademarks mentioned are the property of their respective owners.
Copyright Intersil Americas Inc. 2005. All Rights Reserved
RESET (X4645)
PIN CONFIGURATION
8-Pin JEDEC SOIC
S
0
S
1
/RESET
RESET
V
WP
V
SS
CC
S S
0 1
PIN FUNCTION
1
8
2
7
3
6
4
5
8 Pin TSSOP
1
8
2
7
3
6
4
5
V
CC
WP SCL
SDA
SCL SDA
V
SS
RESET
X4643, X4645
/RESET
Pin
(SOIC)
Pin
(TSSOP) Name Function
13 S0Device Select Input 24 S 35
RESET/RESET Reset Output. RESET/RESET is an active LOW/HIGH, open drain output
1
Device Select Input
which goes active whenever V will remain active until V 250ms. RESE T
/RESET goes active if the Watchdog Timer is enabled and SDA
rises above the minimum VCC sense level for
CC
falls below the minimum VCC sense level. It
CC
remains either HIGH or LOW longer than the selectable Watchdog time out pe­riod. A falling edge on SDA, while SCL is HIGH, resets the Watchdog Timer. RESET
/RESET goes active on power-up and remains active for 250ms after
the power supply stabilizes.
46 V
SS
Ground
57 SDASerial Data. SDA is a bidirectional pin used to transfer data into and out of the
device. It has an open drain output and may be wire ORed with other open drain or open collector outputs. This pin requires a pull up resistor and the input buffer is always active (not gated).
Watchdog Input. A HIGH to LOW transition on the SDA (while SCL is HIGH) re­starts the Watchdog timer. The absence of a HIGH to LOW transition with in th e watchdog time out period results in RESET
/RESET going active.
68 SCLSerial Clock. The Serial Clock controls the serial bus timing for data input and
output.
71 WPWrite Protect. WP HIGH used in conjunction with WPEN bit prevents writes to
the control register.
82 V
CC
Supply Voltage
2
FN8123.0
March 29, 2005
X4643, X4645
PRINCIPLES OF OPERATION
Power-On Reset
Application of power to the X4643/5 activates a Power-on Reset Circuit that pulls the RESET
/RESET
pin active. This signal provides several benefits. – It prevents the system microprocessor from starting
to operate with insufficient voltage.
– It prevents the processor from operating prior to sta -
bilization of the oscillator.
– It allows time for an FPGA to download its configura-
tion prior to initialization of the circuit.
– It prevents communication to the EEPROM, greatly
reducing the likelihood of data corruption on power-up.
When V
exceeds the device V
CC
threshold value
TRIP
for 200ms (nominal) the circuit releases RESET
/RESET allowing the system to begin operation.
LOW VOLTAGE MONITORING
During operation, the X4643/5 monitors the V and asserts RESET below a preset minimum V
/RESET if supply voltage falls
. The RESET/RESET
TRIP
CC
level
signal prevents the microprocessor fro m operating in a power fail or brownout condition. The RESET
/RESET signal remains active until the voltage drops below 1V. It also remains active until V V
for 200ms.
TRIP
returns and exceeds
CC
WATCHDOG TIMER
The Watchdog Timer circuit monitors the microprocessor activity by monitoring the SDA and SCL pins. The microprocessor must toggle the SDA pin HIGH to LOW periodically, while SCL is HIGH (this is a start bit) prior to the expiration of the watchdog time out period to prevent a RESET
/RESET signal. The state of two nonvolatile control bits in the Status Register deter­mine the watchdog timer period. The microprocessor can change these watchdog bits, or they may be “locked” by tying the WP pin HIGH.
EEPROM INADVERTENT WRITE PROTECTION
When RESET
/RESET goes active as a result of a low voltage condition or Watchdog Timer Time Out, any in­progress communications are terminated. While RESET
/RESET is active, no new communications are allowed and no nonvolatile write operation can start. Nonvolatile writes in-progress when RESET
/RESET
goes active are allowed to finish. Additional protection mechanisms are provided with
memory Block Lock and the Write Protect (WP) pin. These are discussed elsewhere in this document.
V
THRESHOLD RESET PROCEDURE
CC
The X4643/5 is shipped with a standard V (V
) voltage. This value will not change over normal
TRIP
threshold
CC
operating and storage conditions. However, in applica­tions where the standard V higher precision is needed in the V
is not exactly right, or if
TRIP
value, the
TRIP
X4643/5 threshold may be adjusted. The procedure is described below, and uses the application of a nonvol­atile control signal.
Figure 1. Set V
WP
01234567
SCL
SDA
Level Sequence (V
TRIP
A0h
3
= desired V
CC
V
= 12-15V
P
01234567
00h
values WEL bit set)
TRIP
01234567
01h
01234567
00h
FN8123.0
March 29, 2005
X4643, X4645
Setting the V
This procedure is used to set the V
TRIP
Voltage
to a higher or
TRIP
lower voltage value. It is necessary to reset the trip point before setting the new value.
To set the new V bit in the control register, then apply the desired V
voltage, start by setting the WEL
TRIP
TRIP
threshold voltage to the VCC pin and the programming voltage, V
to the WP pin and 2 byte addr ess and 1
P,
byte of “00” data. The stop bit following a valid write operation initiates the V Bring WP
Figure 2. Reset V
WP
SCL
LOW to complete the operation.
TRIP
01234567
programming sequence.
TRIP
Level Sequence (VCC > 3V. WP = 12-15V, WEL bit set)
V
= 12-15V
P
01234567
Resetting the V
This procedure is used to set th e V
TRIP
Voltage
to a “native”
TRIP
voltage level. For example, if the current V and the new V be reset. When V
must be 4.0V, then the V
TRIP
is reset, the new V
TRIP
TRIP
thing less than 1.7V. This procedure must be used to set the voltage to a lower value.
To reset the new V WEL bit in the control register, apply V gramming voltage, V
voltage start by setting the
TRIP
, to the WP pin and 2 byte
P
CC
address and 1 byte of “00” data. The stop bit of a valid write operation initiates the V sequence. Bring WP
01234567
LOW to complete the operation.
01234567
programming
TRIP
is 4.4V
TRIP
must
TRIP
is some-
and the pro-
SDA
Figure 3. Sample V
V
TRIP
Adj.
A0h
Reset Circuit
TRIP
RESET
4.7K
00h
1 2 3 4
SOIC
X4643
03h
Adjust
8 7 6 5
Run
00h
V
P
µC
SCL SDA
4
FN8123.0
March 29, 2005
X4643, X4645
Figure 4. V
Programming Sequence
TRIP
New VCC Applied =
Old V
Applied + Error
CC
V
Programming
TRIP
Execute
Reset V
TRIP
Sequence
Set VCC = VCC Applied =
Desired V
Apply 5V to V
Decrement V
(V
CC
TRIP
Execute
Set V
TRIP
Sequence
CC
= VCC - 50mV)
CC
New VCC Applied =
Applied - Error
Old V
CC
Execute
Reset V
TRIP
Sequence
NO
Error –Emax
Emax = Maximum Allowed V
TRIP
Error
Measured V
Control Register
The Control Register provides the user a mechanism for changing the Block Lock and Watchdog Timer set­tings. The Block Lock and Watchdog Timer bits are nonvolatile and do not change when power is removed.
The Control Register is accessed at address FFFFh. It can only be modified by performing a byte write opera­tion directly to the address of the register and only one data byte is allowed for each register write operation.
RESET pin
goes active?
YES
Desired V
TRIP
TRIP
–Emax < Error < Emax
DONE
Prior to writing to the Control Register, the WEL and RWEL bits must be set using a two step process, with the whole sequence requiring 3 steps. See "Writing to the Control Register" below.
The user must issue a stop after sending this byte to the register to initiate the nonvolatile cycle that stores WD1, and WD0. The X4643/5 will not acknowledge any data bytes written after the first byte is entered.
-
Error Emax
5
FN8123.0
March 29, 2005
X4643, X4645
The state of the Control Register can be read at any time by performing a random read at address FFFFh. Only one byte is read by each register read operation. The X4643/5 resets itself after the first byte is read. The master should supply a stop condition to be con­sistent with the bus protocol, but a stop is not required to end this operation.
76543210
WPEN WD1 WD0 BP1 BP0 RWEL WEL BP2
BP2, BP1, BP0: Block Protect Bits (Nonvolatile)
The Block Protect Bits, BP2, BP1 and BP0, determine which blocks of the array are write protected. A write to a protected block of memory is ignored. The block pro­tect bits will prevent write operations to the following segments of the array.
Protected Addresses
BP2
BP1
BP0
0 0 0 None (factory setting) None 0 0 1 None None 0 1 0 None None 0 1 1 0000h - 1FFFh 1 0 0 000h - 03Fh 1 0 1 000h - 07Fh 1 1 0 000h - 0FFh 1 1 1 000h - 1FFh
(Size) Array Lock
(8K bytes) Full Array (All)
(64 bytes) First Page (P1)
(128 bytes) First 2 pgs (P2)
(256 bytes) First 4 pgs (P4) (512 bytes) First 8 pgs (P8)
RWEL: Register Write Enable Latch (Volatile)
The RWEL bit must be set to “1” prior to a write to the Control Register.
WEL: Write Enable Latch (Volatile)
The WEL bit controls the access to the memory and to the Register during a write operation. This bit is a vola­tile latch that powers up in the LOW (disabled) state. While the WEL bit is LOW, writes to any address, including any control registers will be ignored (no
acknowledge will be issued after the Data Byte). The WEL bit is set by writing a “1” to the WEL bit and zeroes to the other bits of the control register. Once set, WEL remains set until either it is reset to 0 (by writing a “0” to the WEL bit and zeroes to the other bits of the control register) or until the part powers up again. Writes to the WEL bit do not cause a n onvolatile write cycle, so the device is ready for the next opera­tion immediately after the stop condition.
WD1, WD0: Watchdog Timer Bits
The bits WD1 and WD0 control the period of the Watchdog Timer. The options are shown below.
WD1 WD0 Watchdog Time Out Period
0 0 1.4 seconds 0 1 600 milliseconds 1 0 200 milliseconds 1 1 disabled (factory setting)
Write Protect Enable
These devices have an advanced block lock scheme that protects one of five blocks of the array when enabled. It provides hardware write protection through the use of a WP pin and a nonvolatile Write Protect Enable (WPEN) bit.
The Write Protect (WP) pin and the Write Protect Enable (WPEN) bit in the Control Register control the programmable Hardware Write Protect feature. Hard­ware Write Protection is enabled when the WP pin and the WPEN bit are HIGH and disabled when either the WP pin or the WPEN bit is LOW. When the chip is Hardware Write Protected, nonvolatile writes to the block protected sections in the memory array cannot be written and the block protect bits cannot be changed. Only the sections of the memory array that are not block protected can be written. Note that since the WPEN bit is write protected, it cannot be changed back to a LOW state; so write protection is enabled as long as the WP pin is held HIGH.
Table 1. Write Protect Enable Bit and WP Pin Function
Memory Array not
WP WPEN
LOW X Writes OK Writes Blocked Writes OK Writes OK Software HIGH 0 Writes OK Writes Blocked Writes OK Writes OK Software HIGH 1 Writes OK Writes Blocked Writes Blocked Writes Blocked Hardware
Block Protected
6
Memory Array
Block Protected
Block Protect
Bits WPEN Bit Protection
FN8123.0
March 29, 2005
X4643, X4645
Writing to the Control Register
Changing any of the nonvolatile bits of the control reg­ister requires the following steps:
– Write a 02H to the Control Register to set the Write
Enable Latch (WEL). This is a volatile operation, so there is no delay after the write. (Operation pre­ceeded by a start and ended with a stop).
– Write a 06H to the Control Register to set both the
Register Write Enable Latch (RWEL) and the WEL bit. This is also a volatile cycle. The zeros in the data byte are required. (Operation preceeded by a start and ended with a stop).
– Write a value to the Control Register that has all the
control bits set to the desired state. This can be rep­resented as 0xys t01r in binary, where xy are th e WD bits, and rst are the BP bits. (Operation pre­ceeded by a start and ended with a stop). Since this is a nonvolatile write cycle it will take up to 10ms to complete. The RWEL bit is reset by this cycle and the sequence must be repeated to change the non­volatile bits again. If bit 2 is set to ‘1’ in this third step (0xys t11r) then the RWEL bit is set, but the WD1, WD0, BP2, BP1 and BP0 bits remain unchanged. Writing a second byte to the control register is not allowed. Doing so aborts the write operation and returns a NACK.
– A read operation occurring between any of the pre-
vious operations will not interrupt the register write operation.
– The RWEL bit cannot be reset without writing to the
nonvolatile control bits in the control register, power cycling the device or attempting a write to a write protected block.
To illustrate, a sequence of writes to the device con­sisting of [02H, 06H, 02H] will reset all of the nonvola­tile bits in the Control Register to 0. A sequence of [02H, 06H, 06H] will leave the nonvolatile bits unchanged and the RWEL bit remains se t.
SERIAL INTERFACE
Serial Interface Conventions
The device supports a bidirectional bus orie nted proto­col. The protocol defines any device that sends data onto the bus as a transmitter, and the receiving device as the receiver. The device controlling the transfer is called the master and the device being controlled is called the slave. The master always initiates data transfers, and provides the clock for both transmit and receive operations. Therefore, the devices in this fam­ily operate as slaves in all applications.
Serial Clock and Data
Data states on the SDA line can change only during SCL LOW. SDA state changes during SCL HIGH are reserved for indicating start and stop conditions. See Figure 5.
Figure 5. Valid Data Changes on the SDA Bus
SCL
SDA
Data Stable Data Change Data Stable
7
FN8123.0
March 29, 2005
Loading...
+ 14 hidden pages