Page 1 of 1

Interruput

Posted: Thu Mar 26, 2009 4:46 am
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

Re: Interruput

Posted: Thu Mar 26, 2009 6:38 am
by Ridgeglider

Re: Interruput

Posted: Thu Mar 26, 2009 12:10 pm
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