ADuCM4050 Data Sheet
Rev. A | Page 32 of 46
CRC Accelerator
The CRC accelerator computes the CRC for a block of memory
locations, that can be in the SRAM, flash, or any combination of
MMRs. The CRC accelerator generates a checksum that can be
compared with an expected signature. The main features of the
CRC include the following:
• Generates a CRC signature for a block of data.
• Supports programmable polynomial length of up to 32 bits.
• Operates on 32 bits of data at a time, and generates CRC
for any data length.
• Supports MSB first and LSB first CRC implementations.
• Various data mirroring capabilities.
• Initial seed to be programmed by user.
• DMA controller (memory to memory transfer) used for
data transfer to offload the MCU.
Programmable GPIOs
The ADuCM4050 MCU has 44 and 51 GPIO pins in the LFCSP
and WLCSP packages, respectively, with multiple, configurable
functions defined by user code. They can be configured as
input/output pins and have programmable pull-up resistors. All
GPIO pins are functional over the full supply range. In deep
sleep modes, GPIO pins retain their state. On reset, they tristate.
Timers
The ADuCM4050 MCU contains three general-purpose timers,
a watchdog timer, and an RGB timer. All timers support event
capture feature, where they can take 40 different interrupts.
General-Purpose Timers
The ADuCM4050 MCU has three identical general-purpose
timers, each with a 16-bit up or down counter. The up or down
counter can be clocked from one of four user-selectable clock
sources. Any selected clock source can be scaled down using a
prescaler of 1, 16, 64, or 256.
Watchdog Timer (WDT)
The watchdog timer (WDT) is a 16-bit count down timer with a
programmable prescaler. The prescaler source is selectable and
can be scaled by a factor of 1, 16, or 256. The WDT is clocked by
the 32 kHz on-chip oscillator (LFOSC) and helps recover from
an illegal software state. The WDT requires periodic servicing
to prevent it from forcing a reset or interrupt to the MCU.
RGB Timer
The ADuCM4050 MCU has an RGB timer that supports a
common anode RGB LED. It has a timer counter and three
compare registers. It can generate three distinct pulse width
modulation (PWM) waveforms on three GPIO pins
simultaneously so different colors can be realized using a
common anode RGB LED.
When the RGB timer is in operation, the other three timers are
available for user software.
ADC Subsystem
The ADuCM4050 MCU integrates a 12-bit SAR ADC with up
to eight external channels. Conversions can be performed in
single or autocycle mode. In single mode, the ADC can be
configured to convert on a particular channel by selecting one
of the ADC channels. Autocycle mode is provided to convert
over multiple channels with reduced MCU overhead of
sampling and reading individual channel registers. The ADC
can also be used for temperature sensing and measuring battery
voltage using the ADC channels.
Temperature sensing and battery monitoring cannot be
included in autocycle mode.
The digital comparator on the device allows an interrupt to be
triggered if ADC input is above or below a programmable
threshold. Use the following GPIO multiplexed channels with
the digital comparator (see the GPIO Multiplexing section):
ADC0_VIN0, ADC0_VIN1, ADC0_VIN2, and ADC0_VIN3.
Use the ADC in DMA mode to reduce MCU overhead by
moving ADC results directly into SRAM with a single interrupt
asserted when the required number of ADC conversions
completely logs to memory. The main features of the ADC
subsystem include the following:
• 12-bit resolution.
• Programmable ADC update rate from 10 kSPS to
1.8 MSPS.
• Integrated input mux that supports up to eight channels.
• Temperature sensing support.
• Battery monitoring support.
• Software selectable on-chip reference voltage generation—
1.25 V or 2.50 V.
• Software-selectable internal or external reference.
• Autocycle mode provides the ability to automatically select
a sequence of input channels for conversion.
• Multiple conversions over a single channel or multiple
channels can be performed without core interruption.
• Averaging function—converted data on a single channel or
multiple channels can be averaged up to 256 samples.
• Alert function that contains an internal digital comparator
for the ADC0_VIN0, ADC0_VIN1, ADC0_VIN2, and
ADC0_VIN3 channels. An interrupt is generated if the
digital comparator detects an ADC result above or below a
user defined threshold. In addition, up to eight cycles of
hysteresis are built in.
• Dedicated DMA channel support.
• Each channel, including temperature sensor and battery
monitoring, has a data register for conversion result.