AnsweredAssumed Answered

RTI interrupt with external clock

Question asked by Diana Aldana on May 11, 2009
Latest reply on May 14, 2009 by David Payne

Hello,

 

I need to create a time interruption to send some data, and I have choose RTI interrupt, but it don't run.

 

The interruptions is:

 

 /////////////////////////////

__interrupt 25 void Vrti_isr(void)

{

SRTISC_RTIACK=1;

tiempo=1;     // when this variables is 1 I send the dates.

//////////////////// 

 

In the main funcion I inicialize de interrupt with:

 

  SRTISC=0x77; // I use external clock of 62,5kHz because we are on run mode

  EnableInterrupts;  

 

 What is wrong? 

Is there any easy way to make a break in time? 

Outcomes