06-25-2007 12:10 PM
06-27-2007 02:51 PM - edited 06-27-2007 02:51 PM
What resolution do you need on the clock rate that you want to generate? The example below is a single cycle timed loop set to run at 100 MHz and can generate any clock rate with a resolution of 10 ns. The fastest clock that can be generated is 2 cycles of the SCTL (50 MHz). From there you can generate a clock at 3 cycles, 4 cycles, etc.
Message Edited by Christian L on 06-27-2007 02:51 PM
06-29-2007 05:59 AM
Thanks for your idea, it works but iam facing some other problems now.
Basically i need frequencies in the form of 32MHz,16MHz,8MHz..........
I got this frequencies with your program idea by setting the clock to 64MHz. The problem is now, i was using an occurence inside the clock function to be able to synchronise other parts of my program with the clock. By using the 64MHz Clock domain iam not able to use the occurence anywhere else in the program anymore since i cant use 64MHz as a toplevel Clock on my device (only 40,80,120 MHz top level clocks allowed).
So now i need an advise on how to synchronise other parts of the program (which do not fit into single cycle loops) with the clock.
Thanks in advance
Max W