UM1521
Hardware layout and configuration
Doc ID 022868 Rev 1
21/56
2.16 Analog
input
A 2-pin connector, CN8, is connected to PA4 of the STM32L152ZDT6 as an external analog
input or DAC output. A low pass filter can be implemented for a 2-pin connector by replacing
R43 and C35 with ADC input or replacing R36 and C35 with DAC output, with correct values
of resistor and capacitor as requested by end user's application.
There are also three analog signals available on the board:
1.
10 KOhm potentiometer RV3 connected to PF10.
2.
10 KOhm potentiometer RV3 connected to OpAmp2 PA6.
3. I
DD
measurement output signal connected to PF11 for MCU power consumption test.
2.17 Comparator
Three I/Os implement a comparator feature as shown in
●
Comparator non-inverting input PB4; connected to LDR (R157).
●
Comparator inverting input PB3; connected to potentiometer (RV3) used as variable
threshold input for comparison to luminosity measured on LDR.
●
Comparator non-inverting input PB5; connected to potentiometer (RV3) used as analog
voltage input for comparison with internal voltage reference (for instance Band gap) in
order to test analog Wakeup feature of the MCU.
Figure 8.
STM32L152D-EVAL comparator features
Table 17.
Analog input related jumpers
Jumper
Description
JP12
10 KOhm potentiometer RV3 connected to OpAmp2 PA6 when JP12 is closed.
Default setting
: Closed
JP7
Description of JP7 is in
www.BDTIC.com/ST