<?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: Sleep mode in S12Z VCA192 controller. in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sleep-mode-in-S12Z-VCA192-controller/m-p/460774#M11673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The correct description is in the S12ZCPU RM:&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.nxp.com/files/microcontrollers/doc/ref_manual/S12ZCPU_RM_V1.pdf?fpsp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" title="http://cache.nxp.com/files/microcontrollers/doc/ref_manual/S12ZCPU_RM_V1.pdf?fpsp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;http://cache.nxp.com/files/microcontrollers/doc/ref_manual/S12ZCPU_RM_V1.pdf&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;Look for the "STOP" instruction in "Instruction Glossary", for example.&lt;/P&gt;&lt;P&gt;("user state" refers to U-bit set, "supervisor state" to U-bit cleared).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, this is an error in the S12ZVC RM.&lt;/P&gt;&lt;P&gt;I forwarded the issue to the S12ZVC RM owner to have this fixed in the next version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the notice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MJW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Feb 2016 13:33:26 GMT</pubDate>
    <dc:creator>MJW</dc:creator>
    <dc:date>2016-02-16T13:33:26Z</dc:date>
    <item>
      <title>Sleep mode in S12Z VCA192 controller.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sleep-mode-in-S12Z-VCA192-controller/m-p/460771#M11670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I am trying to put the controller to sleep mode. In the data sheet it is given that U bit in CCR register has to be set and S bit has to cleared to go to sleep.&lt;/P&gt;&lt;P&gt;Currently we used "asm ANDCC #0x7F;" instruction which only clears the S bit.&lt;/P&gt;&lt;P&gt;ANDCC instruction access only lower 8 bit of CCR. But U bit is 15th bit od CCR.&lt;/P&gt;&lt;P&gt;How can we set the U bit in CCR?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The current sequence is &lt;/P&gt;&lt;P&gt;asm ANDCC #0x7F;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; asm STOP;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 06:40:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sleep-mode-in-S12Z-VCA192-controller/m-p/460771#M11670</guid>
      <dc:creator>dhankarcdas</dc:creator>
      <dc:date>2016-02-16T06:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sleep mode in S12Z VCA192 controller.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sleep-mode-in-S12Z-VCA192-controller/m-p/460772#M11671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clearing the S-bit is sufficient to enable the execution of the "STOP" instruction.&lt;/P&gt;&lt;P&gt;Setting the U-bit would actually disable both "STOP" and "WAI" instructions (both are executed as "NOP" if U-bit is set).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;MJW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 08:34:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sleep-mode-in-S12Z-VCA192-controller/m-p/460772#M11671</guid>
      <dc:creator>MJW</dc:creator>
      <dc:date>2016-02-16T08:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sleep mode in S12Z VCA192 controller.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sleep-mode-in-S12Z-VCA192-controller/m-p/460773#M11672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answer. But in reference manual MC9S12ZVC Family Reference Manual Rev. 1.3, page 52 it is given that&lt;/P&gt;&lt;P&gt;"The U-bit should be set and the S-bit (stop enable) should be cleared in the&lt;/P&gt;&lt;P&gt;CPU condition code register (CCR) to execute the STOP&lt;/P&gt;&lt;P&gt;instruction.Otherwise the STOP instruction is considered as a NOP."&lt;/P&gt;&lt;P&gt;This makes the confusion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 12:58:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sleep-mode-in-S12Z-VCA192-controller/m-p/460773#M11672</guid>
      <dc:creator>dhankarcdas</dc:creator>
      <dc:date>2016-02-16T12:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sleep mode in S12Z VCA192 controller.</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sleep-mode-in-S12Z-VCA192-controller/m-p/460774#M11673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The correct description is in the S12ZCPU RM:&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.nxp.com/files/microcontrollers/doc/ref_manual/S12ZCPU_RM_V1.pdf?fpsp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf" title="http://cache.nxp.com/files/microcontrollers/doc/ref_manual/S12ZCPU_RM_V1.pdf?fpsp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;http://cache.nxp.com/files/microcontrollers/doc/ref_manual/S12ZCPU_RM_V1.pdf&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;Look for the "STOP" instruction in "Instruction Glossary", for example.&lt;/P&gt;&lt;P&gt;("user state" refers to U-bit set, "supervisor state" to U-bit cleared).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, this is an error in the S12ZVC RM.&lt;/P&gt;&lt;P&gt;I forwarded the issue to the S12ZVC RM owner to have this fixed in the next version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the notice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MJW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 13:33:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Sleep-mode-in-S12Z-VCA192-controller/m-p/460774#M11673</guid>
      <dc:creator>MJW</dc:creator>
      <dc:date>2016-02-16T13:33:26Z</dc:date>
    </item>
  </channel>
</rss>

