| Electronic Components Datasheet Search |
|
AN3258 Datasheet(PDF) 5 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3258 Datasheet(HTML) 5 Page - STMicroelectronics |
|
5 / 16 page ![]() AN3258 HSI calibration Doc ID 17825 Rev 1 5/16 1 HSI calibration 1.1 HSI trimming bits STM8A/S microcontrollers have an HSI oscillator with a nominal frequency (fHSI) of 16 MHz which is factory calibrated at an ambient temperature (TA ) of 25 °C and a supply voltage (VCC) of 5 V. The accuracy for overall temperature and voltage range is ±5 % (please refer to the device specific datasheet) which is sufficient for many applications. For a given voltage and temperature condition, the HSI oscillator frequency can be calibrated to ±1 % or ±0.5 % by using calibration bits as described below and in Figure 1. After a device reset, the factory calibration value at TA = 25 °C and VCC = 5 V is automatically loaded into the internal calibration register. The HSI frequency can be fine- tuned by writing the calibration bits present in the HSI clock calibration trimming register (CLK_HSITRIMR). The maximum number of calibration bits present is either three or four depending on the device. The calibration bits provide an additional trimming value which is added to the factory calibration value to fine-tune the HSI output frequency. The additional trimming value, written in the trimming bits, is interpreted as a signed value with two’s complement representation (see Table 1). In the case of three trimming bits, this additional trimming value can vary from -4 (100b) to 3 (011b) and in the case of four trimming bits, this additional trimming value varies from -7 (1001b) to 7 (0111b). Thus, the additional trimming value can be added or subtracted to the factory calibration value. An increase in the trimming value causes a decrease in the HSI frequency. The frequency change per step is ±1 % or ±0.5 % depending on the device and number of trimming bits used (three or four). Some devices can use either three or four trimming bits which are programmable via the HSITRIM option byte. Figure 1. STM8A/S HSI trimming principle RC OSCILLATOR DECODER CLK_HSITRIM HSI Clock Output + INIT_TRIM |
|
|
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 |