công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

AN4067 bảng dữ liệu(PDF) 18 Page - STMicroelectronics

tên linh kiện AN4067
Giải thích chi tiết về linh kiện  Microcontrollers of STM32F0x1
PDF  27 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4067 bảng dữ liệu(HTML) 18 Page - STMicroelectronics

Back Button AN4067 Datasheet HTML 14Page - STMicroelectronics AN4067 Datasheet HTML 15Page - STMicroelectronics AN4067 Datasheet HTML 16Page - STMicroelectronics AN4067 Datasheet HTML 17Page - STMicroelectronics AN4067 Datasheet HTML 18Page - STMicroelectronics AN4067 Datasheet HTML 19Page - STMicroelectronics AN4067 Datasheet HTML 20Page - STMicroelectronics AN4067 Datasheet HTML 21Page - STMicroelectronics AN4067 Datasheet HTML 22Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 27 page
background image
Internal RC oscillator calibration
AN4067
18/27
DocID022913 Rev 2
3.3.3
Internal oscillator frequency measurement
The internal oscillator frequency measurement is performed by Timer 14 capture interrupt.
In the timer TIM14 ISR, an entire period of internal oscillator frequency is computed. The
number of periods to be measured for each trimming value is configurable by the user in the
InternOscCalibration.h file, as follows:
#define NUMBER_OF_LOOPS 50
The averaging method is used to minimize frequency error measurements. So, if the
counter of loops reaches NUMBER_OF_LOOPS, the average of all measured frequencies is
computed.
Users can easily configure the frequency of the reference source. It is defined in the
InternOscCalibration.h header file, as follows:
If the LSE clock is used as the reference frequency, uncomment the line below to make
sure the LSE is configured and internally connected to Timer 14 channel 1:
#define USE_REFERENCE_LSE
If the reference frequency is an external signal equal to 50 Hz, then comment the line
above and define the reference frequency as shown below:
#define REFERENCE_FREQUENCY (uint32_t)50 /* The reference
frequency value in Hz */
The computation of the frequency measurements does not depend on the duty cycle of the
source reference signal. It depends on its frequency since the capture 1 interrupt is
configured to occur on every rising edge of the reference signal (refer to Figure 5).
Note:
Figure 3.3.4 provides the frequency measurement algorithm.



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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