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

X  

AN4631 датащи(PDF) 13 Page - STMicroelectronics

номер детали AN4631
подробное описание детали  How to calibrate an STM32L0xx internal RC oscillator
PDF  30 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4631 датащи(HTML) 13 Page - STMicroelectronics

Back Button AN4631 Datasheet HTML 9Page - STMicroelectronics AN4631 Datasheet HTML 10Page - STMicroelectronics AN4631 Datasheet HTML 11Page - STMicroelectronics AN4631 Datasheet HTML 12Page - STMicroelectronics AN4631 Datasheet HTML 13Page - STMicroelectronics AN4631 Datasheet HTML 14Page - STMicroelectronics AN4631 Datasheet HTML 15Page - STMicroelectronics AN4631 Datasheet HTML 16Page - STMicroelectronics AN4631 Datasheet HTML 17Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 30 page
background image
DocID027266 Rev 2
13/30
Internal RC oscillator calibration
29
2.3
Description of the internal oscillator calibration firmware
The internal RC oscillator calibration firmware provided with this application note includes
three major functions:
•
uint32_t
HSI16_CalibrateMinError(void)
•
ErrorStatus HSI16_CalibrateFixedError(uint32_t MaxAllowedError,
uint32_t* Freq)
•
ErrorStatus HSI16_CalibrateCurve(uint32_t* Freq)
•
uint32_t
MSI_CalibrateMinError(void)
•
ErrorStatus MSI_CalibrateFixedError(uint32_t MaxAllowedError,
uint32_t* Freq)
•
ErrorStatus MSI_CalibrateCurve(uint32_t* Freq)
•
void HSI16_GetCurve( void );
•
void MSI_GetCurve(void);
•
uint32_t HSI48_FreqMeasure( void );
•
uint32_t HSI48_ManualTrimming( void );
2.3.1
HSI16/MSI calibration with minimum error
The HSI16_CalibrateMinError() and MSI_CalibrateMinError() functions calibrate the internal
oscillator to have the frequency nearest to the typical value. It measures all frequencies for
different trimming values and provides the trimming value that corresponds to the frequency
with the minimum error. The trimming value thus obtained is programmed in the trimming
bits.
After calibration, the HSI16_CalibrateMinError() and MSI_CalibrateMinError functions return
the internal oscillator frequency value as an unsigned 32-bit integer (uint32_t).
The flowchart in Figure 8 provides the algorithm for this function.
Example
uint32_t InternOscAfterCalib = 0;
{
......
/* Get the internal oscillator (HSI16) value after calibration */
InternOscAfterCalib = HSI16_CalibrateMinError();
}



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


датащи скачать

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