Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4013 Datasheet(PDF) 11 Page - STMicroelectronics

Part # AN4013
Description  The purpose of this document
PDF  37 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4013 Datasheet(HTML) 11 Page - STMicroelectronics

Back Button AN4013 Datasheet HTML 7Page - STMicroelectronics AN4013 Datasheet HTML 8Page - STMicroelectronics AN4013 Datasheet HTML 9Page - STMicroelectronics AN4013 Datasheet HTML 10Page - STMicroelectronics AN4013 Datasheet HTML 11Page - STMicroelectronics AN4013 Datasheet HTML 12Page - STMicroelectronics AN4013 Datasheet HTML 13Page - STMicroelectronics AN4013 Datasheet HTML 14Page - STMicroelectronics AN4013 Datasheet HTML 15Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 37 page
background image
DocID022500 Rev 4
11/37
AN4013
General-purpose timer modes
36
Example external clock mode2
In this mode, the update event period is calculated as follows:
Update_event = ETR_CLK/((ETR_PSC)*(PSC + 1)*(ARR + 1)*(RCR + 1))
Where ETR_CLK = the external clock frequency connected to ETR pin.
ETR_CLK = 100 kHz
Prescaler = 1
ETR_PSC = 2
Autoreload = 255
Repetition counter = 2
Update_event= 100*103/((2 + 1)* (1+ 1)*((255 + 1)*(2 + 1))
Update_event = 21.7 Hz
Example external clock mode1
In this mode, the update event period is calculated as follows:
Update_event = TIx_CLK/((PSC + 1)*(ARR + 1)*(RCR +1))
Where TIx_CLK = the external clock frequency connected to TI1 pin or TI2 pin.
TIx_CLK = 50 kHz
Prescaler = 1
Auto reload = 255
Repetition counter = 2
Update_event = 50 000/((1+ 1)*((255 + 1)*(2 + 1))
Update_event = 32.55 Hz
Example Internal trigger clock (ITRx) mode1
In this mode, the update event period is calculated as follows:
Update_event = ITRx_CLK/((PSC + 1)*(ARR + 1)*(RCR + 1))
Where ITRx_CLK = the internal trigger frequency mapped to timer trigger input (TRGI)
ITRx_CLK = 8 kHz
Prescaler = 1
Auto reload = 255
Repetition counter = 1
Update_event = 8000/((1+ 1)*((255 + 1)*(1 + 1))
Update_event = 7.8 Hz
Depending on the counter mode, the update event is generated each:
Overflow, if up counting mode is used: the DIR bit is reset in TIMx_CR1 register
Underflow, if down counting mode is used: the DIR bit is set in TIMx_CR1 register
Overflow and underflow, if center aligned mode is used: the CMS bits are different from
zero.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37


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