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 #301 background imageLoading...
Page #301 background image
Reference Manual ADuCM356
REGISTER DETAILS: DIGITAL DIE WAKE-UP TIMER
analog.com Rev. A | 301 of 312
ALARM 2 REGISTER
Address: 0x40001444, Reset: 0x0000, Name: ALM2
ALM2 specifies the fractional nonprescaled bits of the WUT alarm target time value, down to an individual 32 kHz clock cycle, where the overall
alarm is defined as ALM1, ALM0, and ALM2.
The number of valid bits that can legitimately have values of one optionally written to them in ALM2 equals the number of prescale bits specified
by the PRESCALE2EXP bit field of the CR1 MMR. If a bit position in ALM2 is set to one, such that this is incompatible with PRESCALE2EXP,
the whole value of ALM2 is treated by the WUT as if it were zero.
Any write to ALM2 pends until corresponding writes to ALM0 and ALM1 are carried out by the CPU, so that the combined 47-bit alarm
redefinition can be executed as a single transaction. ALM0, ALM1, and ALM2 can be written in any order, but coordinated, triple writes must be
carried out by the CPU to have any effect on the WUT alarm. ALM2 can be written to regardless of whether ALMEN or CNTEN is active in the
CR0 register.
In contrast, on RTC1, full support for the fractional alarm time is present, such that an alarm can be specified down to an individual 32 kHz clock
cycle using ALM2.
Table 395. Bit Descriptions for ALM2
Bits Bit Name Settings Description Reset Access
15 Reserved Reserved. 0x0 R
[14:0] VALUE Fractional Nonprescaled Bits of the WUT Alarm Target Time. Note that any value written to ALM2 must be
in keeping with the number of prescale bits specified by the PRESCALE2EXP field of the CR1 MMR. If a
value in ALM2 cannot be reached by the degree of prescaling configured by PRESCALE2EXP, the whole
value of ALM2 is treated as if it were zero.
0x0 R/W
STATUS 6 REGISTER
Address: 0x40001488, Reset: 0x7900, Name: SR6
SR6 is a status register that provides the unread status of snapshots of input capture channels, SNAP0, SNAP1, and SNAP2.
Table 396. Bit Descriptions for SR6
Bits Bit Name Settings Description Reset Access
[15:11] Reserved Reserved. 0xF R
[10:9] RTCFRZCNTPTR Pointer for the Triple Read Sequence of the CNTx MMRs. This bit indicates the sequence number
for the next read in triple read sequences of the CNTx registers. CNTx allows a coherent triple
16-bit read of the 47-bit WUT count contained in CNT2, CNT1, and CNT0. CNTx is always read
in sequences of three reads (although these can be spread out in time, or have other APB
accesses interspersed), so that the first read in the sequence returns the current value of CNT0.
Simultaneously with this first read, a snapshot is taken of the values of CNT2 and CNT1 so that
in the second and third reads in the sequence of CNTx, the snapshot values of CNT1 and CNT2
are returned, respectively. In this way, a triple read of CNTx gives an overall 47 bits of the WUT
count that belong together and are coherent with each other, even though the actual continuing
value of CNT2, CNT1, and CNT0 keeps advancing while the WUT counts real time. This bit
both indicates the sequence number in the triple read and acts a read data select for the value
returned when CNTx is read. Normally, this bit keeps advancing by one, starting from 0b00, and
wrapping from 0b10 to 0b00 with every read. However, to clear the CNTx pointer and reinitialize
the count sequence for reads of CNTx, the CPU can write a software key (value of 0x9376) to the
GWY register.
0x0 R
00 The next read of CNTx causes the read data for CNTx to be the current value of CNT0 and takes
a coherent snapshot of the current values of CNT2 and CNT1 for return during the subsequent
two reads of CNTx. The value that can be read in SNAP0, SNAP1, and SNAP2 is due to a
software initiated snapshot.
01 The next read of CNTx is the second in a triple read sequence and returns the snapshot of CNT1
that was taken when the first read of CNTx in the sequence occurred.

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.