<?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中的主题 Software reset for MC9S12G controller</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Software-reset-for-MC9S12G-controller/m-p/1397942#M18394</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;Can you please provide the software code for MC9S12G to do a software reset.&lt;/P&gt;&lt;P&gt;(For example for S32K144 there is a function name SystemSoftwareReset which does the software reset)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Abhijith&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jan 2022 08:33:56 GMT</pubDate>
    <dc:creator>abhijithshankarenn</dc:creator>
    <dc:date>2022-01-12T08:33:56Z</dc:date>
    <item>
      <title>Software reset for MC9S12G controller</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Software-reset-for-MC9S12G-controller/m-p/1397942#M18394</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Can you please provide the software code for MC9S12G to do a software reset.&lt;/P&gt;&lt;P&gt;(For example for S32K144 there is a function name SystemSoftwareReset which does the software reset)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Abhijith&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 08:33:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Software-reset-for-MC9S12G-controller/m-p/1397942#M18394</guid>
      <dc:creator>abhijithshankarenn</dc:creator>
      <dc:date>2022-01-12T08:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Software reset for MC9S12G controller</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Software-reset-for-MC9S12G-controller/m-p/1398061#M18396</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In order to generate SW reset you can use COP (watchdog) by writing immediate value different from 0x55,0xAA.&lt;BR /&gt;See attached example.&lt;BR /&gt;The MCU then generates internal reset which is recognized on the basis of the RC timing constant of the circuitry connected to a reset pin. If this constant is long then POR/External reset is recognized and MCU start at reset vector 0xFFFE,0xFFFF. If the RC is short the COP is recognized and the MCU started at reset vector address 0xFFFA, 0xFFFB.&lt;BR /&gt;Hor RC constant works is described in the document:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12-FAMILY-DEVICES-COP-RECOGNITION-CONSIDERATIONS-v2-0-pdf/ta-p/1113092" target="_blank"&gt;https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12-FAMILY-DEVICES-COP-RECOGNITION-CONSIDERATIONS-v2-0-pdf/ta-p/1113092&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you want to have always POR even internal reset is launched then use large Cap at the reset pin &amp;gt;100nF. However, if you want to be able recognize COP reset then use Cap around 10nF or less or none (R is not considered).&lt;/P&gt;
&lt;P&gt;Moreover, I have attached an example for S12G device and COP reset processing. However, there is no solution for internal imediate COP SW reset. Because of this I have attached also example for COP at XET device. The principle of this peripheral is the same and in the file main.c you can find 3 options how to generate COP SW reset (option 2 is, I believe, the most frequently used). Of course, you will also see that comments are also the same for both devices because, as I have already written, the peripherals are the same.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Ladislav&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 11:35:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Software-reset-for-MC9S12G-controller/m-p/1398061#M18396</guid>
      <dc:creator>lama</dc:creator>
      <dc:date>2022-01-12T11:35:50Z</dc:date>
    </item>
  </channel>
</rss>

