Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN1530 Datasheet(PDF) 8 Page - STMicroelectronics

Part # AN1530
Description  ACCURATE TIMEBASE FOR LOW-COST ST7 APPLICATIONS WITH INTERNAL RC OSCILLATOR
Download  12 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1530 Datasheet(HTML) 8 Page - STMicroelectronics

Back Button AN1530 Datasheet HTML 4Page - STMicroelectronics AN1530 Datasheet HTML 5Page - STMicroelectronics AN1530 Datasheet HTML 6Page - STMicroelectronics AN1530 Datasheet HTML 7Page - STMicroelectronics AN1530 Datasheet HTML 8Page - STMicroelectronics AN1530 Datasheet HTML 9Page - STMicroelectronics AN1530 Datasheet HTML 10Page - STMicroelectronics AN1530 Datasheet HTML 11Page - STMicroelectronics AN1530 Datasheet HTML 12Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 8 / 12 page
background image
8/12
ACCURATE TIMEBASE FOR LOW-COST ST7 APPLICATIONS WITH INTERNAL RC...
3 SOFTWARE EXAMPLE
This software example includes all the algorithms. It includes a basic algorithm for finding the
fraction and also contains average and glitch algorithms. It has calibration routines for the
PWM counter and SCI baud rate.
3.1 MAIN PROGRAM
/********************************************************************************
COPYRIGHT 2002 STMicroelectronics
Source File Name: main.c
Group
: IPSW, CMG - IPDF
Author
: MCD Application Team
Date First Issued: 01/07/2002
********************************Documentation**********************************
General Purpose - This routine provides internal RC deviation measurement and
calibration of PWM counter and SCI baud rate.
********************************Revision History********************************
Date: 01/07/2002
Release: 1.0
******************************************************************************/
#include "ST7lib_config.h"
/*Configuration File*/
unsigned char cap;
unsigned int capture1,capture2;
const unsigned char buff1[36]= " SCI CALIBRATION DONE ";
/******************************************************************************
MAIN APPLICATION BEGINS
******************************************************************************/
#define TIMERB_PWM_CAL
#define SCI_CAL
void main (void)
{
/******************************************************************************
Variable declaration for measuring the capture inputs with averaging and
glitch filter algorithm
******************************************************************************/
unsigned char i;
unsigned int capture_range;
float fraction=0.0;
/******************************************************************************
Variable declaration for calibrating PWM w.r.t Internal RC frequency
******************************************************************************/
unsigned int PWM_CNT, PWM_CNT1;
/******************************************************************************
Variable declaration to calibrate SCI baudrate w.r.t Internal RC frequency
******************************************************************************/
unsigned char CALTR;
float CALTR_TEMP = 0.0;
/******************************************************************************
Initialisation of the varibles
******************************************************************************/
cap=capture1=capture2=0;
PWM_CNT = 0; PWM_CNT1 = 0; CALTR =0;
capture_range = 0;


Similar Part No. - AN1530

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
AN1534 STMICROELECTRONICS-AN1534 Datasheet
72Kb / 4P
   TS971 based Electret Condenser Microphone amplifier
AN1537 STMICROELECTRONICS-AN1537 Datasheet
306Kb / 18P
   A SIMPLE TRICK ENHANCES
More results

Similar Description - AN1530

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
AN3101 STMICROELECTRONICS-AN3101 Datasheet
435Kb / 24P
   internal RC oscillator calibration
ST7-STICK STMICROELECTRONICS-ST7-STICK Datasheet
75Kb / 2P
   Low Cost, In-Circuit Programmer for ST7
ST7-DVP3 STMICROELECTRONICS-ST7-DVP3 Datasheet
152Kb / 3P
   Low Cost, Real Time Emulator Series for ST7
ST7XXXX-SK STMICROELECTRONICS-ST7XXXX-SK Datasheet
76Kb / 4P
   Raisonance?셲 complete, low-cost starter kits for ST7
ST72321B-D STMICROELECTRONICS-ST72321B-D Datasheet
220Kb / 6P
   Raisonances complete, low-cost starter kits for STM8 and ST7
logo
EM Microelectronic - MA...
EM6605 EMMICRO-EM6605 Datasheet
662Kb / 43P
   Low Power Microcontroller with 300kHz RC Oscillator
logo
PETERMANN-TECHNIK
DLPO-3 PETERMANN-DLPO-3_15 Datasheet
670Kb / 8P
   Differential Oscillator for Low Cost
logo
ON Semiconductor
AND8054 ONSEMI-AND8054 Datasheet
168Kb / 28P
   Designing RC Oscillator Circuits with Low Voltage Operational Amplifiers and Comparators for Precision Sensor Applications
February, 2002 ??Rev. 1
logo
PETERMANN-TECHNIK
DLPO-1 PETERMANN-DLPO-1_15 Datasheet
763Kb / 13P
   Differential Oscillator for Low Cost
DLPO-5 PETERMANN-DLPO-5_15 Datasheet
691Kb / 8P
   Differential Oscillator for Low Cost
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   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