EVK1100 PWM freq 66Mhz

Guest #1838860
Rate this post
• ▲ useful
▼ not useful
Hi,
I am a complete novice in this field of uc programming and am still 
learning the ropes of it. I am working with an EVK1100 board and 
programming with AVR32 Studio Ver. 2.5
I have to generate a PWM signal with a frequency of 66 Mhz. I have 
already tried using the built in Example program in AVR32 studio i.e. 
EVK1100-Drivers-PWM example.
It is working fine and I am able to manipulate the recieved signal by 
changing the value of Channel prescaler and the channel period in the 
main c program. But the minimum value of the prescaler that I can apply 
is 2 else it is giving me an error. Also the values of the period and 
duty cycle are 2 & 1 respectively (Have attached a screenshot of the 
same). I am observing the output at LED 7. The max freq I get with this 
is 28kHz. Is it possible to get a PWM output of 66Mhz with this 
configuration? Is an external clock signal required for the same? What 
can I further modify in the program?
Please help...
Attached files:
Guest #1839003
Rate this post
• ▲ useful
▼ not useful
The PWM clock is based off of the system clock MCK, it seems, so that's 
the maximum.

The prescaler (2 in your case) can be set to 1 according to the 
datasheet. It think that would be AVR32_PWM_CPRE_MCK instead of 
AVR32_PWM_CPRE_MCK_DIV_2 (haven't tried though).
Guest #1840067
Rate this post
• ▲ useful
▼ not useful
Dear John,
Yes I did try that infact and I could get the signal frequency upto 
56kHz but not further. I need a signal until 66Mhz and I do not know how 
I can multiply this signal so as to get the desired result!

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.