Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how can we measure pulse width using pic12f683

Status
Not open for further replies.

padma

Newbie level 6
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.
 
  • Like
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.
 
  • Like
Reactions: padma

    padma

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top