CCP on 12F1822
Posted: Sun Nov 27, 2016 2:34 pm
Hi Martin,
Tx again for your quick and very helpful response, much appreciated.
I have developed another flowchart which will assist in counting the interrupts on RA2 and provide an output using CCP1. Unfortunately, the INT and CCP are both on pin5.
I noticed that flowcode does not allow me to "Use alternative pin"
I then resorted to setting "apfcon=0x01;" in a "C-code" block. According to the datasheet, this should move CCP to RA5, however it does not appear as if I am getting an output on RA5.
I found a few posts relating to Alternative CCP not working, but nothing related to the 12F1822.
I would appreciate it if you could advise as to any known bugs/workarounds.
Regards
Conroy
Tx again for your quick and very helpful response, much appreciated.
I have developed another flowchart which will assist in counting the interrupts on RA2 and provide an output using CCP1. Unfortunately, the INT and CCP are both on pin5.
I noticed that flowcode does not allow me to "Use alternative pin"
I then resorted to setting "apfcon=0x01;" in a "C-code" block. According to the datasheet, this should move CCP to RA5, however it does not appear as if I am getting an output on RA5.
I found a few posts relating to Alternative CCP not working, but nothing related to the 12F1822.
I would appreciate it if you could advise as to any known bugs/workarounds.
Regards
Conroy