<?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 MC9S08LG32 cannot change register value in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/MC9S08LG32-cannot-change-register-value/m-p/375809#M6767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone &lt;SPAN aria-label="Happy" class="emoticon_happy emoticon-inline" style="height:16px;width:16px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trayin setup SPI on MCU MC9S08LG16 and i cannot set any register from SPI registers. When i setting SPIC1 value to 0xD0 by code, nothing change. SPIC1 have 0x04 from begin program. When i traying change this value in debug mode in memory window or in register map, not work it. After hit on enter value stay on 0x04. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use Codewarrior 6.1.&lt;/P&gt;&lt;P&gt;Please, can you help my anybody to explain this problem? &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Feb 2015 01:59:02 GMT</pubDate>
    <dc:creator>navry</dc:creator>
    <dc:date>2015-02-14T01:59:02Z</dc:date>
    <item>
      <title>MC9S08LG32 cannot change register value</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/MC9S08LG32-cannot-change-register-value/m-p/375809#M6767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone &lt;SPAN aria-label="Happy" class="emoticon_happy emoticon-inline" style="height:16px;width:16px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trayin setup SPI on MCU MC9S08LG16 and i cannot set any register from SPI registers. When i setting SPIC1 value to 0xD0 by code, nothing change. SPIC1 have 0x04 from begin program. When i traying change this value in debug mode in memory window or in register map, not work it. After hit on enter value stay on 0x04. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use Codewarrior 6.1.&lt;/P&gt;&lt;P&gt;Please, can you help my anybody to explain this problem? &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Feb 2015 01:59:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/MC9S08LG32-cannot-change-register-value/m-p/375809#M6767</guid>
      <dc:creator>navry</dc:creator>
      <dc:date>2015-02-14T01:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08LG32 cannot change register value</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/MC9S08LG32-cannot-change-register-value/m-p/375810#M6768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Michal Navratil:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your question is in general space with very low visibility. Please move it to &lt;A href="https://community.nxp.com/space/2031"&gt;Classic/Legacy CodeWarrior&lt;/A&gt; to gain more attention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About posting in the right place, check the next document by colleague Denisse: &lt;A href="https://community.nxp.com/docs/DOC-99909"&gt;Where to post a Discussion?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Feb 2015 02:58:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/MC9S08LG32-cannot-change-register-value/m-p/375810#M6768</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-02-14T02:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08LG32 cannot change register value</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/MC9S08LG32-cannot-change-register-value/m-p/375811#M6769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge Gonzalez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the warning. A did it now :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greeting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michal Navratil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Feb 2015 03:02:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/MC9S08LG32-cannot-change-register-value/m-p/375811#M6769</guid>
      <dc:creator>navry</dc:creator>
      <dc:date>2015-02-14T03:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08LG32 cannot change register value</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/MC9S08LG32-cannot-change-register-value/m-p/375812#M6770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michal Navrátil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe the SPI registers cannot be set because the Bus clock to the SPI module was not enabled, please try to enable it with the next instruction and then try to set the SPI registers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCGC2_SPI =1; // This bit controls the clock gate to the SPI module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find more information about the System Clock Gating Control 2 Register (SCGC2) on the page 91 of the User Manual:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/microcontrollers/doc/ref_manual/MC9S08LG32RM.pdf" title="http://cache.freescale.com/files/microcontrollers/doc/ref_manual/MC9S08LG32RM.pdf"&gt;http://cache.freescale.com/files/microcontrollers/doc/ref_manual/MC9S08LG32RM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 02:29:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/MC9S08LG32-cannot-change-register-value/m-p/375812#M6770</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2015-02-24T02:29:34Z</dc:date>
    </item>
  </channel>
</rss>

