boon1987
Newbie level 6
Hi,
I am new to PIC18f452. Last night, i read the datasheet of the PIC18f452 and come across through the CCP mode of PIC18f452. In the datasheet, it state the CCP1 has special trigger event and CCP2 don't have special trigger event. What does the term "special trigger" event mean?
I want to use the capture mode inside the PIC18f452 for my application. I need to use both CCP1 and CCP2 as the input pin. The two pin was connected to two different souce. These two CCP1 and CCP2 are independent of each other. For example, i use the CCP1 to check the signal from one source to check whther it has falling edge or not. If yes, then the value in timer for CCP1 is stored. This example are also for CCP2. If the signal in CCP2 source has falling edge, the timer for CCP2 will be stored.
My main question is: Can i use these two CCP as the input at the same time? Each CCP pin will be use different timer. Does the Special trigger event affect this application?
I hope someone can reply me on this problem because now i am urgently in understanding this function for my circuit design.
Any help is appreciated. Thank in advance.
I am new to PIC18f452. Last night, i read the datasheet of the PIC18f452 and come across through the CCP mode of PIC18f452. In the datasheet, it state the CCP1 has special trigger event and CCP2 don't have special trigger event. What does the term "special trigger" event mean?
I want to use the capture mode inside the PIC18f452 for my application. I need to use both CCP1 and CCP2 as the input pin. The two pin was connected to two different souce. These two CCP1 and CCP2 are independent of each other. For example, i use the CCP1 to check the signal from one source to check whther it has falling edge or not. If yes, then the value in timer for CCP1 is stored. This example are also for CCP2. If the signal in CCP2 source has falling edge, the timer for CCP2 will be stored.
My main question is: Can i use these two CCP as the input at the same time? Each CCP pin will be use different timer. Does the Special trigger event affect this application?
I hope someone can reply me on this problem because now i am urgently in understanding this function for my circuit design.
Any help is appreciated. Thank in advance.