gnupic@linuxhacker.org

gnupic@linuxhacker.org


Subject: Re: CCP in compare mode problem with PIC16F877
From: Snail Instruments
Date: Thu, 09 May 2002 06:42:30

Hi Massimiliano, 

I believe you cannot access the RC1 & RC2 via PORTC when the compare module controls
the pin. There is also limitation on using two compares: "The compare(s) should be configured
for the special event trigger, which clears TMR1".

What do you need to achieve - a low frequency PWM on two pins? I cannot come up with
a strightforward solution right now, but it doesn't sound impossible.

Regards,

Josef

>I have a question related to CCP modules in PIC 16F877.
>
>There is someone that use CCP modules in compare mode?
>
>I have tried to use CCP1 and CCP2 in compare mode, using
>TIMER1.
>....

gnupic@linuxhacker.org