The DACx3004 provides a deep-sleep
mode, where the internal LDO and most of the common functional
blocks are powered-down. The GPIO pin must be used to enter and exit
this mode. The I2C or SPI interface does not work during
the deep-sleep mode. The steps to enter and exit the deep-sleep mode
are:
- Make sure
that the GPIO pin is pulled high.
- Write 1
to the DEEP-SLEEP-EN bit in the GPIO-CONFIG
register.
- Disable
GP output and SDO by writing 0 to GPO-EN and SDO-EN
bits.
- Enable
GPIO input mode by writing 1 to GPI-EN and 0b0000 to
GPI-CONFIG bits.
- To
program these settings into the NVM, write 1 to the
NVM-PROG bit in the COMMON-TRIGGER register.
- A
negative-edge trigger on the GPIO puts the device
into the deep-sleep mode. The LDO takes
approximately 550 μs to switch off. The device
remains in this mode as long as the signal is
low.
- To bring
the device out of the deep-sleep mode, pull the GPIO
pin high. The digital circuitry and the LDO takes
approximately 550 μs to switch on.