Re: 1Khz timer interrupt | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Remy Bohmer wrote: > Hello Juergen, > > On Atmel AT91 there are Timer Counter blocks that could generate > periodic interrupts, I do not know if similar peripherals are > available on i.MX27. If so, you can probably use those. A quick glance at the datasheet suggests that similar timers are available (called General Purpose Timers in this case - see chapter 31 of the reference manual). They appear to support a restart mode which seems to corresponds to periodic functionality. Also the real time clock seems to be capable of periodic interrupt generation (though I can't find the relevant section of the reference manual.) When addressing a similar requirement on a pxa27x it was suggested by David Brownell that it a general subsystem allowing specification within board confs of such available timers and their assignment to particular drivers looks to be of use to numerous different people. He suggested the omap/dtimers code as a good place to start. My current (temporary) solution was to implement a realtime clock driver which registers one clock per timer (with a global one to detect missed interrupts). It's clunky but it works. (see pxa27x-rtc sent to rtc mailing list rtc-linux@xxxxxxxxxxxxxxxx a couple of days ago.) I'd definitely be interested in a more general approach to this. Anyone else interested enough to work out a general set of requirements? -- Jonathan Cameron ------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
[Site Home] [Linux Arm] [Fedora ARM] [Gcc Help] [Git] [DCCP] [IETF Announce] [Security] [PDAs] [Linux] [Linux Book List] [Linux MIPS] [Yosemite Campsites] [Photos]
![]() |
|