Interruput

Discussion to talk about software related topics only.
Post Reply
dominici
Posts: 5
Joined: Sun Sep 21, 2008 3:06 am

Interruput

Post by dominici »

Dear all,

I have a problem in understand the use of the PIT (Programmable Interrupt Timer). I really appreciate if someone could provide me some realy basic examples. I use a couple of different platforms in particular MOD5282 and MOD5213.

Thank you in advance

Best Regards,
Fabrizio
User avatar
lgitlitz
Posts: 331
Joined: Wed Apr 23, 2008 11:43 am
Location: San Diego, CA
Contact:

Re: Interruput

Post by lgitlitz »

Hi,

I made a small utility that interfaces with the DMA timer on all the NetBurner products. It makes it really easy to set up timer delays, interrupts, clock generation, or just high precision timing. I am cleaning it up a bit and making a main.cpp that demonstrates how to use the different functions. I will post this in the "Application Notes and Design Ideas" sometime today. You should be able to modify some of the functions to work with the PIT timers but I suggest using the DMA timers if you have them available. They have all the PIT functionality plus they are 32-bit and have direct access to IO pins.

-Larry
Post Reply