how can we measure pulse width using pic12f683

Status
Not open for further replies.

padma

Newbie level 6
Joined
Sep 26, 2010
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,368
I am developing my code in ccs compiler,and i used capture function for measuring pulse width but when ccp1 value is checked,it shows larger deviation for a fixed pulse width and it was spontaneously changing.why it is so?here 4MHZ internal clock source is used and ccp1 is also placed in ISR.

Can anyone help me in this problem?
 

do not use internal RC clocks. use external crystal.

Rc clocks are not accurate.
 
Reactions: padma

    padma

    Points: 2
    Helpful Answer Positive Rating
Hi,
The internal clock is not absolutely accurate, so for precision jobs, use external crystal. The value of the internal clock may stray with different factors, like temperature,etc.

Hope this helps.
Tahmid.
 
Reactions: padma

    padma

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…