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
Interruput
-
- Posts: 513
- Joined: Sat Apr 26, 2008 7:14 am
Re: Interruput
Take a moment to explore the NB pages for each of the core modules. You'll find lots of app notes...
http://www.netburner.com/downloads/mod5 ... 13-INT.pdf
http://www.netburner.com/downloads/mod5 ... 13-PIT.pdf
http://www.netburner.com/downloads/mod5 ... 1&view=Fit
http://www.netburner.com/downloads/mod5 ... 1&view=Fit
http://www.netburner.com/downloads/mod5 ... 13-INT.pdf
http://www.netburner.com/downloads/mod5 ... 13-PIT.pdf
http://www.netburner.com/downloads/mod5 ... 1&view=Fit
http://www.netburner.com/downloads/mod5 ... 1&view=Fit
Re: Interruput
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
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