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.

Problems using PIC16F capture mode

Status
Not open for further replies.

bungee

Newbie level 1
Joined
Sep 3, 2004
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
7
Hi,

I am trying to count the number of TTL pulses using the PIC16F877 in "capture" mode but am having trouble doing so. These pulses are to appear at random from an external souce. I understand that this mode is only possible with PORTC<2> (RC2), and that some of the registers required are INTCON, CCP2CON, and CCP1IF (from register PIR1). I also require that the pulses be captured on every rising edge. Would anyone be able to help me with this. I'm also using C to program the PIC.

Thanks[/b]
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top