Suppressing particular warnings Topic is solved

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
User avatar
CousinItt
Respected Member
Posts: 360
Joined: Wed May 31, 2017 6:55 pm

Suppressing particular warnings

Post by CousinItt »

Hi all,

I'm working with a system using clock sources with different frequencies. The nominal frequencies produced by the PLLs are close enough (within a few PPM) but I get the following warnings, for every node and every source file:
.././MSC.xn:11 Warning: XN11137 500000000Hz system frequency for node "0" could not be achived. Using 499998720Hz.
.././MSC.xn:11 Warning: XN11136 Default 100Mhz reference frequency for node "0" could not be achived. Using 99999744Hz.
Is there a way to suppress just these particular warnings?

Also note the spelling errors. That's programmers for you.


View Solution
User avatar
akp
XCore Expert
Posts: 578
Joined: Thu Nov 26, 2015 11:47 pm

Post by akp »

Have you tried changing the XN file to request those frequencies directly? i.e. in the <Node> tag after Oscillator="<osc freq>" add SystemFrequency="499998720Hz" ReferenceFrequency="99999744Hz"

Then you will get the exact values and it won't complain.
User avatar
CousinItt
Respected Member
Posts: 360
Joined: Wed May 31, 2017 6:55 pm

Post by CousinItt »

I hadn't tried that, but I will. Thanks for the tip!
User avatar
CousinItt
Respected Member
Posts: 360
Joined: Wed May 31, 2017 6:55 pm

Post by CousinItt »

OK those warnings have gone away. xmap still gives the following, but it's a helpful reminder in my view.
xmap: Warning: Node "0" does not have 100Mhz reference clock.
Thanks akp
User avatar
akp
XCore Expert
Posts: 578
Joined: Thu Nov 26, 2015 11:47 pm

Post by akp »

Fantastic. Glad it's not spewing out a tonne of useless warnings anyway.
Post Reply