EasyManuals Logo

ST STM32L152-EVAL User Manual

ST STM32L152-EVAL
44 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #13 background imageLoading...
Page #13 background image
UM1018 Hardware and layout
Doc ID 18141 Rev 1 13/44
2.13 Comparator
3 I/Os are used to implement a comparator feature as shown in Figure 3.
Comparator non-inverting input PB4 connected to LDR (R34).
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
analogue voltage input for comparison with internal voltage reference (for instance
Band gap) in order to test analogue Wakeup feature of the MCU.
Figure 3. STM32L152-EVAL comparator features
Jumper JP17 allows 3 different usages of the potentiometer as shown in Ta bl e 1 0.
Table 10. Comparator and potentiometer related jumpers
Jumper Description Setting
JP17
Potentiometer RV3 is connected to ADC input PB12. Used as ADC input
when JP17 is set as shown (default setting).
Potentiometer RV3 used as LDR variable threshold. Input is connected to
comparator inverting input GPCOMP_IN- (PB3) when JP17 is set as shown.
Potentiometer RV3 is connected to non-inverting input GPCOMP_IN+(PB5).
The comparator inverting input can be connected to ¼ band gap, ½ band
gap, band gap or DAC internally in order to test the possibility to wakeup the
MCU when an external voltage reaches a programmable threshold when
JP17 is set as shown.
"ANDGAP6
!$#?).
'0#/-0?).
'0#/-0?).
'0#/-0?).
'.$
'.$
6$$
0"
0"
0"
0"
'0COMPARATOR
)#!0
,$2?/54
,$2
26
6$$
*0
-36
PB12
PB3
PB5
PB12
PB3
PB5
PB12
PB3
PB5
Downloaded from Elcodis.com electronic components distributor

Other manuals for ST STM32L152-EVAL

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32L152-EVAL and is the answer not in the manual?

ST STM32L152-EVAL Specifications

General IconGeneral
BrandST
ModelSTM32L152-EVAL
CategoryMotherboard
LanguageEnglish

Related product manuals