AnsweredAssumed Answered

Interrupt on ADSP21364

Question asked by savinat on Sep 2, 2009
Latest reply on Dec 9, 2009 by Mitesh

Hi,  to all

I read the examples on SHARC for Core timer , but i dont understant how it works exatly:

#include <PLL.h>
#include <21364.h>
#include <stdio.h>

int timer_count = 1;

//Timer interrupt service routine
void timer_isr (int sig)


//Initialize PLL to run core at 332 MHz
InitPLL ();

    interrupts (SIG_TMZ, timer_isr);         /* enable low priority timer interrupt */
    timer_set(1000, 1000);              /* set tperiod and tcount of the timer */
    timer_on();                         /* start timer */


I know that when i call the interrupts function it hase to do the construction in the timer_isr function. But it doesn`t work like that!! Please tell me how it works!!!!