PIC12F683 capture mode
Quote from Christian on December 31, 2025, 6:16 pmHello,
In the CCP1M<3:0>: CCP Mode Select bits, we have the following options :
0100 = Capture mode, every falling edge
0101 = Capture mode, every rising edge
0110 = Capture mode, every 4th rising edge
0111 = Capture mode, every 16th rising edgeAre 0110 and 0111 mode implemented in SimulIDE ?
When I send a 500Hz signal to CCP1 pin (GP2), then GP0 should toggle at every interruptions generated, that is : 500 / 4 (for every 4 rising edge) / 2 = 62.5Hz ; this is what I read on my oscilloscope, but Simulide v 1.1.0 SR1 rev 2089 gives 250Hz whatever the CCP1M settings.
Hello,
In the CCP1M<3:0>: CCP Mode Select bits, we have the following options :
0100 = Capture mode, every falling edge
0101 = Capture mode, every rising edge
0110 = Capture mode, every 4th rising edge
0111 = Capture mode, every 16th rising edge
Are 0110 and 0111 mode implemented in SimulIDE ?
When I send a 500Hz signal to CCP1 pin (GP2), then GP0 should toggle at every interruptions generated, that is : 500 / 4 (for every 4 rising edge) / 2 = 62.5Hz ; this is what I read on my oscilloscope, but Simulide v 1.1.0 SR1 rev 2089 gives 250Hz whatever the CCP1M settings.

