<?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 Capture component has no method to read pin state or change edge detect polarity. in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Capture-component-has-no-method-to-read-pin-state-or-change-edge/m-p/246298#M1399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with CodeWarrior 5.1 for S12(X).&amp;nbsp; My target is 9S12XA256.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am adding the Capture component to trigger on both edges of an input capture pin.&amp;nbsp; There is not method to read the pin state to determine if the event was triggered by a rising or falling edge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a solution, I tried to add a BitIO to get the methods to read the pin state and guess what happened?&amp;nbsp; Processor Expert told me the pin was already in use by the Capture component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aside from writing my own code to go directly to the registers and defeating the whole purpose of PE, how do I know the edge type that triggered the event?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I have one more issue.&amp;nbsp; There is no method to change the detection edge of the input capture pin in real-time.&amp;nbsp; If I want to change the edge polarity from high-to-low or low-to-high as I decode an incoming signal, how could I do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I crazy by assuming such basic functions should already be part of the component, or am I just overlooking something?&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Feb 2013 02:56:37 GMT</pubDate>
    <dc:creator>jgirard1</dc:creator>
    <dc:date>2013-02-04T02:56:37Z</dc:date>
    <item>
      <title>Capture component has no method to read pin state or change edge detect polarity.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Capture-component-has-no-method-to-read-pin-state-or-change-edge/m-p/246298#M1399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with CodeWarrior 5.1 for S12(X).&amp;nbsp; My target is 9S12XA256.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am adding the Capture component to trigger on both edges of an input capture pin.&amp;nbsp; There is not method to read the pin state to determine if the event was triggered by a rising or falling edge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a solution, I tried to add a BitIO to get the methods to read the pin state and guess what happened?&amp;nbsp; Processor Expert told me the pin was already in use by the Capture component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aside from writing my own code to go directly to the registers and defeating the whole purpose of PE, how do I know the edge type that triggered the event?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I have one more issue.&amp;nbsp; There is no method to change the detection edge of the input capture pin in real-time.&amp;nbsp; If I want to change the edge polarity from high-to-low or low-to-high as I decode an incoming signal, how could I do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I crazy by assuming such basic functions should already be part of the component, or am I just overlooking something?&amp;nbsp; Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 02:56:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Capture-component-has-no-method-to-read-pin-state-or-change-edge/m-p/246298#M1399</guid>
      <dc:creator>jgirard1</dc:creator>
      <dc:date>2013-02-04T02:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Capture component has no method to read pin state or change edge detect polarity.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Capture-component-has-no-method-to-read-pin-state-or-change-edge/m-p/246299#M1400</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;Could you please check usage of InputPin component. It does not allocate the pin and provides GetValue method to detect the state on the pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Vojtech Filip&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 09:26:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Capture-component-has-no-method-to-read-pin-state-or-change-edge/m-p/246299#M1400</guid>
      <dc:creator>vfilip</dc:creator>
      <dc:date>2013-02-04T09:26:11Z</dc:date>
    </item>
  </channel>
</rss>

