<?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: S12 PIN state</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12-PIN-state/m-p/845739#M16059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Reading the Port Input Register (PTIT) is the only option.&lt;/P&gt;&lt;P&gt;The digital filter you mentioned is implemented on the ports with the Key-Wake up function (Port P, S, AD).&lt;BR /&gt;The timers are routed to Port T which doesn’t have the function.&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/69388iD7E340F1FB66743E/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;P&gt;The Timers have their own Edge Detector.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69442iB5AFE410B4EA4BBA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And as per the Input Capture description (Section 15.4.2, S12ZVL RM rev 2.41), the minimum pulse width for the input capture input is greater than two Bus clocks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Sep 2018 19:51:05 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2018-09-20T19:51:05Z</dc:date>
    <item>
      <title>S12 PIN state</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12-PIN-state/m-p/845738#M16058</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 use input capture function of S12ZVL32 to detect a falling edge,then I read the Port data register in the interrupt routine.&lt;/P&gt;&lt;P&gt;I find that it is low level;&lt;/P&gt;&lt;P&gt;I use input capture function of S12ZVL32 to detect a rising&amp;nbsp;edge,then I read the Port data register in the interrupt routine.&lt;/P&gt;&lt;P&gt;I find that it is&amp;nbsp;high level;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem:when I use the input capture function of S12ZVL32 to detect a edge,then can I judge the edge type by reading the pin level in the ISR?&amp;nbsp; &amp;nbsp;(Of course,hardware fileter is done.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the RMV: a digital fileter on each pin prevents short pulses from generating an interrupt. A valid edge on an input is detected if 4 consecutive samples of a passive level are followed by 4 consecutive samples of an active level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 10:21:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12-PIN-state/m-p/845738#M16058</guid>
      <dc:creator>fanziyu</dc:creator>
      <dc:date>2018-09-19T10:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: S12 PIN state</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12-PIN-state/m-p/845739#M16059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Reading the Port Input Register (PTIT) is the only option.&lt;/P&gt;&lt;P&gt;The digital filter you mentioned is implemented on the ports with the Key-Wake up function (Port P, S, AD).&lt;BR /&gt;The timers are routed to Port T which doesn’t have the function.&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/69388iD7E340F1FB66743E/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;P&gt;The Timers have their own Edge Detector.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69442iB5AFE410B4EA4BBA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And as per the Input Capture description (Section 15.4.2, S12ZVL RM rev 2.41), the minimum pulse width for the input capture input is greater than two Bus clocks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2018 19:51:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12-PIN-state/m-p/845739#M16059</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2018-09-20T19:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: S12 PIN state</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12-PIN-state/m-p/845740#M16060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2018 00:24:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12-PIN-state/m-p/845740#M16060</guid>
      <dc:creator>fanziyu</dc:creator>
      <dc:date>2018-09-21T00:24:24Z</dc:date>
    </item>
  </channel>
</rss>

