| Electronic Components Datasheet Search |
|
AN2822 Datasheet(PDF) 6 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2822 Datasheet(HTML) 6 Page - STMicroelectronics |
|
6 / 19 page ![]() High speed internal oscillator trimming AN2822 6/19 Doc ID 14983 Rev 2 Note: The default value on the CLK_HSITRIMR register is zero (000b) after reset. 1.2 Calibration principle To calibrate the HSI output frequency, a reference timebase is necessary. A simple reference timebase can be used, such as the post-processed signal from the mains power source (see Section 2). The final accuracy of the HSI frequency is strongly dependent on the accuracy of the reference timebase. Better accuracy can be achieved with more accurate timebases such as a signal generator. Figure 2. HSI calibration set-up The calibration signal, from the mains power supply, is connected to the TIM3_CC1 input pin and is used as a timebase which allows the microcontroller to test if the HSI RC oscillator frequency is above or below the nominal frequency. The HSI frequency is sequentially tuned by the microcontroller until the optimum value is reached. Table 1. CLK_HSITRIMR values and two’s-complement binary representation Decimal value Binary two’s-complement value 3011 2010 1001 0000 -1 111 -2 110 -3 101 -4 100 TIM3_CC1 /1, /2, /4 or /8 Counter Capture fMASTER = fHSI Core CCO Overload interrupt Capture interrupt CLK_HSITRIMR HSI 16 MHz Prescaler Calibration signal Input Filter TI1 TI1F IC1PS |
|
|
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 |
| 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 |