| ??? 12/04/02 01:28 Read: times |
#33715 - RE: PCA interrupt doesn\\\\\\\'t work ! |
Here my results :
I've checked that all CEXn pins are in input and that their status is read by the microcontroller. It's ok. I've set for each PCA's module CMOD=1 and CCAPMn=1, EC, CR and EA=1. I'm reading the CCON register and it's always = 0x40. This means no interrupt ! Moreover, CL is always 0. The PCA counter/timer doesn't run ! I've tried to set by software CCFn=1, the CCON register is set accordingly, but my soft doesn't jump to interrupt routine. Mmmm... what is wrong here ? I'm lost... Any idea ? Thanks Stephane |



