<?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>S12 / MagniV MicrocontrollersのトピックRe: How to know that the S912ZVCA19F0MLF microcontroller has entered the STOP mode successfully?</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-know-that-the-S912ZVCA19F0MLF-microcontroller-has-entered/m-p/712161#M14730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Depending on the setting of the PSTP and the OSCE bit, Stop Mode can be differentiated between Full-Stop Mode (PSTP = 0 or OSCE=0) and Pseudo-Stop Mode (PSTP = 1 and OSCE=1).&lt;/P&gt;&lt;P&gt;So, to enter Full-Stop Mode, the external clock must be disabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the Bus clock is stopped in Full-Stop mode, you can monitor bus clock as ECLK on PT7 provided ECLKCTL[NECLK] = 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The current is probably increased by ADC if you use it.&lt;/P&gt;&lt;P&gt;Please refer to&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/errata/S12ZVC_0N23N.pdf"&gt;Mask Set Errata S12ZVC_ON23N&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;E8188, ADC: High current in Stop Mode. &amp;nbsp;&lt;/P&gt;&lt;P&gt;The ADC can take a higher current in Stop Mode if the ADC is enabled and conversions have been done.&lt;/P&gt;&lt;P&gt;There is also a workaround. ADC soft-reset must be executed before the MCU enters Stop Mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Sep 2017 12:22:08 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2017-09-25T12:22:08Z</dc:date>
    <item>
      <title>How to know that the S912ZVCA19F0MLF microcontroller has entered the STOP mode successfully?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-know-that-the-S912ZVCA19F0MLF-microcontroller-has-entered/m-p/712160#M14729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a S912ZVCA19F0MLF microcontroller based on S12Z architecture.&lt;BR /&gt;I am trying to put the microcontroller in Deep sleep (STOP mode), I find from the datasheet that the typical current consumption should be around 50uA. But I see there is a current consumption of 7.5mA. Please provide me some suggestions on how to debug that the micro is in STOP mode.&lt;/P&gt;&lt;P&gt;When I execute the instruction "__asm STOP;" the debugger loses the connection. So I cannot know what is happening on the MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Executed functionality:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;__asm ANDCC #0x7F;
__asm STOP;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;1. How to know that the&amp;nbsp;&lt;SPAN&gt;S912ZVCA19F0MLF&amp;nbsp;has entered STOP mode successfully?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2. Also, do I have to disable all the peripherals before going to sleep? (To reduce the current consumption)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how to debug this issue further?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Harsha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 18:26:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-know-that-the-S912ZVCA19F0MLF-microcontroller-has-entered/m-p/712160#M14729</guid>
      <dc:creator>harshajk</dc:creator>
      <dc:date>2017-09-22T18:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to know that the S912ZVCA19F0MLF microcontroller has entered the STOP mode successfully?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-know-that-the-S912ZVCA19F0MLF-microcontroller-has-entered/m-p/712161#M14730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Depending on the setting of the PSTP and the OSCE bit, Stop Mode can be differentiated between Full-Stop Mode (PSTP = 0 or OSCE=0) and Pseudo-Stop Mode (PSTP = 1 and OSCE=1).&lt;/P&gt;&lt;P&gt;So, to enter Full-Stop Mode, the external clock must be disabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the Bus clock is stopped in Full-Stop mode, you can monitor bus clock as ECLK on PT7 provided ECLKCTL[NECLK] = 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The current is probably increased by ADC if you use it.&lt;/P&gt;&lt;P&gt;Please refer to&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/errata/S12ZVC_0N23N.pdf"&gt;Mask Set Errata S12ZVC_ON23N&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;E8188, ADC: High current in Stop Mode. &amp;nbsp;&lt;/P&gt;&lt;P&gt;The ADC can take a higher current in Stop Mode if the ADC is enabled and conversions have been done.&lt;/P&gt;&lt;P&gt;There is also a workaround. ADC soft-reset must be executed before the MCU enters Stop Mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 12:22:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-know-that-the-S912ZVCA19F0MLF-microcontroller-has-entered/m-p/712161#M14730</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2017-09-25T12:22:08Z</dc:date>
    </item>
  </channel>
</rss>

