# Pic10f204 oscillator calculation

Status
Not open for further replies.

#### Nagarathna

##### New Member
HI,

AIM : I want to generate 55khz and 33khz frequency on any of the portpin using PIC10F204.

PROBLEM 1 : while searching for sufficient data materials and stuff on google search i found every one telling "plz note down oscillator factory setting".I am not understanding the importance of this where and how
should i be cautious ?what is the value written in the calibration instruction ?

PROBLEM 2 : when i calibrate the internal oscillator to 4MHZ
i.e. [OSCCAL = 0X7F].what will the value be generated on the oscillator pin is it 4mz or 1mhz.
since the 0th bit of OSCCAL is F0SC4=INTOSC/4.

#### ella

##### New Member
Are you going to use internal or external oscillator?
Even if you calibrate internal one it's precision and most important temperature stability will be significantly less then in external crystal.

#### mike50

##### New Member
Are you going to use internal or external oscillator?
Even if you calibrate internal one it's precision and most important temperature stability will be significantly less then in external crystal.
The 10F204 has no provision for an external oscillator. The only choice is the 4Mhz internal oscillator.

Mike

#### mike50

##### New Member
HI,

AIM : I want to generate 55khz and 33khz frequency on any of the portpin using PIC10F204.

PROBLEM 1 : while searching for sufficient data materials and stuff on google search i found every one telling "plz note down oscillator factory setting".I am not understanding the importance of this where and how
should i be cautious ?what is the value written in the calibration instruction ?
People suggest that you record this value because some programmers end up overwriting the value.
PROBLEM 2 : when i calibrate the internal oscillator to 4MHZ
i.e. [OSCCAL = 0X7F].what will the value be generated on the oscillator pin is it 4mz or 1mhz.
since the 0th bit of OSCCAL is F0SC4=INTOSC/4.
The frequency on the FOSC4 (GP2) pin will be 1Mhz.

Mike

Status
Not open for further replies.

Loading