PIC16F88 RB0 PMW output won't work.

Moderator: Benj

Post Reply
Zane
Flowcode v5 User
Posts: 199
Joined: Thu Sep 10, 2009 10:57 pm
Location: New Zealand
Has thanked: 93 times
Been thanked: 76 times
Contact:

PIC16F88 RB0 PMW output won't work.

Post 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

User avatar
Steve
Matrix Staff
Posts: 3418
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: PIC16F88 RB0 PMW output won't work.

Post 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.

Zane
Flowcode v5 User
Posts: 199
Joined: Thu Sep 10, 2009 10:57 pm
Location: New Zealand
Has thanked: 93 times
Been thanked: 76 times
Contact:

Re: PIC16F88 RB0 PMW output won't work.

Post 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

Post Reply