EasyManua.ls Logo

Analog Devices ADuCM356 User Manual

Analog Devices ADuCM356
312 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #24 background imageLoading...
Page #24 background image
Reference Manual ADuCM356
POWER MANAGEMENT UNIT
analog.com Rev. A | 24 of 312
power-on reset (POR) can reset the debug logic. Therefore, the
device must be power cycled after using the serial wire debug
with an application code containing the wait for interrupt (WFI)
instruction.
Active Mode, Mode 0
The system is fully active. Memories and all user enabled periph-
erals are clocked, and the Arm Cortex-M3 processor executes
instructions. The Arm Cortex-M3 processor manages its internal
clocks and can be in a partial clock gated state. This clock gating
affects only the internal Arm Cortex-M3 processing core. Automatic
clock gating is used on all blocks except the I
2
C, UART, and
general-purpose timers. These blocks are manually clock gated
using the CLKG CTL5 register for the digital die and the CLKEN1
register for the analog die.
The user code can use a WFI command to put the Arm Cortex-M3
processor into sleep mode. The processor is independent of the
power mode settings of the PMU.
Writing 1 to CLKG CTL5, Bits[5:0] or AFE CLKEN1, Bits[9:0] stops
the corresponding clock to peripherals. For the digital die peripher-
als, after the clock stops, if the user or software accesses any
register in that peripheral, the clock is automatically enabled. In
addition, writing 0 to these bits in the CLKG CTL5 or AFE CLKEN1
registers enables the corresponding clock to the peripheral.
Chip power-up with the LDO regulator is on by default on both dice.
The buck regulator can be enabled to save power consumption by
writing 1 to the PMG0 CTL1, Bit 0. When enabled, the input to the
on-chip 1.2 V LDO regulator is the buck converter output, which is
typically 1.6 V.
When the ADuCM356 wakes up from any of the low-power modes,
the device returns to Mode 0.
Flexi Mode, Mode 1 (Digital Die Only)
In flexi mode, the system gates the clock to the Arm Cortex-M3
core after the Arm Cortex-M3 enters power-down by executing the
WFI instruction. The rest of the system remains active, and no
instructions can be executed. However, DMA transfers can continue
to occur between peripherals and memories. The Arm Cortex-M3
processor, RCLK (clock to flash), is active, and the device wakes up
using the nested vectored interrupt controller (NVIC).
Hibernate Mode, Mode 2
To enter hibernate mode, the user must first configure the analog
die for hibernate by setting ALLON PWRMOD, Bits[1:0] = 10, and
then, the user can place the digital die into hibernate mode. To
minimize current consumption, configure unused digital GPIO pins
as tristate on both dice.
On the digital die, in hibernate mode, the Arm Cortex-M3 and all
digital peripherals are turned off. The SRAM can be programmed to
retain up to 32 kB. The user can select the following:
â–º The amount of SRAM to retain. This amount is in addition to
the 8 kB of SRAM always retained in the hibernate mode. This
selection is controlled using SRAMRET, Bits[1:0].
â–º Control battery monitoring during hibernate mode. The regulated
1.2 V supply is always monitored to guarantee that data is never
corrupted by the supply going below the minimum retention
voltage. If the regulated supply falls below 1 V, the chip resets
before any data is corrupted. Though the regulated supply is al-
ways monitored, there is an option to also monitor the AVDD_DD
pin (2.8 V to 3.6 V supply) in hibernate mode by clearing PMG0
PWRMOD, Bit 3 = 0.
On the analog die, in hibernate mode, the AFE high-speed clock
circuits are powered down, causing all blocks clocked by these
circuits to enter a low-power, clock gated state. After setting ALLON
PWRMOD, Bits[1:0] = 10, do not read back the value of the register
because this read can halt the entry of the analog die into hibernate
mode.
CODE EXAMPLES
Enter Power Saving Mode
The following function configures the analog die operating mode:
uint32_t AfePwrCfg(uint16_t iMode)
{
// PSWFULLCON[14:13]= [11]b
//Close switches NL and NL2. PSWFULLâ–º
CON[11:10]= [11]b
pADI_AFE-> PSWFULLCON|=0x6C00; // Close
PL2, PL1, P12, P11 switches to tie HSTIA N and
D
//terminals to 1.8 V LDO
pADI_ALLON->PWRKEY = 0x4859;
pADI_ALLON->PWRKEY = 0xF27B;
pADI_ALLON->PWRMOD = (pADI_ALLON-
>PWRMOD&(~BITM_ALLON_PWRMOD_PWRMOD))|iMode;
//=========================================
// IMPORTANT
// If Chip is going into hibernate mode, you
// cannot read PWRMOD after configuring it.
// For safety reasons, return value set
// to 0 directly.
//=========================================
//return pADI_ALLON->PWRMOD;
return 0;
}

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Analog Devices ADuCM356 and is the answer not in the manual?

Analog Devices ADuCM356 Specifications

General IconGeneral
BrandAnalog Devices
ModelADuCM356
CategoryMicrocontrollers
LanguageEnglish

