Hello Benjamin, There is no explicit equation to calculate the frequency for a RC oscilla= tor on a PIC. There is to much unknown data inside the PIC that is not mentioned in the data book. You might look for a simple equation like f=3D1/(RC) or similar but that = is a simplified model and to have a correct model you need more data. Maybe th= ere is some one that have extrapolated a working equation but the easiest way= is to test the R and C by hand. In the data book for the PIC you use it is usually mentioned a table with start values on R and C for different frequencies. Use a Resistor decade ladder or similar to create your own list for other values not mentioned. Note: RC-oscillator is for frequency insensitive applications and varies with temperature, R and C tolerance and normal process parameter variatio= ns inside the PIC. Regards Niklas -----Ursprungligt meddelande----- Fr=E5n: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.ED= U] F=F6r Benjamin Menk=FCc Skickat: den 15 oktober 2001 22:20 Till: PICLIST@MITVMA.MIT.EDU =C4mne: [PIC]: What is the formula for calculating f of a rc-osci ? regards, BEn -------------------------- Benjamin Menk=FCc Auto-Intern GmbH Haberlandstr. 125 44359 Dortmund Tel: 0231-1893070 Fax: 0231-93699548 www.auto-intern.com Meinen PGP-Schl=FCssel kann man unter: http://www.auto-intern.com/php/pgp_menkuec.php finden. -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics