전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN4067 데이터시트(PDF) 23 Page - STMicroelectronics

부품명 AN4067
상세설명  Microcontrollers of STM32F0x1
PDF  27 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4067 데이터시트(HTML) 23 Page - STMicroelectronics

Back Button AN4067 Datasheet HTML 19Page - STMicroelectronics AN4067 Datasheet HTML 20Page - STMicroelectronics AN4067 Datasheet HTML 21Page - STMicroelectronics AN4067 Datasheet HTML 22Page - STMicroelectronics AN4067 Datasheet HTML 23Page - STMicroelectronics AN4067 Datasheet HTML 24Page - STMicroelectronics AN4067 Datasheet HTML 25Page - STMicroelectronics AN4067 Datasheet HTML 26Page - STMicroelectronics AN4067 Datasheet HTML 27Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 23 / 27 page
background image
DocID022913 Rev 2
23/27
AN4067
Low-speed internal oscillator measurement
26
Figure 15. Timing diagram of an internal RC oscillator measurement
The internal oscillator frequency value is computed as shown by the following formula:
internal oscillator frequency = HSI_Value / Capture
where:
HSI_Value is the HSI frequency value: typical value is 8 MHz,
Capture represents an entire period of internal RC oscillator LSI: IC1ReadValue2 -
IC1ReadValue1.
As users can conclude from the formula above, the frequency measurement accuracy
depends on the HSI frequency accuracy. Consequently, if a reference signal is available,
users can run the internal RC oscillator calibration routine described in Section 3: Internal
RC oscillator calibration before performing the internal RC oscillator measurement
procedure.
The input capture prescaler can be used for better measurement accuracy so the formula
above becomes:
LSI_Frequency = InputCapturePrescaler * HSI_Value / Capture_Value.
Note:
If the HSE clock is available it is highly recommended to use it as the reference clock
instead of HSI, to benefit from its higher accuracy.
4.2
Description of the internal oscillator measurement firmware
The internal oscillator measurement firmware provided with this application note includes
one C source files:
LSIMeasurement.c performing LSI frequency measurement using LSI_FreqMeasure()
function
The internal RC oscillator LSI is measured for a predefined number of periods. Then it
returns the average value to minimize the error of the measured frequency.
Users can change this parameter (number of LSI periods) in the lsi_measurement.h file:
#define LSI_PERIOD_NUMBERS 10



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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