Detecting boards

Technical discussions related to any XMOS development kit or reference design. Eg XK-1A, sliceKIT, etc.
User avatar
segher
XCore Expert
Posts: 844
Joined: Sun Jul 11, 2010 1:31 am

Detecting boards

Post by segher »

Is there a way to detect (from the code running on the xs1) what board it is?
I.e., figure out if the board is an XC-1A, an XC-2, etc.

Alternatively, is there a way to figure out the clock speed? You can get the PLL
settings easy enough, but that won't help much without knowing the input clock.