<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: V6.2 has problem with clock rate in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/V6-2-has-problem-with-clock-rate/m-p/183577#M6310</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello John,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Perhaps the programmer is trimming to a different frequency with the version change.&lt;P&gt;I seem to remember that this changed from a fixed value to an adjustable value at some point.&lt;/P&gt;&lt;P&gt;This being a general thing - not specific to the RS08 or KA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 May 2009 06:53:06 GMT</pubDate>
    <dc:creator>peg</dc:creator>
    <dc:date>2009-05-22T06:53:06Z</dc:date>
    <item>
      <title>V6.2 has problem with clock rate</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/V6-2-has-problem-with-clock-rate/m-p/183575#M6308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I developed a program using V6.1 on MC9RS08KA1. The program sent RS232 data out from an output port at 2400baud.&amp;nbsp;All works fine. However, when I complied the same program using V6.2 and downloaded to the same MC9RS08KA1 (all software, hardware, everything&amp;nbsp;were the same except CodeWarrior version). I found that the RS232 signal generated&amp;nbsp;had the frequency changed, the period for each pulse was shorter.&amp;nbsp;Since the signal is generated purely by using instruction delays in the program, I suspect there is something wrong with the internal clock frequency. Could V6.2 affects the trim value in the register or did something that increased the clock rate?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2009 01:51:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/V6-2-has-problem-with-clock-rate/m-p/183575#M6308</guid>
      <dc:creator>JohnFM</dc:creator>
      <dc:date>2009-05-22T01:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: V6.2 has problem with clock rate</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/V6-2-has-problem-with-clock-rate/m-p/183576#M6309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean with 'the signal is generated purely by using instruction delays in the program'?&lt;/P&gt;&lt;P&gt;It may be that the compiler is more agressive in optimizations, and this may affect your delay instructions if they are not properly implemented.&lt;/P&gt;&lt;P&gt;If you are using delay routines in C, it may be a good thing to declare the loop variables/etc as volatile. Even better and recommended: implement delays in assembly code so you have complete control over it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some other hints: add the option -Lst (to create listing files) to your project and compile them with both compilers. Then compare them using a diff utility. Or compare the map file to find out where are the differences.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2009 02:00:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/V6-2-has-problem-with-clock-rate/m-p/183576#M6309</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2009-05-22T02:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: V6.2 has problem with clock rate</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/V6-2-has-problem-with-clock-rate/m-p/183577#M6310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello John,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Perhaps the programmer is trimming to a different frequency with the version change.&lt;P&gt;I seem to remember that this changed from a fixed value to an adjustable value at some point.&lt;/P&gt;&lt;P&gt;This being a general thing - not specific to the RS08 or KA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2009 06:53:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/V6-2-has-problem-with-clock-rate/m-p/183577#M6310</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2009-05-22T06:53:06Z</dc:date>
    </item>
  </channel>
</rss>

