Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN2281 Datasheet(PDF) 9 Page - STMicroelectronics

Part # AN2281
Description  Low cost self-synchronizing PMAC motor drive using ST7FLITE35
PDF  38 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2281 Datasheet(HTML) 9 Page - STMicroelectronics

Back Button AN2281 Datasheet HTML 5Page - STMicroelectronics AN2281 Datasheet HTML 6Page - STMicroelectronics AN2281 Datasheet HTML 7Page - STMicroelectronics AN2281 Datasheet HTML 8Page - STMicroelectronics AN2281 Datasheet HTML 9Page - STMicroelectronics AN2281 Datasheet HTML 10Page - STMicroelectronics AN2281 Datasheet HTML 11Page - STMicroelectronics AN2281 Datasheet HTML 12Page - STMicroelectronics AN2281 Datasheet HTML 13Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 38 page
background image
AN2281
Implementation on the ST7LITE35 microcontroller
9/38
3.2
Lite timer for measuring the rotor speed
3.2.1
Block diagram and functional description
The Lite timer (LT) can be used for general-purpose timing functions. It is based on two free-
running 8-bit upcounters and one 8-bit input capture register.
Figure 6 shows the Lite timer block diagram.
Figure 6.
The Lite timer block diagram
After an MCU reset, counter 1 starts incrementing from 0 at a frequency of fOSC/32. An
overflow event occurs when the counter rolls over from F9h to 00h. If fOSC=8 MHz, then the
time period between two counter overflow events is 1 ms. This period can be optionally
doubled by setting the TB bit in the LTCSR1 register.
When Counter 1 overflows, the TB1F bit is set by hardware and an interrupt request is
generated if the TB1IE bit is set.
The Counter 2 functions in a similar way to Counter 1 but, after an MCU reset, it increments
starting from the value stored in the LTARR register instead of starting from 0.
As you can see in Figure 6, Counter 1 is associated with an 8-bit input capture register, used
to latch the free-running upcounter after a rising or falling edge is detected on the LTIC pin.
LTCSR1
8-bit TIMEBASE
/2
8-bit
fLTIMER
8
LTIC
fOSC/32
TB1F
TB1IE
TB
ICF
ICIE
LTTB1 INTERRUPT REQUEST
LTIC INTERRUPT REQUEST
LTICR
INPUT CAPTURE
REGISTER
1
0
1 or 2 ms
Timebase
(@ 8MHz
fOSC)
To 12-bit AT TImer
fLTIMER
LTCSR2
TB2F
0
TB2IE
0
LTTB2
8-bit TIMEBASE
0
0
8-bit AUTORELOAD
REGISTER
8
LTCNTR
LTARR
COUNTER 2
COUNTER 1
0
0
Interrupt request



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 38


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