Forum breadcrumbs - You are here:ForumGeneral: Report BugsPIC12F683 capture mode
You need to log in to create posts and topics.

PIC12F683 capture mode

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.

Uploaded files:

Hi.

Can you share circuit and code to reproduce the issue?

Hope this help,

Thanks for looking 😉

 

 

Uploaded files:

Hello,

Looks like the correction is working - great job !

arcachofo has reacted to this post.
arcachofo