cancel
Showing results for 
Search instead for 
Did you mean: 

Missing timer 2 interrupts ?

djrose
Associate II
Posted on June 13, 2003 at 08:01

Missing timer 2 interrupts ?

1 REPLY 1
djrose
Associate II
Posted on May 17, 2011 at 11:54

Hi,

I am using the uPSD3200 - Part PSD3233BV.

I have configured timer 2 for auto-reload (T2CON=0x00), enabled the interrupt (ET2 and EA), loaded Tx2 and RCAP2x. - Then enabled the timer (TR2).

I have used this sequence on other 8052 variants and have seen the interrupt request flag (TF2) being set and causing an interrupt.

I have tried the code on Keils uVision - And see the simulator generate the interrupt.

But on this part - Nothing!

The T2MOD (which is not well described in the documentation) contains the default value (i.e., 0x00).

Has anyone else experienced this? Better still, does anyone know what I might have to add to get it to work?

David.