CTRA PLL control
krazyideas
Posts: 119
Hello
I am useing the CTRA mode %11010 to mesure pulse and I want to run the PLL at 128MHz.
I read this out of link talking about the counters A and B
I don't know how to change the range of the input Clock located in the counter to set it to 8MHz????
Do you do that by seting the system clock or what?
Thanks
A PLL is designed to work over a range of frequencies. The range for the input clock on the PLL
located within each counter is 4 to 8MHz, which results in an output range of 64 to 128 MHz.
Frequencies as low as 500 kHz can be output to APIN given the range of output divisions available
from the PLL. Therefore, any frequency from 500 kHz to 128 MHz can be generated using the PLL
counter modes.
I am useing the CTRA mode %11010 to mesure pulse and I want to run the PLL at 128MHz.
I read this out of link talking about the counters A and B
I don't know how to change the range of the input Clock located in the counter to set it to 8MHz????
Do you do that by seting the system clock or what?
Thanks
A PLL is designed to work over a range of frequencies. The range for the input clock on the PLL
located within each counter is 4 to 8MHz, which results in an output range of 64 to 128 MHz.
Frequencies as low as 500 kHz can be output to APIN given the range of output divisions available
from the PLL. Therefore, any frequency from 500 kHz to 128 MHz can be generated using the PLL
counter modes.
Comments
What are you trying to do with it anyway?
This question brings up a question in my own mind that someone else may be able to answer:· What is the difference between the following counter modes:
%01000 (POS Detector)·and %11010 (Logic A)
%01100 (NEG Detector) and %10101 (Logic !A)
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"I have always wished that my computer would be as easy to use as my telephone.· My wish has come true.· I no longer know how to use my telephone."
- Bjarne Stroustrup
Post Edited (Ken Peterson) : 11/5/2008 1:33:27 PM GMT
The PLL that krazyideas is referring to are the CTRA and CTRB of each cog. These PLL's can generate signals from DC to 128MHz.
krazyideas,
Take a look at the "Synth" object located in the Library directory
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"I have always wished that my computer would be as easy to use as my telephone.· My wish has come true.· I no longer know how to use my telephone."
- Bjarne Stroustrup
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.