Summary

PREFACE

SCOPE

Provides a detailed description of the functionality and features of the ADuCM356.

CLOCKING ARCHITECTURE

DIGITAL DIE CLOCK FEATURES

Details the clock sources, dividers, and gating for the digital die system clock.

ANALOG DIE CLOCK FEATURES

Details the clock sources, dividers, and gating for the analog die system clock.

POWER MANAGEMENT UNIT

Active Mode

Describes the fully active operating mode where the Arm Cortex-M3 executes from flash and SRAM.

Flexi Mode

Describes the mode where the Arm Cortex-M3 is disabled, allowing peripherals to operate.

Hibernate Mode

Describes the low-power mode where the digital core and most analog blocks are powered down.

SYSTEM RESETS

DIGITAL DIE RESET OPERATION

Explains the reset sources and operation for the digital die, including software resets.

PROGRAMMING, PROTECTION, AND DEBUG

Debug Features

Details the SWD port, flash patch breakpoints, and data watchpoint/trigger units for debugging.

SYSTEM EXCEPTIONS AND PERIPHERAL INTERRUPTS

CORTEX-M3 AND FAULT MANAGEMENT

Describes the system exceptions and fault handling features integrated with the Cortex-M3 processor.

ANALOG DIE CIRCUITRY SUMMARY

ADC, HIGH-SPEED DAC, AND ASSOCIATED AMPLIFIERS OPERATING MODE CONFIGURATION

Configures the operating modes for ADC, High-Speed DAC, and associated amplifiers.

ADC CIRCUIT

ADC CIRCUIT FEATURES

Lists the key features of the ADuCM356's fast multichannel, 16-bit ADC.

LOW-POWER POTENTIOSTAT AMPLIFIERS AND LOW-POWER TIAS

LOW-POWER POTENTIOSTAT AMPLIFIERS

Details the two low-power potentiostat amplifiers for setting external sensor bias voltage.

HIGH-SPEED DAC CIRCUITS

HIGH-SPEED DAC OUTPUT SIGNAL GENERATION

Explains how to generate high-speed DAC output voltage via direct write or waveform generator.

PROGRAMMABLE SWITCHES CONNECTING THE EXTERNAL SENSOR TO THE HIGH-SPEED DAC AND HIGH-SPEED TIA

DX SWITCHES

Selects pins for the high-speed DAC excitation amplifier output, used for impedance measurements.

SEQUENCER

SEQUENCER COMMANDS

Describes the two types of commands: write commands and timer commands (wait, timeout).

SLEEP AND WAKE-UP TIMER

CONFIGURING A DEFINED SEQUENCE ORDER

Defines the order of sequence execution periodically using the SEQORDER register.

USE CASE CONFIGURATIONS

HIBERNATE MODE WHILE MAINTAINING A DC BIAS TO THE SENSOR

Details setup for hibernate mode while maintaining sensor bias voltage.

DMA CONTROLLER

DMA FEATURES

Lists the features of the ADuCM356's dedicated and independent DMA channels.

FLASH CONTROLLER

SUPPORTED COMMANDS

Summarizes the commands supported by the flash controller for read, write, erase, and signature operations.

REGISTER DETAILS: FLASH CACHE CONTROLLER (FLCC)

COMMAND REGISTER

Allows execution of specified flash commands like write, erase, abort, and signature generation.

DIGITAL INPUTS AND OUTPUTS

DIGITAL INPUTS AND OUTPUTS OPERATION

Explains how to configure, read, and write digital input and output pins.

I2C SERIAL INTERFACE

I2C OPERATION

Details the steps required to run the I2C peripheral, including startup and modes.

SERIAL PERIPHERAL INTERFACES

SPI OPERATION

Describes the operation of the SPI interface, including initiator and target modes.

REGISTER SUMMARY: SPI0/SPI1

STATUS REGISTERS

Provides status information for SPI0 and SPI1, including ready, overflow, and error conditions.

REGISTER DETAILS: UART

INTERRUPT ENABLE REGISTER

Configures which interrupt sources generate an interrupt for the UART.

DIGITAL DIE GENERAL-PURPOSE TIMERS

GENERAL-PURPOSE TIMER OPERATIONS

Explains the operation of timers in free running mode and periodic mode.

REGISTER SUMMARY: ANALOG DIE GENERAL-PURPOSE TIMERS

CONTROL REGISTER

Controls timer operation, including clock source, mode, and event selection.

REGISTER DETAILS: DIGITAL DIE WAKE-UP TIMER

STATUS 0 REGISTER

Provides status information for WUT operation, including synchronization and pending writes.

CYCLIC REDUNDANCY CHECK

CRC OPERATING MODES

Details the core access and DMA access modes for CRC calculation.

REGISTER SUMMARY: CRC

CRC CONTROL REGISTER

Controls the CRC peripheral, including enabling, mirroring, and calculation order.

HARDWARE DESIGN CONSIDERATIONS

SERIAL WIRE DEBUG INTERFACE

Describes the SWD interface for debugging and programming, replacing JTAG.