Electronic Components Datasheet Search
  English  ▼

X  

AN2326 Datasheet(PDF) 1 Page - STMicroelectronics

Part # AN2326
Description  Calibrating the RC oscillator of the ST7ULTRALITE MCU using the mains
PDF  20 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2326 Datasheet(HTML) 1 Page - STMicroelectronics

  AN2326 Datasheet HTML 1Page - STMicroelectronics AN2326 Datasheet HTML 2Page - STMicroelectronics AN2326 Datasheet HTML 3Page - STMicroelectronics AN2326 Datasheet HTML 4Page - STMicroelectronics AN2326 Datasheet HTML 5Page - STMicroelectronics AN2326 Datasheet HTML 6Page - STMicroelectronics AN2326 Datasheet HTML 7Page - STMicroelectronics AN2326 Datasheet HTML 8Page - STMicroelectronics AN2326 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 1 / 20 page
background image
April 2006
Rev 1
1/20
AN2326
Application note
Calibrating the RC oscillator of the
ST7ULTRALITE MCU using the mains
Introduction
The ST7ULTRALITE microcontroller contains an internal RC oscillator which can be
trimmed to a specific frequency with the required accuracy. The oscillator frequency has to
be calibrated by software using the RCCR register (RC Control Register) and the SICSR
register (System Integrity Control/Status Register). The value entered in the RCCR/SICSR
registers will switch ON a corresponding number of resistors that will modify the oscillator
frequency. Whenever the ST7ULTRALITE microcontroller is reset, the 10-bit value
contained in the RCCR/SICSR registers is restored to its default value (3FFh) i.e. the lower
possible frequency, so each time the device is reset, you have to load the calibration value in
the RCCR/SICSR registers. There are predefined calibration values stored in memory (refer
to the” Internal RC Oscillator Adjustment” section in the ST7ULTRALITE datasheet). You
can load one of these values in the RCCR/SICSR registers if one of the operating conditions
matches that in your application. Otherwise, you can define your own value, store it in non
volatile memory and load it in the RCCR/SICSR registers after each reset. However, if any
of the external conditions (temperature or voltage, for instance) changes too drastically, the
stored value may no longer produce the required accuracy. One solution is to recalculate the
RCCR/SICSR register values after each reset, based on an external reference.
The purpose of this application note is to present a software solution using the frequency of
the European standard mains (220V/50Hz) as a timebase to adjust the internal RC oscillator
of the ST7ULTRALITE to 8 MHz. The same approach can also be used for the US mains
standard (110V/60Hz).
The basic software takes less than 200 ms to calibrate the oscillator and uses less than128
bytes of program memory and five bytes of RAM for its simplest version. These RAM bytes
can be freed for other purposes when the calibration is done. Another example using
averages is given in this application note. This can be useful with noisy mains.
This application note also contains the diagram of a low cost circuit which converts the
mains into a 5 volt power supply and protects the microcontroller from overcurrent on the
input connected to the mains.
www.st.com
Obsolete
Product(s)
- Obsolete
Product(s)
Obsolete
Product(s)
- Obsolete
Product(s)


Similar Part No. - AN2326

ManufacturerPart #DatasheetDescription
logo
Microchip Technology
AN232 MICROCHIP-AN232 Datasheet
240Kb / 12P
Low Frequency Magnetic Transmitter Design
2002
logo
STMicroelectronics
AN2328 STMICROELECTRONICS-AN2328 Datasheet
59Kb / 7P
HID device coding example
Apr-2006
logo
List of Unclassifed Man...
AN232ISO ETC2-AN232ISO Datasheet
273Kb / 1P
simple and effective protection against all surges, static electricity and ground loops in your RS232 line.
logo
Future Technology Devic...
AN232R-01 FTDI-AN232R-01 Datasheet
254Kb / 13P
Bit Bang Modes for the FT232R and FT245R
More results

Similar Description - AN2326

ManufacturerPart #DatasheetDescription
logo
NXP Semiconductors
TEA1401T PHILIPS-TEA1401T Datasheet
166Kb / 20P
Power plug for the universal mains
1997 Mar 07
logo
Advanced Crystal Techno...
ACTF45-48 ACT-ACTF45-48 Datasheet
189Kb / 6P
the characteristics of the SAW Duplexer
SEPT 04
logo
Silicon Laboratories
AN681 SILABS-AN681 Datasheet
219Kb / 10P
USING THE Si87XX FAMILY OF DIGITAL ISOLATORS
logo
Analog Devices
CN-0072 AD-CN-0072 Datasheet
123Kb / 3P
Extending the Dynamic Range of the ADL5513 Logarithmic Detector Using the AD8368 Variable Gain Amplifier
REV. 0
logo
STMicroelectronics
AN1324 STMICROELECTRONICS-AN1324 Datasheet
122Kb / 15P
CALIBRATING THE RC OSCILLATOR OF THE ST7FLITE0 MCU USING THE MAINS
Rev. 2
AN2415 STMICROELECTRONICS-AN2415 Datasheet
307Kb / 11P
Using the output detection feature of the high-brightness
30-Aug-2007
AN2658 STMICROELECTRONICS-AN2658 Datasheet
189Kb / 23P
Using the analog to digital converter of the STM8S microcontroller
08-Jul-2009
AN3023 STMICROELECTRONICS-AN3023 Datasheet
289Kb / 23P
Using the analog-to-digital converter of the STM8A microcontroller
16-Oct-2009
UM1547 STMICROELECTRONICS-UM1547 Datasheet
523Kb / 51P
Using the firmware of the AT command set
24-Mar-2015
logo
NXP Semiconductors
AN1982 PHILIPS-AN1982_15 Datasheet
592Kb / 10P
Applying the oscillator of the SA602A in low-power mixer applications
Rev. 2-29 August 2014
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20


Datasheet Download

Go To PDF Page


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


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