<?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: Glitch Filter on RESET_b in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Glitch-Filter-on-RESET-b/m-p/794375#M48375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello XiangJun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&amp;nbsp; If you look at the PORT I/O pin structure (pg 783 of the RM), I believe that the passive filter and the glitch filter are independent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Pin-IO.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62762i375E99BFD0227214/image-size/large?v=v2&amp;amp;px=999" role="button" title="Pin-IO.PNG" alt="Pin-IO.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using an RC filter on RESET_b (0.1uF x 10kohm) and have no trouble with resets until I insert code main to write to DFWR, DFCR, and DFER.&amp;nbsp; When I remove this code, everything works as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does any of this information change your opinion?&amp;nbsp; Thanks again for your time!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ammar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Nov 2018 20:50:13 GMT</pubDate>
    <dc:creator>ammarbazzaz</dc:creator>
    <dc:date>2018-11-06T20:50:13Z</dc:date>
    <item>
      <title>Glitch Filter on RESET_b</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Glitch-Filter-on-RESET-b/m-p/794373#M48373</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;I want to reduce or eliminate the possibility of resets due to noise on the RESET_b pin of the MCU that I am using (MKE16F512VLH16, PTA5, PIN 63)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will a simple conversion of PTA5 to a GPIO accomplish this?&amp;nbsp; If so, will I still be able to debug my code using SWD via P&amp;amp;E Multilink Universal USB hardware and MCUExpresso IDE v10.0.2 [Build 411] [2017-07-11]?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, I have considered enabling the digital glitch filter on the RESET_b PIN, but it is not clear if this should be done via PORT control or the RCM.&amp;nbsp; Are these two methods independent?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If implementing a glitch filter on RESET_b, then how and where in the code can I do this so as not ending up in an infinite loop of resetting?&amp;nbsp; This is what happened when I tried to implement the glitch filter in main() using simple writes to the required PORT control registers (DFWR, DFCR, and DFER)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you kindly for your guidance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ammar#&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2018 16:26:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Glitch-Filter-on-RESET-b/m-p/794373#M48373</guid>
      <dc:creator>ammarbazzaz</dc:creator>
      <dc:date>2018-11-01T16:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Glitch Filter on RESET_b</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Glitch-Filter-on-RESET-b/m-p/794374#M48374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Ammar,&lt;/P&gt;&lt;P&gt;I think the Reset_b(PTA5) has it's own independent passive filter circuit, the passive filter is enabled during/after Reset b in default, so it is useless to set the DFWR, DFCR, and DFER registers.&lt;/P&gt;&lt;P&gt;I copy the table from RM of KE1xFP. In default state, the Reset_b(PTA5) is pull-up and passive filter enabled.&lt;/P&gt;&lt;P&gt;Regarding you abnormal reset issue, I suggest you use a RC circuit for the Reset_b pin.&lt;/P&gt;&lt;P&gt;Pls note that it is NOT software issue which reset the processor.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62743iBEA3031CCD772645/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2018 08:58:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Glitch-Filter-on-RESET-b/m-p/794374#M48374</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2018-11-06T08:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Glitch Filter on RESET_b</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Glitch-Filter-on-RESET-b/m-p/794375#M48375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello XiangJun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&amp;nbsp; If you look at the PORT I/O pin structure (pg 783 of the RM), I believe that the passive filter and the glitch filter are independent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Pin-IO.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62762i375E99BFD0227214/image-size/large?v=v2&amp;amp;px=999" role="button" title="Pin-IO.PNG" alt="Pin-IO.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using an RC filter on RESET_b (0.1uF x 10kohm) and have no trouble with resets until I insert code main to write to DFWR, DFCR, and DFER.&amp;nbsp; When I remove this code, everything works as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does any of this information change your opinion?&amp;nbsp; Thanks again for your time!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ammar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2018 20:50:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Glitch-Filter-on-RESET-b/m-p/794375#M48375</guid>
      <dc:creator>ammarbazzaz</dc:creator>
      <dc:date>2018-11-06T20:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Glitch Filter on RESET_b</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Glitch-Filter-on-RESET-b/m-p/794376#M48376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Ammar,&lt;/P&gt;&lt;P&gt;Thank you for pointing out that the "glitch filter" and "passive filter" are independent modules.&lt;/P&gt;&lt;P&gt;You said that the KE16 works fine if you do not set up the DFWR, DFCR, and DFER registers, I suppose that&amp;nbsp; your problem is not related to Reset pin feature, the software leads to the Reset issue.&lt;/P&gt;&lt;P&gt;Pls note the line "Changing the filter clock source must be done only when all digital filters are disabled", before you write the PORTx_DFCR and PORTx_DFWR, you should clear PORTx_DFER register. Pls have a try.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/63700iC3C1A5D530D56B74/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2018 03:13:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Glitch-Filter-on-RESET-b/m-p/794376#M48376</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2018-11-08T03:13:52Z</dc:date>
    </item>
  </channel>
</rss>

