I am new to embedded coding, and currently we have a project which uses ezdsp F2812 kit which has TMS320F2812 DSP.
I am using CCS3.3 version( free trial) for initial start. But my kit which we ordered for project comes with CCS5.0 version.
as a initial start i referred some existing examples of CCS tutorial files for interrupts and modified my code to generate a Timer1 interrupt for every 1ns.
My clock is selected as 100MHZ for TMS320F2812.
when i debug my program keeping my breakpoints at function "SetupInterrupts()" stepping to this function is active and timer is loaded with value 10 as mentioned in program ( please refer my attachments). even though interrupts are enabled and IER is loaded appropriately for TImer1, but my ISR function 'Int13Isr()" is never reached how many ever debug steps i do and program remain in the while loop of main().
I tried to check the timer registers values by using memory window and Timer1 is loaded and decremented as expected. but my IFR register is not changing and timer1 interrupt is not generated and hence my ISR not executed, where is the coding going wrong?
I have some more doubts and are listed here
1). I did not use or set any PLL register i am considering that what ever clock value is mentioned by me in my CCS option Tools-> Data converter->DSP tab there i mention my clock as 100MHZ i am assuming that my SYSCLKOUT would be the same. Is it correct ? for system clock setting is there any other way other than Data converter option?
2). I changed my gel file memory map according to my linker memory map? it this always necessary?
3). my vector table placed in PIE vector location. is anything wrong in it?
Please help me in executing my Timer1 interrupt .
I attached my project file along with .c ,.h,.gel, .cmd in this mail please refer them.
Thanks,
Sangeetha