clocking block from port

Technical questions regarding the XTC tools and programming with XMOS.
pasau
Experienced Member
Posts: 77
Joined: Fri Dec 06, 2013 7:05 pm

clocking block from port

Post by pasau »

Hi, i would like to know when you use configure_clock_source to clock a clock block from a 1 bit port, if the signal from the 1 bit port has to be a real clock, with a certain amount of stability so it can work. Or can it be any random signal you want to use as a clock like a button or any digital signal?

In the port specification document it says
Note that any external clock is itself clocked-in using the 400 MHz core clock.
So my guess is you can use any signal, since it doesnt seem to involve PLLs and stuff. But please confirm this if its the case


User avatar
segher
XCore Expert
Posts: 844
Joined: Sun Jul 11, 2010 1:31 am

Post by segher »

Any signal that is okay to use with a port can be used as
clock source.