NCP81111
www.onsemi.com
12
The command sequence is as follows:
S I2C_ADDR+W A USER_POWER A POWER_SETTING A P
Where the POWER_SETTING byte is mapped as follows:
POWER_SETTING:
0 0 0 RESET_TEST RESET_MEM RESET_AUTOCAL RESTART ENABLE
−ENABLE − This bit is the “Virtual Enable” signal. When the device is in the DISABLED state, sending the
USER_POWER command with this bit set to “1” will cause the device to exit the DISABLED state and begin the
power−up sequence. The exact power−up sequence followed will depend on the other bit settings. If the device is in an
operational state (not DISABLED) and the command is issued with this bit set to “0” then the device will stop operation
and enter the DISABLED state.
−RESTART − This bit is used in conjunction with the ENABLE bit. It is used to immediately restart the device when the
DISABLED state has been entered. So when the device is in an operational state, if the USER_POWER command is
issued with this bit set to “1” and the ENABLE bit set to “0”, the device will stop operation, enter the DISABLED state,
and then immediately power−up again. It is in essence a fast toggle on the Virtual Enable signal, used to quickly cycle
the device through its power−up sequence.
−RESET_AUTOCAL − When this bit is set to “1”, upon exiting the DISABLED state, the device will reset its
auto−calibration state and proceed to recalibrate during power−up. Normally auto−calibration is only required if the
device has lost its state (thus it will occur anytime the actual EN−pin is toggled), however the procedure takes a few
milliseconds to complete. Since the device can retain state using this command, if this bit is set to “0”, the
auto−calibration settings will be retained and the procedure will be skipped. A “0” setting will allow the device to
power−up several milliseconds faster than normal.
−RESET_MEM − This bit controls the behavior of the working registers and the NVM during power−up. If the bit is set
to “1” then upon exiting the DISABLED state the working registers will be reinitialized − first the POR settings will be
applied, then the NVM will be read and those settings will be applied. Any changes to the working registers that were
not programmed to the NVM will be lost. If the bit is instead set to “0” then the device will retain all the settings that are
currently in the working registers. A “0” setting is useful for testing minor changes to device settings without needing to
program them to NVM.
−RESET_TEST − If the bit is set to “1” then upon exiting the DISABLED state, the test registers will be reset to their
POR defaults. A “1” setting is useful for quickly clearing all test modes when cycling through a power−up sequence. If
the bit is set to “0” then the test registers will be unaffected by the power−up sequence.
Example command sequences:
Starting from a normal operational state, issuing the following command:
S I2C_ADDR+W A USER_POWER A 00000000b A P
W ill cause the part to exit to the DISABLED state and remain there. The test interface can then be used to modify the working
registers and adjust settings prior to re−enabling the part.
Starting from the DISABLED state, issuing the following command:
S I2C_ADDR+W A USER_POWER A 00000001b A P
Will cause the part to exit the DISABLED state and begin power−up. The working registers will not be affected during
power−up, and auto−calibration will be skipped (Note: this is only true if auto−cal has completed its sequence at least once.
Starting from any state, issuing the following command:
S I2C_ADDR+W A USER_POWER A 00000110b A P
Will cause the part to exit to the DISABLED state, then immediately begin power−up. The working registers will not be affected
during power−up, however the part will recalibrate.
Starting from any state, issuing the following command: