Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Timer interrupt tms320c6416 DSP TI

Status
Not open for further replies.

mac84

Newbie level 2
Joined
Mar 26, 2008
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,292
Hi,

I have just written a small program in CC3.3 but I need to use interrupt from timer device. I have initiated timer but I cannot obtain interrupt from it. Could you help me. I am writting my program in C.
I have found recently that I need to include vector.asm file and enable interrupts. Below I include some piece of code for allowing inturrupt onmy board.

TimerEventId0 = TIMER_getEventId(hTimer0)
IRQ_globalEnable(); //
IRQ_nmiEnable(); //enable nonmaskable interrupts
* Map TIMER events to physical interrupt number */
IRQ_map(TimerEventId0, 14); // I am using Timer0 device

I have no idea how to write vector.asm file. Has anybody used timer in DSP from TI.

I am waiting for your comments.
Michael
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top