Pic18f2553 Port C problems

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

alanwms
Posts: 56
Joined: Tue Sep 16, 2008 2:09 pm
Location: Minnesota USA
Has thanked: 4 times
Been thanked: 17 times
Contact:

Pic18f2553 Port C problems

Postby alanwms » Thu Sep 13, 2018 4:59 pm

Gents -

I,m having an issue with port C bits 4, 5, and 7. Currently using bit 6 as TX for display - Works fine
Bits 0 - 2 as I/o work fine

Can't get bits C4, C5, C7 to switch on as outputs and simply trying to beep with C4
Tried new chip, attempted different configurations for the osc - Currently using 8mhz internal

I put a simple routine to turn on and off the outputs but read nothing with a meter:
I notice that C3 is not available on this chip, and I suspect a conflict with the chip configuration. Is this something you can help me with?
Attachments
Schematic.jpg
Schematic.jpg (149.98 KiB) Viewed 917 times
Config.jpg
Config.jpg (99.45 KiB) Viewed 917 times
Loop.jpg
Loop.jpg (28.66 KiB) Viewed 917 times

alanwms
Posts: 56
Joined: Tue Sep 16, 2008 2:09 pm
Location: Minnesota USA
Has thanked: 4 times
Been thanked: 17 times
Contact:

Re: Pic18f2553 Port C problems

Postby alanwms » Thu Sep 13, 2018 8:08 pm

Never mind - Those port C pins are input only, although FC7 allows me to select those pins as outputs even though they are not available as outputs.
These users thanked the author alanwms for the post:
Benj (Fri Sep 14, 2018 10:23 am)
Rating: 5%