gnupic: CCP in compare mode problem with PIC16F877
Subject:
Re: CCP in compare mode problem with PIC16F877
From:
Snail Instruments ####@####.####
Date:
9 May 2002 06:37:50 -0000
Message-Id: <3.0.6.16.20020509064230.372f382a@pop3.iol.cz>
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.
>....