Olyr
Newbie

Hi, everyone! I am new to microcontrollers and for my project using PIC16F15223 to capture PWM signal and send this data via I2C.
I want to use CCP modules, but not sure whether to connect both of them (get rising and falling edges) to get Period and Duty-Cycle or only one would suffice (reconfigure control bits after each event). Are any limiting resistors needed?
Also, I am not sure how to access captured data to further transfer.
Any ideas are appreciated!
I want to use CCP modules, but not sure whether to connect both of them (get rising and falling edges) to get Period and Duty-Cycle or only one would suffice (reconfigure control bits after each event). Are any limiting resistors needed?
Also, I am not sure how to access captured data to further transfer.
Any ideas are appreciated!
Last edited: