Functional overview
STM32F042x4 STM32F042x6
14/117
DocID025832 Rev 5
3.4 Cyclic
redundancy
check calculation unit (CRC)
The CRC (cyclic redundancy check) calculation unit is used to get a CRC code from a 32-bit
data word and a CRC-32 (Ethernet) polynomial.
Among other applications, 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 means of
verifying the Flash memory integrity. The CRC calculation unit helps compute a signature of
the software during runtime, to be compared with a reference signature generated at link-
time and stored at a given memory location.
3.5 Power
management
3.5.1
Power supply schemes
•
V
DD
= V
DDIO1
= 2.0 to 3.6 V: external power supply for I/Os (V
DDIO1
) and the internal
regulator. It is provided externally through VDD pins.
•
V
DDA
= from V
DD
to 3.6 V: external analog power supply for ADC, Reset blocks, RCs
and PLL (minimum voltage to be applied to V
DDA
is 2.4 V when the ADC is used). It is
provided externally through VDDA pin. The V
DDA
voltage level must be always greater
or equal to the V
DD
voltage level and must be established first.
•
V
DDIO2
= 1.65 to 3.6 V: external power supply for marked I/Os. V
DDIO2
is provided
externally through the VDDIO2 pin. The V
DDIO2
voltage level is completely independent
from V
DD
or V
DDA
, but it must not be provided without a valid supply on V
DD
. The
V
DDIO2
supply is monitored and compared with the internal reference voltage
(V
REFINT
). When the V
DDIO2
is below this threshold, all the I/Os supplied from this rail
are disabled by hardware. The output of this comparator is connected to EXTI line 31
and it can be used to generate an interrupt. Refer to the pinout diagrams or tables for
concerned I/Os list.
•
V
BAT
= 1.65 to 3.6 V: power supply for RTC, external clock 32 kHz oscillator and
backup registers (through power switch) when V
DD
is not present.
For more details on how to connect power pins, refer to
Figure 13: Power supply scheme
3.5.2
Power supply supervisors
The device has integrated power-on reset (POR) and power-down reset (PDR) circuits.
They are always active, and ensure proper operation above a threshold of 2 V. The device
remains in reset mode when the monitored supply voltage is below a specified threshold,
V
POR/PDR
, without the need for an external reset circuit.
•
The POR monitors only the V
DD
supply voltage. During the startup phase it is required
that V
DDA
should arrive first and be greater than or equal to V
DD
.
•
The PDR monitors both the V
DD
and V
DDA
supply voltages, however the V
DDA
power
supply supervisor can be disabled (by programming a dedicated Option bit) to reduce
the power consumption if the application design ensures that V
DDA
is higher than or
equal to V
DD
.
The device features an embedded programmable voltage detector (PVD) that monitors the
V
DD
power supply and compares it to the V
PVD
threshold. An interrupt can be generated
when V
DD
drops below the V
PVD
threshold and/or when V
DD
is higher than the V
PVD