<?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>MPC5xxxのトピックMPC5604S internal Watchdog</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5604S-internal-Watchdog/m-p/681599#M8207</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using MPC5604S. Can anyone provide code for enabling internal watchdog only and i need to load a period of 70%.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jun 2017 06:24:01 GMT</pubDate>
    <dc:creator>akhilprasad</dc:creator>
    <dc:date>2017-06-09T06:24:01Z</dc:date>
    <item>
      <title>MPC5604S internal Watchdog</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5604S-internal-Watchdog/m-p/681599#M8207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using MPC5604S. Can anyone provide code for enabling internal watchdog only and i need to load a period of 70%.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 06:24:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5604S-internal-Watchdog/m-p/681599#M8207</guid>
      <dc:creator>akhilprasad</dc:creator>
      <dc:date>2017-06-09T06:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5604S internal Watchdog</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5604S-internal-Watchdog/m-p/681600#M8208</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;take a look at attached example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 06:57:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5604S-internal-Watchdog/m-p/681600#M8208</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2017-06-12T06:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5604S internal Watchdog</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5604S-internal-Watchdog/m-p/681601#M8209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much :smileyhappy:.&lt;/P&gt;&lt;P&gt;You have configured it in interrupt mode right ?SWT.CR.R &lt;SPAN&gt; &lt;/SPAN&gt;= 0x8000014A;&lt;/P&gt;&lt;P&gt;But i dont want interrupt mode, I want the controller to reset when timeout happens. So I have configured&lt;/P&gt;&lt;P&gt;SWT.CR.R &lt;SPAN&gt; &lt;/SPAN&gt;= 0x8000010B. Then I have given period SWT.TO.R = &amp;nbsp;0x4CCCCCCC. Will this work ? My intention is when the watchdog timer is 70% the controller should reset.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 08:29:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5604S-internal-Watchdog/m-p/681601#M8209</guid>
      <dc:creator>akhilprasad</dc:creator>
      <dc:date>2017-06-12T08:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5604S internal Watchdog</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5604S-internal-Watchdog/m-p/681602#M8210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SWT.CR.R &lt;SPAN&gt; &lt;/SPAN&gt;= 0x8000010B - this is correct. &lt;/P&gt;&lt;P&gt;What do you mean by 70%?&lt;/P&gt;&lt;P&gt;If you set time out to 0x4CCCCCCC then the time out will be 1/128kHz * 0x4CCCCCCC = 10066.3s which is almost 3 hours...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 12:05:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5604S-internal-Watchdog/m-p/681602#M8210</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2017-06-12T12:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5604S internal Watchdog</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5604S-internal-Watchdog/m-p/681603#M8211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the input Lukas.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can i check whether the counter is running or not ? From datasheet its mentioned that SWT_CO reg will show the downcounter value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what I did is I configured internal watchdog and put a while(1) in main to make the controller to reset.But I couldnt see any update in&amp;nbsp;SWT_CO register. So in the configuration do i need to change anything ? Below is the configuration i did.&lt;/P&gt;&lt;P&gt;SWT.SR.R = 0x0000c520;&lt;BR /&gt;&lt;SPAN&gt;SWT.SR.R&lt;/SPAN&gt;= 0x0000d928;&lt;BR /&gt;SWT.TO.R= 0x4CCCCCCC; /*to get 10ms what value should i load ?*/&lt;BR /&gt;SWT.CR.R= 0x8000010B;&lt;/P&gt;&lt;P&gt;- &amp;nbsp;What value should i load in &lt;SPAN&gt;SWT.TO.R reg&lt;/SPAN&gt;&amp;nbsp;to reset the controller if watchdog is not refreshed within 10ms ?&lt;/P&gt;&lt;P&gt;- With this configuration and just disabling the watchdog will I be able to watch the counter running ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 12:18:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5604S-internal-Watchdog/m-p/681603#M8211</guid>
      <dc:creator>akhilprasad</dc:creator>
      <dc:date>2017-06-12T12:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5604S internal Watchdog</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5604S-internal-Watchdog/m-p/681604#M8212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Be aware that debuggers usually disable the watchdog automatically for debugging purposes. So it is good idea to test this without debugger and measure the timeout by oscilloscope - toggle a pin when you configuring the watchdog and then measure the time to reset assertion...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 12:28:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5604S-internal-Watchdog/m-p/681604#M8212</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2017-06-12T12:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5604S internal Watchdog</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5604S-internal-Watchdog/m-p/681605#M8213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. But please share your thoughts on the points I mentioned in my previous post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 12:38:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5604S-internal-Watchdog/m-p/681605#M8213</guid>
      <dc:creator>akhilprasad</dc:creator>
      <dc:date>2017-06-12T12:38:40Z</dc:date>
    </item>
  </channel>
</rss>

