This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

counter1 in RTX tiny not work?

Please, I need configure the counter1 for counter events, but using keil-debug it does not work.
The counter1 configure is:

void RPM_INIT (void)
{
EA=1;
TR1=TF1=0;
TMOD=(TMOD&0xF0)|0xd0;
TH1=TL1=0;
EX1=1;
IT1=1;
}


The configuration in the debug is OK, TR1=1, but the counter not increment for pulses in P3.3 (INT1).
Any ideas where the problem is?
Thanks,
Fernando

0