2003-06-12 11:01 PM
2011-05-17 02:54 AM
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.