EEWORLDEEWORLDEEWORLD

Part Number

Search

AN3248

Description
Using STM32L1 analog comparators in application cases
File Size294KB,17 Pages
ManufacturerSTMicroelectronics
Websitehttp://www.st.com/
Download Datasheet View All

AN3248 Overview

Using STM32L1 analog comparators in application cases

AN3248
Application note
Using STM32L1 analog comparators in application cases
Introduction
This document describes six application cases of the two analog comparators embedded in
the ultra low power STM32L1 product line. The application cases are:
Analog voltage monitoring
Analog watchdog during Stop mode
Pulse width measurement
Pulse width modulation (PWM) signal control
Capacitance measurement
Brightness control using a light dependent resistor (LDR)
The six application cases demonstrate the usefulness of analog comparators and show how
they are integrated with other peripherals, for example, the digital-to-analog-converter (DAC)
and timers.
To ensure a quick start, four application cases presented in this document are implemented
in C language and are available in
Project\STM32L1xx_StdPeriph_Examples\COMP
within
the
STM32L1xx_StdPeriph_Lib
package.
Please note that this document is not intended to replace the routing interface (RI) and
comparator sections in the product reference manual RM0038 (for STM32L1xx Ultra Low
Power devices).
The peripheral power consumption should be consulted in the device datasheets.
February 2012
Doc ID 17758 Rev 3
1/17

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Datasheet   0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Room 1530, 15th Floor, Building B, No. 18 Zhongguancun Street, Haidian District, Beijing Telephone: (010) 82350740 Postal Code: 100190
Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号