AVR32 - PWM Driver Documentation
This is the documentation for the data structures, functions, variables, defines, enums, and typedefs for the PWM driver.
It also gives an example of the usage of the PWM on UC3 products. This example shows how to configure a PWM and output it on a GPIO.
Operating mode:
Check the used PWM pin with an oscilloscope, you should see a PWM frequency of 22.5 Hz with a PWM duty cycle of 3/4.
- On EVK1100, PWM3 is pin number 54 (PB22) with AT32UC3A0512 in QFP144 package. Also, LED7 is connected to PB22. Thus, you should also see LED7 blink.
- On EVK1101, PWM0 is pin number 13 (PA07) with AT32UC3B0256 in QFP64 package. Also, LED0 is connected to PA07. Thus, you should also see it blink.
This software was written for the GNU GCC for AVR32 and IAR Systems compiler for AVR32. Other compilers may or may not work.
All AVR32 devices with a PWM module can be used. This example has been tested with the following setup:
- EVK1100 evaluation kit
- EVK1101 evaluation kit
- STK1000 starter kit
CPU speed:
Internal RC oscillator (about 115200 Hz).
For more info about Atmel AVR32 visit
Atmel AVR32
Support and FAQ:
http://support.atmel.no/