mdeepamenon
Junior Member level 2
- Joined
- Apr 13, 2006
- Messages
- 24
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,497
frequency input for pic18f4520
Hi,
We are working on PIC18F4520 micro controller with an external oscillator of 22.1184 MHz. We are using CCP2 capture interrupt which will capture a falling edge at the CCP2 pin input. The ISR for the CCP2 module will be called once the falling edge occured. We found that there is a latency between the occurance of the falling edge and execution of the first instruction in the ISR is 13 micro Seconds. This is a huge amount of latency due to which we are loosing synchronisation. Please suggest a way to reduce the interrupt latency. A latency of around 8 micro Seconds would be ideal for our case.
Thanks and Regards,
Deepa
Hi,
We are working on PIC18F4520 micro controller with an external oscillator of 22.1184 MHz. We are using CCP2 capture interrupt which will capture a falling edge at the CCP2 pin input. The ISR for the CCP2 module will be called once the falling edge occured. We found that there is a latency between the occurance of the falling edge and execution of the first instruction in the ISR is 13 micro Seconds. This is a huge amount of latency due to which we are loosing synchronisation. Please suggest a way to reduce the interrupt latency. A latency of around 8 micro Seconds would be ideal for our case.
Thanks and Regards,
Deepa