Page 1 of 1

PIC16F88 RB0 PMW output won't work.

Posted: Mon Aug 15, 2011 10:43 am
by Zane
Hi,

I am using a pic16f88 and using a PMW output. When configured to use the RB0 output it works fine however when selecting the RB3 output it will not work. I have tried using two seperate chips in two seperate cards with the same results. I have used a simple test program where the CCP1 module is enabled and then the duty cycle for it is set.
Just wondering, have i made some error or is there an issue with the configutaion bit for the multiplexed output between RB0 and RB3

Thanks for yor help

Kind Regards

Zane

Re: PIC16F88 RB0 PMW output won't work.

Posted: Mon Aug 15, 2011 11:02 am
by Steve
In Flowcode you need to set the configuration data correctly (i.e. the "CCP1 MUX pin" option) and select the "use alternate pin" option in the PWM component properties.

Re: PIC16F88 RB0 PMW output won't work.

Posted: Tue Aug 16, 2011 9:04 am
by Zane
Hi Steve,

Sorry about that i had a gut feeling there was something that i didn't have quite right. I put a tick in the box and all is ok...apart from my eyes.

Cheers

Zane