Datasheet
MCP453X/455X/463X/465X
DS22096B-page 62 2008-2013 Microchip Technology Inc.
8.2 Using Shutdown
Figure 8-3 shows a possible application circuit where
the independent terminals could be used. Disconnect-
ing the wiper allows the transistor input to be taken to
the Bias voltage level (disconnecting A and or B may be
desired to reduce system current). Disconnecting Ter-
minal A modifies the transistor input by the R
BW
rheostat value to the Common B. Disconnecting
Terminal B modifies the transistor input by the R
AW
rheostat value to the Common A. The Common A and
Common B connections could be connected to V
DD
and V
SS
.
FIGURE 8-3: Example Application Circuit
using Terminal Disconnects.
8.3 Software Reset Sequence
At times it may become necessary to perform a Soft-
ware Reset Sequence to ensure the MCP45XX/46XX
device is in a correct and known I
2
C Interface state.
This technique only resets the I
2
C state machine.
This is useful if the MCP45XX/46XX device powers up
in an incorrect state (due to excessive bus noise, ...), or
if the Master Device is reset during communication.
Figure 8-4 shows the communication sequence to soft-
ware reset the device.
FIGURE 8-4: Software Reset Sequence
Format.
The 1st Start bit will cause the device to reset from a
state in which it is expecting to receive data from the
Master Device. This occurs since the device is monitor-
ing the data bus in Receive mode and can detect the
Start bit which forces an internal Reset.
The nine bits of ‘1’ are used to force a Reset of those
devices that could not be reset by the previous Start bit.
This occurs only if the MCP45XX/46XX is driving an A
bit on the I
2
C bus, or is in output mode (from a Read
command) and is driving a data bit of ‘0’ onto the I
2
C
bus. In both of these cases, the previous Start bit could
not be generated due to the MCP45XX/46XX holding
the bus low. By sending out nine ‘1’ bits, it is ensured
that the device will see an A bit (the Master Device
does not drive the I
2
C bus low to acknowledge the data
sent by the MCP45XX/46XX), which also forces the
MCP45XX/46XX to reset.
The 2nd Start bit is sent to address the rare possibility
of an erroneous write. This could occur if the Master
Device was reset while sending a Write command to
the MCP45XX/46XX, AND then as the Master Device
returns to normal operation and issues a Start condi-
tion, while the MCP45XX/46XX is issuing an Acknowl-
edge. In this case, if the 2nd Start bit is not sent (and
the Stop bit was sent) the MCP45XX/46XX could initi-
ate a write cycle.
The Stop bit terminates the current I
2
C bus activity. The
MCP45XX/46XX wait to detect the next Start condition.
This sequence does not effect any other I
2
C devices
which may be on the bus, as they should disregard this
as an invalid command.
Note: This technique is documented in AN1028.
Balance Bias
W
B
Input
Input
To base
of Transistor
(or Amplifier)
A
Common B
Common A
Note: The potential for this erroneous write
ONLY occurs if the Master Device is reset
while sending a Write command to the
MCP45XX/46XX.
S‘1’‘1’‘1’‘1’‘1’‘1’‘1’‘1’ S P
Start
bit
Nine bits of ‘1’
Start bit
Stop bit