EmbDev.net

Forum: ARM programming with GCC/GNU tools PWMs and Watchdogs


Author: Jim Kaz (ancaritha)
Posted on:

Rate this post
0 useful
not useful
Hi everyone.  Sadly the search function doesn't seem to be working, so
my apologies in advance if this stuff has already been covered and I
just can't find it.  I have two questions, one about the watchdog and
one about PWMs.

For the watchdog timer, it doesn

Author: Jim Kaz (ancaritha)
Posted on:

Rate this post
0 useful
not useful
>     // Enabling a PWM output through the PIO
>     AT91F_PIO_CfgPeriph(AT91C_BASE_PIOA, 0, AT91C_PIO_PA18);

Figured it out!  I am stupid, heh.

I was initializing the pin on Port B, so clearly the osciliscope I had
hooked up to Port A wasn't going to show anything... :)

Author: Martin Thomas (Guest)
Posted on:

Rate this post
0 useful
not useful
Since there has not been an answer for some time at least some of my
thoughts (which my not be very helpful).


Jim Kaz wrote:
> Hi everyone.  Sadly the search function doesn't seem to be working, so
> my apologies in advance if this stuff has already been covered and I
> just can't find it.  I have two questions, one about the watchdog and
> one about PWMs.

(I do not remember if this has been covered before.)

>
> For the watchdog timer, it doesn

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.