To: | |
---|---|
Subject: | Re: [ts-7000] Re: function generator? |
From: | Jim Long <> |
Date: | Wed, 13 Oct 2010 14:38:02 -0700 |
The ARM 9 has a number of internal timers. Pick one that isn't used by the OS. They can be cascaded to another timer making for a longer time base. A Timer also has a scale register that scales the count so you can vary the frequency for a given count. You can also make them auto repeat so it re-load the register with the count restarts. Just tell it to go and forget about it. When the timer counts down to zero you catch that in an interrupt that output a one or zero to a PIO. Your square wave. jim On Wed, Oct 13, 2010 at 7:14 AM, juan obando <> wrote:
|
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Re: [ts-7000] COM2 serial problem on TS-7260, Jim Jackson |
---|---|
Next by Date: | [ts-7000] Yay! user-mode SPI driver working on TS7300 with 2.6.34, andreas queisser |
Previous by Thread: | RE: [ts-7000] Re: function generator?, juan obando |
Next by Thread: | Re: [ts-7000] Re: function generator?, David Smead |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU