• Core: Arm® 32-bit Cortex®-M4 CPU with FPU,
Adaptive real-time accelerator (ART
Accelerator) allowing 0-wait-state execution
from Flash memory, frequency up to 170 MHz
with 213 DMIPS, MPU, DSP instructions
• Operating conditions:
–V
• Mathematical hardware accelerators
– CORDIC for trigonometric functions
– FMAC: filter mathematical accelerator
• Memories
– 512 Kbytes of Flash memory with ECC
– 96 Kbytes of SRAM, with hardware parity
– Routine booster: 16 Kbytes of SRAM on
– Quad-SPI memory interface
• Reset and supply management
– Power-on/power-down reset
The ART accelerator is a memory accelerator that is optimized for the STM32 industry-
standard Arm
the Arm
processor to wait for the Flash memory at higher frequencies.
®
®
Cortex®-M4 processors. It balances the inherent performance advantage of
Cortex®-M4 over Flash memory technologies, which normally requires the
3.3 Memory protection unit
The memory protection unit (MPU) is used to manage the CPU accesses to the memory
and to prevent one task to accidentally corrupt the memory or the resources used by any
other active task. This memory area is organized into up to 8 protected areas, which can be
divided in up into 8 subareas each. The protection area sizes range between 32 bytes and
the whole 4 gigabytes of addressable memory.
The MPU is especially helpful for applications where some critical or certified code has to be
protected against the misbehavior of other tasks. It is usually managed by an RTOS (real-
time operating system). If a program accesses a memory location that is prohibited by the
MPU, the RTOS can detect it and take action. In an RTOS environment, the kernel can
dynamically update the MPU area setting based on the process to be executed.
The MPU is optional and can be bypassed for applications that do not need it.
3.4 Embedded Flash memory
The STM32G4A1xE devices feature 512 kbytes of embedded Flash memory which is
available for storing programs and data.
Flexible protections can be configured thanks to the option bytes:
DS13268 Rev 217/200
45
Functional overviewSTM32G4A1xE
• Readout protection (RDP) to protect the whole memory. Three levels of protection are
available:
– Level 0: no readout protection
– Level 1: memory readout protection; the Flash memory cannot be read from or written
to if either the debug features are connected or the boot in RAM or bootloader are
selected
– Level 2: chip readout protection; the debug features (Cortex-M4 JTAG and serial
wire), the boot in RAM and the bootloader selection are disabled (JTAG fuse). This
selection is irreversible.
•Write protection (WRP): the protected area is protected against erasing and
programming.
•Proprietary code readout protection (PCROP): a part of the Flash memory can be
protected against read and write from third parties. The protected area is execute-only
and it can only be reached by the STM32 CPU as an instruction code, while all other
accesses (DMA, debug and CPU data read, write and erase) are strictly prohibited. An
additional option bit (PCROP_RDP) allows to select if the PCROP area is erased or not
when the RDP protection is changed from Level 1 to Level 0.
•Securable memory area: a part of Flash memory can be configured by option bytes to
be securable. After reset this securable memory area is not secured and it behaves like
the remainder of main Flash memory (execute, read, write access). When secured, any
access to this securable memory area generates corresponding read/write error.
Purpose of the Securable memory area is to protect sensitive code and data (secure
keys storage) which can be executed only once at boot, and never again unless a new
reset occurs.
The Flash memory embeds the error correction code (ECC) feature supporting:
•Single error detection and correction
•Double error detection
•The address of the ECC fail can be read in the ECC register
•1 Kbyte (128 double word) OTP (one-time programmable) bytes for user data. The
OTP area is available in Bank 1 only. The OTP data cannot be erased and can be
written only once.
3.5 Embedded SRAM
STM32G4A1xE devices feature 112 Kbytes of embedded SRAM. This SRAM is split into
three blocks:
•80 Kbytes mapped at address 0x2000 0000 (SRAM1). The CM4 can access the
SRAM1 through the System Bus (or through the I-Code/D-Code buses when boot from
SRAM1 is selected or when physical remap is selected by SYSCFG_MEMRMP
register). The first 32 Kbytes of SRAM1 support hardware parity check.
•16 Kbytes mapped at address 0x2001 4000 (SRAM2). The CM4 can access the
SRAM2 through the System bus. SRAM2 can be kept in stop and standby modes.
•16 Kbytes mapped at address 0x1000 0000 (CCM SRAM). It is accessed by the CPU
through I-Code/D-Code bus for maximum performance.
It is also aliased at 0x2001 8000 address to be accessed by all masters (CPU, DMA1,
DMA2) through SBUS contiguously to SRAM1 and SRAM2.The CCM SRAM supports
hardware parity check and can be write-protected with 1-Kbyte granularity.
•The memory can be accessed in read/write at max CPU clock speed with 0 wait states.
18/200DS13268 Rev 2
STM32G4A1xEFunctional overview
MS52814V1
Cortex
®
-M4
with FPU
DMA1DMA2
AHB2
peripherals
AHB1
peripherals
CCM
SRAM
SRAM1
FLASH
512 KB
ACCEL
S-bus
D-bus
ICode
DCode
I-bus
BusMatrix-S
SRAM2
QUADSPI
3.6 Multi-AHB bus matrix
The 32-bit multi-AHB bus matrix interconnects all the masters (CPU, DMAs) and the slaves
(Flash memory, RAM, QUADSPI, AHB and APB peripherals). It also ensures a seamless
and efficient operation even when several high-speed peripherals work simultaneously.
Figure 2. Multi-AHB bus matrix
3.7 Boot modes
At startup, a BOOT0 pin (or nBOOT0 option bit)and an nBOOT1 option bit are used to select
one of three boot options:
•Boot from user Flash
•Boot from system memory
•Boot from embedded SRAM
The BOOT0 value may come from the PB8-BOOT0 pin or from an nBOOT0 option bit
depending on the value of a user nBOOT_SEL option bit to free the GPIO pad if needed.
The boot loader is located in the system memory. It is used to reprogram the Flash memory
by using USART, I2C, SPI, and USB through the DFU (device firmware upgrade).
DS13268 Rev 219/200
45
Functional overviewSTM32G4A1xE
3.8 CORDIC
The CORDIC provides hardware acceleration of certain mathematical functions, notably
trigonometric, commonly used in motor control, metering, signal processing and many other
applications.
It speeds up the calculation of these functions compared to a software implementation,
allowing a lower operating frequency, or freeing up processor cycles in order to perform
other tasks.
•Supports 16-bit and 32-bit fixed point input and output formats
•Low latency AHB slave interface
•Results can be read as soon as ready without polling or interrupt
•DMA read and write channels
3.9 Filter mathematical accelerator (FMAC)
The filter mathematical accelerator unit performs arithmetic operations on vectors. It
comprises a multiplier/accumulator (MAC) unit, together with address generation logic,
which allows it to index vector elements held in local memory.
The unit includes support for circular buffers on input and output, which allows digital filters
to be implemented. Both finite and infinite impulse response filters can be realized.
The unit allows frequent or lengthy filtering operations to be offloaded from the CPU, freeing
up the processor for other tasks. In many cases it can accelerate such calculations
compared to a software implementation, resulting in a speed-up of time critical tasks.
20/200DS13268 Rev 2
STM32G4A1xEFunctional overview
FMAC features
•16 x 16-bit multiplier
•24+2-bit accumulator with addition and subtraction
•16-bit input and output data
•256 x 16-bit local memory
•Up to three areas can be defined in memory for data buffers (two input, one output),
defined by programmable base address pointers and associated size registers
•Input and output sample buffers can be circular
•Buffer “watermark” feature reduces overhead in interrupt mode
•Filter functions: FIR, IIR (direct form 1)
•AHB slave interface
•DMA read and write data channels
3.10 Cyclic redundancy check calculation unit (CRC)
The CRC (cyclic redundancy check) calculation unit is used to get a CRC code using a
configurable generator with polynomial value and size.
Among other applications, the CRC-based techniques are used to verify data transmission
or storage integrity. In the scope of the EN/IEC 60335-1 standard, they offer a mean to verify
the Flash memory integrity.
The CRC calculation unit helps to compute a signature of the software during runtime, which
can be ulteriorly compared with a reference signature generated at link-time and which can
be stored at a given memory location.
3.11 Power supply management
3.11.1 Power supply schemes
The STM32G4A1xE devices require a 1.71 V to 3.6 V V
Several independent supplies, can be provided for specific peripherals:
•V
•V
•V
= 1.71 V to 3.6 V
DD
V
is the external power supply for the I/Os, the internal regulator and the system
DD
analog such as reset, power management and internal clocks. It is provided externally
through the VDD pins.
= 1.62 V to 3.6 V (see Section 5: Electrical characteristics for the minimum V
DDA
voltage required for ADC, DAC, COMP, OPAMP, VREFBUF operation).
V
is the external analog power supply for A/D converters, D/A converters, voltage
DDA
reference buffer, operational amplifiers and comparators. The V
independent from the V
voltage and should preferably be connected to VDD when
DD
these peripherals are not used.
= 1.55 V to 3.6 V
BAT
V
is the power supply for RTC, external clock 32 kHz oscillator and backup registers
BAT
(through power switch) when V
is not present.
DD
operating voltage supply.
DD
voltage level is
DDA
DDA
DS13268 Rev 221/200
45
Functional overviewSTM32G4A1xE
•VREF-, VREF+
V
is the input reference voltage for ADCs and DACs. It is also the output of the
REF+
internal voltage reference buffer when enabled.
When V
When V
DDA
DDA
< 2 V V
2 V V
must be equal to V
REF+
must be between 2 V and V
REF+
DDA
.
.
DDA
The internal voltage reference buffer supports three output voltages, which are
configured with VRS bits in the VREFBUF_CSR register:
–V
–V
–V
V
REF-
= 2.048 V
REF+
= 2.5 V
REF+
= 2.9 V
REF+
is double bonded with V
SSA
.
3.11.2 Power supply supervisor
The device has an integrated ultra-low-power brown-out reset (BOR) active in all modes
(except for Shutdown mode). The BOR ensures proper operation of the device after poweron and during power down. The device remains in reset mode when the monitored supply
voltage V
The lowest BOR level is 1.71 V at power on, and other higher thresholds can be selected
through option bytes.The device features an embedded programmable voltage detector
(PVD) that monitors the V
interrupt can be generated when V
higher than the VPVD threshold. The interrupt service routine can then generate a warning
message and/or put the MCU into a safe state. The PVD is enabled by software.
is below a specified threshold, without the need for an external reset circuit.
DD
power supply and compares it to the VPVD threshold. An
DD
drops below the VPVD threshold and/or when VDD is
DD
In addition, the device embeds a peripheral voltage monitor which compares the
independent supply voltages V
peripheral is in its functional supply range.
3.11.3 Voltage regulator
Two embedded linear voltage regulators, main regulator (MR) and low-power regulator
(LPR), supply most of digital circuitry in the device. The MR is used in Run and Sleep
modes. The LPR is used in Low-power run, Low-power sleep and Stop modes. In Standby
and Shutdown modes, both regulators are powered down and their outputs set in highimpedance state, such as to bring their current consumption close to zero.
The device supports dynamic voltage scaling to optimize its power consumption in Run
mode. the voltage from the main regulator that supplies the logic (VCORE) can be adjusted
according to the system’s maximum operating frequency.
The main regulator (MR) operates in the following ranges:
•Range 1 boost mode with the CPU running at up to 170 MHz.
•Range 1 normal mode with CPU running at up to 150 MHz.
•Range 2 with a maximum CPU frequency of 26 MHz.
, with a fixed threshold in order to ensure that the
DDA
22/200DS13268 Rev 2
STM32G4A1xEFunctional overview
3.11.4 Low-power modes
By default, the microcontroller is in Run mode after system or power Reset. It is up to the
user to select one of the low-power modes described below:
•Sleep mode: In Sleep mode, only the CPU is stopped. All peripherals continue to
operate and can wake up the CPU when an interrupt/event occurs.
•Low-power run mode: This mode is achieved with VCORE supplied by the low-power
regulator to minimize the regulator's operating current. The code can be executed from
SRAM or from Flash, and the CPU frequency is limited to 2 MHz. The peripherals with
independent clock can be clocked by HSI16.
•Stop mode: In Stop mode, the device achieves the lowest power consumption while
retaining the SRAM and register contents. All clocks in the VCORE domain are
stopped. The PLL, as well as the HSI16 RC oscillator and the HSE crystal oscillator are
disabled. The LSE or LSI keep running. The RTC can remain active (Stop mode with
RTC, Stop mode without RTC). Some peripherals with wakeup capability can enable
the HSI16 RC during Stop mode, so as to get clock for processing the wakeup event.
•Standby mode: The Standby mode is used to achieve the lowest power consumption
with brown-out reset, BOR. The internal regulator is switched off to power down the
VCORE domain. The PLL, as well as the HSI16 RC oscillator and the HSE crystal
oscillator are also powered down. The RTC can remain active (Standby mode with
RTC, Standby mode without RTC). The BOR always remains active in Standby mode.
For each I/O, the software can determine whether a pull-up, a pull-down or no resistor
shall be applied to that I/O during Standby mode. Upon entering Standby mode, SRAM
and register contents are lost except for registers in the RTC domain and standby
circuitry. The device exits Standby mode upon external reset event (NRST pin), IWDG
reset event, wakeup event (WKUP pin, configurable rising or falling edge) or RTC
event (alarm, periodic wakeup, timestamp, tamper), or when a failure is detected on
LSE (CSS on LSE).
•Shutdown mode: The Shutdown mode allows to achieve the lowest power
consumption. The internal regulator is switched off to power down the VCORE domain.
The PLL, as well as the HSI16 and LSI RC-oscillators and HSE crystal oscillator are
also powered down. The RTC can remain active (Shutdown mode with RTC, Shutdown
mode without RTC). The BOR is not available in Shutdown mode. No power voltage
monitoring is possible in this mode. Therefore, switching to RTC domain is not
supported. SRAM and register contents are lost except for registers in the RTC
domain. The device exits Shutdown mode upon external reset event (NRST pin),
IWDG reset event, wakeup event (WKUP pin, configurable rising or falling edge) or
RTC event (alarm, periodic wakeup, timestamp, tamper).
3.11.5 Reset mode
In order to improve the consumption under reset, the I/Os state under and after reset is
“analog state” (the I/O schmitt trigger is disabled). In addition, the internal reset pull-up is
deactivated when the reset source is internal.
3.11.6 V
operation
BAT
The V
pin allows to power the device V
BAT
supercapacitor, or from V
supercapacitor is present. The V
registers. Three anti-tamper detection pins are available in V
domain from an external battery, an external
when there is no external battery and when an external
DD
BAT
DS13268 Rev 223/200
BAT
pin supplies the RTC with LSE and the backup
mode.
BAT
45
Functional overviewSTM32G4A1xE
The V
operation is automatically activated when VDD is not present. An internal V
BAT
battery charging circuit is embedded and can be activated when V
Note:When the microcontroller is supplied from V
alarm/events exit the microcontroller from the V
is present.
DD
, neither external interrupts nor RTC
BAT
operation.
BAT
BAT
24/200DS13268 Rev 2
STM32G4A1xEFunctional overview
3.12 Interconnect matrix
Several peripherals have direct connections between them. This allows autonomous
communication between peripherals, saving CPU resources thus power supply
consumption. In addition, these hardware connections allow fast and predictable latency.
Depending on peripherals, these interconnections can operate in Run, Sleep and Stop
modes.
Timer input channel, trigger, break
from analog signals comparison
Low-power timer triggered by
analog signals comparison
Timer input channel from RTC
events
Low-power timer triggered by RTC
alarms or tampers
Clock source used as input channel
for RC measurement and trimming
Timer breakYYY-
Interconnect action
Run
Sleep
Low-power run
YYY -
YYYY
YYY -
YYYY
YYY -
Stop
GPIO
LPTIMER1External triggerYYY-
ADCx
DACx
DS13268 Rev 225/200
Conversion external triggerYYY-
45
Functional overviewSTM32G4A1xE
3.13 Clocks and startup
The clock controller distributes the clocks coming from different oscillators to the core and
the peripherals. It also manages clock gating for low-power modes and ensures clock
robustness. It features:
•Clock prescaler: to get the best trade-off between speed and current consumption,
the clock frequency to the CPU and peripherals can be adjusted by a programmable
prescaler
•Safe clock switching: clock sources can be changed safely on the fly in run mode
through a configuration register.
•Clock management: to reduce power consumption, the clock controller can stop the
clock to the core, individual peripherals or memory.
•System clock source: three different sources can deliver SYSCLK system clock:
–4 - 48 MHz high-speed oscillator with external crystal or ceramic resonator (HSE).
It can supply clock to system PLL. The HSE can also be configured in bypass
mode for an external clock.
–16 MHz high-speed internal RC oscillator (HSI16), trimmable by software. It can
supply clock to system PLL.
–System PLL with maximum output frequency of 170 MHz. It can be fed with HSE
or HSI16 clocks.
•RC48 with clock recovery system (HSI48): internal HSIRC48 MHz clock source can
be used to drive the USB or the RNG peripherals.
•Auxiliary clock source: two ultra-low-power clock sources for the real-time clock
(RTC):
–32.768 kHz low-speed oscillator with external crystal (LSE), supporting four drive
capability modes. The LSE can also be configured in bypass mode for using an
external clock.
–32 kHz low-speed internal RC oscillator (LSI) with ±5% accuracy, also used to
RNG) have their own clock independent of the system clock.
•Clock security system (CSS): in the event of HSE clock failure, the system clock is
automatically switched to HSI16 and, if enabled, a software interrupt is generated. LSE
clock failure can also be detected and generate an interrupt.
•Clock-out capability:
–MCO: microcontroller clock output: it outputs one of the internal clocks for external
use by the application
–LSCO: low speed clock output: it outputs LSI or LSE in all low-power modes.
Several prescalers allow to configure the AHB frequency, the High-speed APB (APB2) and
the low speed APB (APB1) domains. The maximum frequency of the AHB and the APB
domains is 170 MHz.
26/200DS13268 Rev 2
STM32G4A1xEFunctional overview
3.14 General-purpose inputs/outputs (GPIOs)
Each of the GPIO pins can be configured by software as output (push-pull or open-drain), as
input (with or without pull-up or pull-down) or as peripheral alternate function. Most of the
GPIO pins are shared with digital or analog alternate functions. Fast I/O toggling can be
achieved thanks to their mapping on the AHB2 bus.
The I/Os alternate function configuration can be locked if needed following a specific
sequence in order to avoid spurious writing to the I/Os registers.
3.15 Direct memory access controller (DMA)
The device embeds 2 DMAs. Refer to Table 4: DMA implementation for the features
implementation.
Direct memory access (DMA) is used in order to provide a high-speed data transfer
between peripherals and memory as well as from memory to memory. Data can be quickly
moved by DMA without any CPU actions. This keeps the CPU resources free for other
operations.
The two DMA controllers have 16 channels in total, each one dedicated to manage memory
access requests from one or more peripherals. Each controller has an arbiter for handling
the priority between DMA requests.
–Each channel is connected to a dedicated hardware DMA request, a software
trigger is also supported on each channel. This configuration is done by software.
•Priorities between requests from channels of one DMA are both software
programmable (4 levels: very high, high, medium, low) or hardware programmable in
case of equality (request 1 has priority over request 2, etc.)
•Independent source and destination transfer size (byte, half word, word), emulating
packing and unpacking. Source/destination addresses must be aligned on the data
size.
•Support for circular buffer management
•3 event flags (DMA half transfer, DMA transfer complete and DMA transfer error)
logically ORed together in a single interrupt request for each channel
•Memory-to-memory transfer
•Peripheral-to-memory, memory-to-peripheral, and peripheral-to-peripheral transfers
•Access to Flash, SRAM, APB and AHB peripherals as source and destination
•Programmable number of data to be transferred: up to 65536.
DMA featuresDMA1DMA2
Number of regular channels88
Table 4. DMA implementation
DS13268 Rev 227/200
45
Functional overviewSTM32G4A1xE
3.16 DMA request router (DMAMux)
When a peripheral indicates a request for DMA transfer by setting its DMA request line, the
DMA request is pending until it is served and the corresponding DMA request line is reset.
The DMA request router allows to route the DMA control lines between the peripherals and
the DMA controllers of the product.
An embedded multi-channel DMA request generator can be considered as one of such
peripherals. The routing function is ensured by a multi-channel DMA request line
multiplexer. Each channel selects a unique set of DMA control lines, unconditionally or
synchronously with events on synchronization inputs.
For simplicity, the functional description is limited to DMA request lines. The other DMA
control lines are not shown in figures or described in the text. The DMA request generator
produces DMA requests following events on DMA request trigger inputs.
The STM32G4A1xE devices embed a nested vectored interrupt controller which is able to
manage 16 priority levels, and to handle up to 71 maskable interrupt channels plus the 16
interrupt lines of the Cortex
•Interrupt entry vector table address passed directly to the core
•Allows early processing of interrupts
•Processing of late arriving higher priority interrupts
•Support for tail chaining
•Processor state automatically saved
•Interrupt entry restored on interrupt exit with no instruction overhead
The NVIC hardware block provides flexible interrupt management features with minimal
interrupt latency.
3.17.2 Extended interrupt/event controller (EXTI)
The extended interrupt/event controller consists of 40 edge detector lines used to generate
interrupt/event requests and to wake-up the system from the Stop mode. Each external line
can be independently configured to select the trigger event (rising edge, falling edge, both)
and can be masked independently.
A pending register maintains the status of the interrupt requests. The internal lines are
connected to peripherals with wakeup from Stop mode capability. The EXTI can detect an
external line with a pulse width shorter than the internal clock period. Up to 86 GPIOs can
be connected to the 16 external interrupt lines.
28/200DS13268 Rev 2
STM32G4A1xEFunctional overview
3.18 Analog-to-digital converter (ADC)
The device embeds three successive approximation analog-to-digital converters with the
following features:
•12-bit native resolution, with built-in calibration
•4 Msps maximum conversion rate with full resolution
–Down to 41.67 ns sampling time
–Increased conversion rate for lower resolution (up to 6.66 Msps for 6-bit
resolution)
•One external reference pin is available on all packages, allowing the input voltage
range to be independent from the power supply
•Single-ended and differential mode inputs
•Low-power design
–Capable of low-current operation at low conversion rate (consumption decreases
linearly with speed)
–Dual clock domain architecture: ADC speed independent from CPU frequency
•Highly versatile digital interface
–Single-shot or continuous/discontinuous sequencer-based scan mode: 2 groups
of analog signals conversions can be programmed to differentiate background and
high-priority real-time conversions
–Each ADC support multiple trigger inputs for synchronization with on-chip timers
and external signals
–Results stored into a data register or in RAM with DMA controller support
–Data pre-processing: left/right alignment and per channel offset compensation
–Built-in oversampling unit for enhanced SNR
–Channel-wise programmable sampling time
–Analog watchdog for automatic voltage monitoring, generating interrupts and
trigger for selected timers
–Hardware assistant to prepare the context of the injected channels to allow fast
context switching
–Flexible sample time control
–Hardware gain and offset compensation
3.18.1 Temperature sensor
The temperature sensor (TS) generates a voltage VTS that varies linearly with temperature.
The temperature sensor is internally connected to the ADC1_IN16 input channel which is
used to convert the sensor output voltage into a digital value.
The sensor provides good linearity but it has to be calibrated to obtain good overall
accuracy of the temperature measurement. As the offset of the temperature sensor varies
from chip to chip due to process variation, the uncalibrated internal temperature sensor is
suitable for applications that detect temperature changes only.
To improve the accuracy of the temperature sensor measurement, each device is
individually factory-calibrated by ST. The temperature sensor factory calibration data are
stored by ST in the system memory area, accessible in read-only mode.
DS13268 Rev 229/200
45
Functional overviewSTM32G4A1xE
Calibration value nameDescriptionMemory address
TS_CAL1
TS_CAL2
Table 5. Temperature sensor calibration values
TS ADC raw data acquired at a
temperature of 30 °C (± 5 °C),
V
DDA
TS ADC raw data acquired at a
temperature of 110 °C (± 5 °C),
V
DDA
3.18.2 Internal voltage reference (V
The internal voltage reference (VREFINT) provides a stable (bandgap) voltage output for
the ADC and the comparators. The VREFINT is internally connected to the ADC1_IN18 and
ADC3_IN18 input channel. The precise voltage of VREFINT is individually measured for
each part by ST during production test and stored in the system memory area. It is
accessible in read-only mode.
Calibration value nameDescriptionMemory address
Table 6. Internal voltage reference calibration values
Raw data acquired at a
VREFINT
temperature of 30 °C (± 5 °C),
V
DDA
= V
REF+
= V
REF+
REFINT
= V
REF+
0x1FFF 75A8 - 0x1FFF 75A9
= 3.0 V (± 10 mV)
0x1FFF 75CA - 0x1FFF 75CB
= 3.0 V (± 10 mV)
)
0x1FFF 75AA - 0x1FFF 75AB
= 3.0 V (± 10 mV)
3.18.3 V
battery voltage monitoring
BAT
This embedded hardware enables the application to measure the V
the internal ADC1_IN17 channel. As the V
voltage may be higher than the V
BAT
thus outside the ADC input range, the VBAT pin is internally connected to a bridge divider by
3. As a consequence, the converted digital value is one third of the V
The OPAMPx (x = 1,2,3,6) output OPAMPxINT can be sampled using an ADCx (x = 1,2,3)
internal input channel. In this case, the I/O on which the OPAMPx output is mapped can be
used as GPIO.
3.19 Digital to analog converter (DAC)
Four 12 bit DAC channels (2 external buffered and 2 internal unbuffered) can be used to
convert digital signals into analog voltage signal outputs. The chosen design structure is
composed of integrated resistor strings and an amplifier in inverting configuration.
battery voltage using
BAT
DDA
voltage.
BAT
, and
30/200DS13268 Rev 2
Loading...
+ 170 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.