Problems with PIC16F631

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
Clive44
Posts: 52
Joined: Tue Oct 18, 2011 12:35 pm
Has thanked: 3 times

Problems with PIC16F631

Post by Clive44 »

Newbie question. I'm using Flowcode V4.5 and target is a PIC16F631. All of Port C are outputs. If I set 1 bit high it clears to low when I set any other bit high. I've used the 'single bit' method and 'whole port with masking'. The simulator shows the original bit staying high, but in practice the PIC16F631 in an EB006 clears it low. What am I doing wrong?
Any help much appreciated. Thanks!!

Clive

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Problems with PIC16F631

Post by Benj »

Hi Clive,

I've had a look at the FCD file for this target and the device datasheet and can't see any obvious reasons why this might be happening. Do you have a second 16F631 device you can test to see if this replicates the problem?

Post Reply