I have a PCB prototype I designed some time ago which is a digital AC phase power controller. The current configuration has the AC zero cross pulse appearing on the CCP2 (11) pin of a pic184620.
The idea was that the CCP module will detect the rising edge then interrupt to start a timer and reset a pin and then when the timer elapsed the pin will be set. The device will also support an LCD screen and 6 button keyboard so bit banging is out of the question.
Apart from PWM I've not had much to do with the capture compare module however this application seems closer to do with a port B pin change interrupt. Can the CCP rising edge interrupt help in this scenario?
I'd also be interested in how others would approach this?
Cheers
Al _________________ I type therefore I press buttons
alyeomans
Joined: 26 Feb 2014 Posts: 24
Posted: Wed May 17, 2017 6:50 am
...and the CCP2 is on pin B3 so port B pin change available. _________________ I type therefore I press buttons
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum