Hi all,
i need to run a subroutine for a every fixed amount of time i thougt of using timer to generate the interrupt so as to service my subroutine
i have configured timer0 as 64bit timer which runs contiounsly these are the registers i have set for timer0
TGCR0 = 0X0
TIM12 = 0X0
TIM34 = 0X0
PRD12 = 0X100
PRD34 = 0X0
TCR0 = 0X80
TGCR0 = 0X3
then i have set interrupt controller registers as
INTMUX3 = 0X0
INTMUX3 = 0X04000000
EVTMASK0 = 0X10
ISTP = FUNTOEXEC
CSR = 0X1| CSR
IER = 0X8003
i have mapped event4 of dsp which is TINT0 as per document on 6446 to interrupt 15 and i have my service routine at INT15 in my func
I could see the timer getting incremented but the interrupt is not getting generated and my service routine is never getting executed. have i missed somethings which have to be done . please suggest a way to generate interrupt using timer and to map the events to the interrupts.
thanking you,
Manoj Gupta