why clock of Xmos is not in square wave?

If you have a simple question and just want an answer.
jigneshprajapati
Member
Posts: 10
Joined: Tue May 13, 2014 12:54 pm

why clock of Xmos is not in square wave?

Post by jigneshprajapati »

I want to get output on one tick time stamped of 200 KHZ clock which i have generated using configure_clock_rate (clk , 100 , 500); // to generate the clock of 200 KHZ configure_port_clock_output (Clockp , clk); configure_out_port (BR,clk,0); start_clock (clk);but when i want to get output depending on this clock, the time period of output is 1 to 2 ms instead of 5 us.please see my attached code.
You do not have the required permissions to view the files attached to this post.
User avatar
sethu_jangala
XCore Expert
Posts: 589
Joined: Wed Feb 29, 2012 10:03 am

Post by sethu_jangala »

I did manage to run the code in your attachment and able to see perfect square wave in the oscilloscope. Have a look at the attached image.
You do not have the required permissions to view the files attached to this post.