Using STM32L1 analog comparators in application cases Application note
■ 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.
|
|
Application note & Design Guide |
|
|
|
Please see the document for details |
|
|
|
|
|
|
|
English Chinese Chinese and English Japanese |
|
07-Feb-2012 |
|
Rev 3 |
|
17758 |
|
316 KB |
- +1 Like
- Add to Favorites
Recommend
All reproduced articles on this site are for the purpose of conveying more information and clearly indicate the source. If media or individuals who do not want to be reproduced can contact us, which will be deleted.