Hi all, I am trying to program the following: If I were to feed in a 1KHz square wave (voltage ranges between 0~3 volts) into Timer A0 channel as the input. The output I should be able to see at say GPIO_B( pin 7),the same frequency Square wave . I have been using strict C without the SDK tools, as there occur stringent timing requirements and hence am losing time (alloted to opening of drivers etc) for my application. Would greatly appreciate any feedback in this regard. Am a newbie to DSP programming and C as well. Thanks for you time n patience. Ritu. |
|
GPIO- Timer programming
Started by ●August 20, 2002
Reply by ●September 3, 20022002-09-03
If you check the FAQs on Motorola's web site (at http://e- www.motorola.com/cgi-bin/faq.cgi?kbase=dsp&prod_defaultV800) and search on the key words "simple peripheral drivers", you will see some software examples of how to drive GPIO pins using one of the quad timers. Non SDK and SDK compliant versions are provided. --- In motoroladsp@y..., "ritu_eshar" <ritu_eshar@y...> wrote: > Hi all, > > I am trying to program the following: > > If I were to feed in a 1KHz square wave (voltage ranges between 0~3 > volts) into Timer A0 channel as the input. > > The output I should be able to see at say GPIO_B( pin 7),the same > frequency Square wave . > > I have been using strict C without the SDK tools, as there occur > stringent timing requirements and hence am losing time (alloted to > opening of drivers etc) for my application. > > Would greatly appreciate any feedback in this regard. Am a newbie to > DSP programming and C as well. Thanks for you time n patience. > > Ritu. |