This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Timer ISR Not working periodically



hi everyone

I was trying to use a timer( Timer 3) at 80khz frequency and the actual timer ISR do not act periodically .I am using an RF Tx and Rx at the same time.when i use RF TX only then the timer stable and produces correct value otherwise while using RF RX ie when packets are received the timer duration changes actually reduces. Since  the RX ISR is also working at the same time I gave high priority to the T3 event after that also the code behaves as before.I cancled the RX ISR and then also the timer value changing.Does that happen with cc1110 chips is that norm?,I cant use it since my audio codec is driven by 5Khz timer and when RF Rx starts it changes to 4.88khz and codec stops(duty cycle change).

T3CTL=0x1A;


T3CCTL1=0x38;
T3CCTL0=0x14;

T3CC0=0xA1;

RFIM = 0x00;

CLKCON=0x08;
CLKCON |= ( 1<<7 ); //32.768
CLKCON &= ~0x40; // 26 select
while(!(SLEEP & 0x40)); // 132 page 26 MHz Crystal oscillator stable status:
CLKCON &= ~0x47; // 26Mhz System clock / 64 32mhz
SLEEP = 0x04;

IP1=8;
IP0=8;
P0SEL=0x10;
IEN0 |= 0x80;

EA = 1;

void timer3(void) interrupt 11 //80 khz
{

//changing time period here

}

 Any suggestions please help me I am messing with this code for long...