Can't Configure Input Ports PIC16F15354
Posted: Tue Dec 04, 2018 8:17 pm
I saw a related posting for another chip for Flowcode 6 or 7. I believe the fix was that an updated FCD file for the specific chip was needed.
On Flowcode 8, I cant get any ports on the PIC16F15354 or PIC16LF15354 to function as inputs. To troubleshoot this, I made a simple flowchart that checked the status of a switch, and selected one of two LEDs depending on the switch position. The switch was on B.5 and the LEDs were on ports C.5 and C.6.
I breadboarded and configured this with a PIC16F690 (internal RC clock, everything else disabled) first to confirm that it works. No problems.
I then configured the program and breadboard for the PIC16F15354 (internal 1 MHz clock, everything else disabled). No response. It lights the LED as if the input was 0 regardless of the input logic. This is expected if the port was not configured as an input. I experimented a little with the settings, but could not get it to function. Same results with ports A and C also.
If I'm lucky, maybe I made a mistake on the settings somewhere. Any help on this issue would be most appreciated.
Of course I'm up against a deadline (who isn't?) and did not allow for extra time for this kind of problem. My bad for not testing this earlier.
On Flowcode 8, I cant get any ports on the PIC16F15354 or PIC16LF15354 to function as inputs. To troubleshoot this, I made a simple flowchart that checked the status of a switch, and selected one of two LEDs depending on the switch position. The switch was on B.5 and the LEDs were on ports C.5 and C.6.
I breadboarded and configured this with a PIC16F690 (internal RC clock, everything else disabled) first to confirm that it works. No problems.
I then configured the program and breadboard for the PIC16F15354 (internal 1 MHz clock, everything else disabled). No response. It lights the LED as if the input was 0 regardless of the input logic. This is expected if the port was not configured as an input. I experimented a little with the settings, but could not get it to function. Same results with ports A and C also.
If I'm lucky, maybe I made a mistake on the settings somewhere. Any help on this issue would be most appreciated.
Of course I'm up against a deadline (who isn't?) and did not allow for extra time for this kind of problem. My bad for not testing this earlier.