Datasheet

Table Of Contents
DS13105 Rev 4 39/135
STM32WLE5J8/JB/JC Functional overview
46
3.17 Voltage reference buffer (VREFBUF)
The devices embed a voltage reference buffer that can be used as voltage reference for
ADC, and also as voltage reference for external components through the VREF+ pin.
VREFBUF supports two voltages: 2.048 V and 2.5 V.
An external voltage reference can be provided through the VREF+ pin when VREFBUF
is off.
3.18 Digital-to-analog converter (DAC)
The 1-channel 12-bit buffered DAC converts a digital value into an analog voltage available
on the channel output. The architecture of each channel is based on an integrated resistor
string and an inverting amplifier. The digital circuitry is common for both channels.
DAC main features:
1 DAC output channel
8-bit or 12-bit output mode
buffer offset calibration (factory and user trimming)
left or right data alignment in 12-bit mode
synchronized update capability
noise-wave generation
triangular-wave generation
independent or simultaneous conversion for DAC channels
DMA capability for either DAC channel
triggering with timer events, synchronized with DMA
triggering with external events
Sample-and-hold low-power mode, with internal or external capacitor
3.19 Comparator (COMP)
The devices embed two rail-to-rail comparators with programmable reference voltage
(internal or external), hysteresis and speed (low speed for low-power) and with selectable
output polarity.
The reference voltage can be one of the following:
external I/O
internal reference voltage or submultiple (1/4, 1/2, 3/4)
All comparators can wake up from Stop mode, generate interrupts and breaks for the timers,
and can be also combined into a window comparator.
3.20 True random number generator (RNG)
The devices embed a true RNG that delivers 32-bit random numbers generated by an
integrated analog circuitry.