поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AN4067 датащи(PDF) 11 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) 11 Page - STMicroelectronics

Back Button AN4067 Datasheet HTML 7Page - STMicroelectronics AN4067 Datasheet HTML 8Page - STMicroelectronics AN4067 Datasheet HTML 9Page - STMicroelectronics AN4067 Datasheet HTML 10Page - STMicroelectronics AN4067 Datasheet HTML 11Page - STMicroelectronics AN4067 Datasheet HTML 12Page - STMicroelectronics AN4067 Datasheet HTML 13Page - STMicroelectronics AN4067 Datasheet HTML 14Page - STMicroelectronics AN4067 Datasheet HTML 15Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 27 page
background image
DocID022913 Rev 2
11/27
AN4067
Internal RC oscillator calibration
26
The real frequency generated by the internal RC oscillator HSI14 is given by:
The error (in Hz) is computed as the absolute value of the difference between the measured
frequency and the typical value.
Hence, the internal oscillator frequency error is expressed as:
After calculating the error for each trimming value, the algorithm determines the optimum
trimming value (that corresponds to the nearest frequency to the typical value) to be
programmed in the trimming bits (refer to Section 3.3: Description of the internal oscillator
calibration firmware for more details).
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.
In order to improve the accuracy, the timer prescaler can be used to increase the ratio
between HSI14 frequency and the reference frequency.
3.1.3
HSI48 calibration
HSI48 can be calibrated in the same way as HSI or HSI14. However, STM32F0xx product
family implements CRS (Clock recovery system) that is capable of doing automatic
adjustment of the oscillator trimming based on the comparison with a selectable
synchronization signal.
Internally HSI48 implements a 16-bit down/up counter which step by step increments or
decrements of TRIM value until it reaches the expected frequency value based on LSE
reference clock or the USB SOF signal.
The HSI48 calibration using CRS can be run in fully automatic mode. To speed up the
process, the CRS can be used for measurement of the actual error, and set trim value with
pre-calculated value. This process can repeated once or twice as the curve might not be
linear. When requested frequency is reached automatic calibration can be activated for
further smooth calibration, e.g. compensating temperature changes.
3.2
Hardware implementation
3.2.1
Case where LSE is used as the reference frequency to measure HSI
The STM32F0xx offers a useful feature, that is the ability to connect internally and indirectly
the Low-speed external (LSE) oscillator to Timer 14 channel 1. Thus, the LSE clock can be
used as the reference signal for internal oscillator calibration and no additional hardware
connections are required. Only the LSE oscillator should be connected to OSC32_IN and
OSC32_OUT.
Figure 7 shows the hardware connections needed for internal oscillators calibration, using
LSE as an accurate frequency source for calibration.
Measuredfrequency
SystemClock
 IC1ReadValue2 IC1ReadValue1
–


=
Error Hz

Measuredfrequency
typicalvalue
–
=



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



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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