Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3248 Datasheet(PDF) 11 Page - STMicroelectronics

Part # AN3248
Description  Using STM32L1 analog comparators in application cases
PDF  17 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3248 Datasheet(HTML) 11 Page - STMicroelectronics

Back Button AN3248 Datasheet HTML 7Page - STMicroelectronics AN3248 Datasheet HTML 8Page - STMicroelectronics AN3248 Datasheet HTML 9Page - STMicroelectronics AN3248 Datasheet HTML 10Page - STMicroelectronics AN3248 Datasheet HTML 11Page - STMicroelectronics AN3248 Datasheet HTML 12Page - STMicroelectronics AN3248 Datasheet HTML 13Page - STMicroelectronics AN3248 Datasheet HTML 14Page - STMicroelectronics AN3248 Datasheet HTML 15Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 17 page
background image
AN3248
PWM signal control
Doc ID 17758 Rev 3
11/17
4
PWM signal control
In STM32L1 devices, the COMP2 output can be redirected to the output compare reference
clear signal (OCREFCLR) of the embedded timers: TIM2, TIM3, and TIM4 (refer to Figure 7:
COMP2 with output redirection feature). The possibility of redirecting the COMP2 output can
be used to provide a fast response time that is independent from the system frequency
when an analog event occurs. This application case controls a PWM signal for motor control
when the current sensor output is connected to the COMP2 non-inverting input. In this
situation, the reference voltage is connected to the COMP2 inverting input. When the
current sensor output exceeds the selected threshold, the COMP2 output goes high and the
PWM signals switch to safe state.
Figure 9.
PWM signal control: COMP2 output redirection to timer
1.
In the pulse width measurement application, COMP1 cannot be used since its output CMP1OUT (internal
output) is not connected to the embedded timers.
Note:
When the current sensor voltage reaches the reference voltage, the COMP2 output goes
high. Consequently, the PWM and output compare reference signals go low (to safe state).
Time
PWM signal
Time
PWM signal at safe state (low level)
Time
COMP2 output is at high level
Low level
High level
COMP2 output
Current sensor output
Reference voltage
ai18708



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com