| Welcome to AT91SAM Community Forum http://www.at91.com/samphpbb/ |
|
| timer module for AT91SAM9260 http://www.at91.com/samphpbb/viewtopic.php?f=12&t=19044 |
Page 1 of 1 |
| Author: | tomas632 [ Mon Mar 08, 2010 8:33 pm ] |
| Post subject: | timer module for AT91SAM9260 |
Hi Guys, I am quite new to linux and to arm cores. I have been able to implement a timer before on an arm chip directly, but I now have a system with embedded linux on my AT91SAM9260 and so I believe I need to map certain things from memory into userspace? Could someone confirm if this is correct? Also does anyone know where I could find some sample code that would enable a timer on the ARM chip, but an "embedded linux" version? Thanks for your help. |
|
| Author: | ambw [ Thu Mar 11, 2010 11:54 pm ] |
| Post subject: | Re: timer module for AT91SAM9260 |
With LINUX you should use the built-in timer support rather than direct access to the HW. Otherwise you need to deal with kernel-mode drivers, protection issues and such. There are a couple of threads in this forum from Jan 28th talking about timers on AT91 that should point you in the right direction. |
|
| Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|



Forum