<?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>Processor Expert SoftwareのトピックRe: Port P problem for external interrupt</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167187#M272</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this MCU does not support both edge mode. I have checked the values provided﻿ by "General interrupt on"﻿ porperty and they are correct and correspond to RM as you can see in the attached table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Vojtech Filip&lt;BR /&gt;Processor Expert Support Team&lt;BR /&gt;﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2011 14:47:05 GMT</pubDate>
    <dc:creator>ProcessorExpert</dc:creator>
    <dc:date>2011-09-16T14:47:05Z</dc:date>
    <item>
      <title>Port P problem for external interrupt</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167182#M267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; line-height: normal; font-size: medium;"&gt;I would like to ask you something about MC9S12C32MFU25.I have problem &amp;nbsp;&lt;BR /&gt;by using "PortP" for external interrupt with sensor. It become '1' &amp;nbsp;&lt;BR /&gt;when sensor detect thing, then It don't become '0' when sensor doesn't &amp;nbsp;&lt;BR /&gt;detect anything. So, which part do I need to change setting of &amp;nbsp;&lt;BR /&gt;processor or software?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 13:48:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167182#M267</guid>
      <dc:creator>Dora</dc:creator>
      <dc:date>2011-09-15T13:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Port P problem for external interrupt</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167183#M268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;are you sure that this issue is related to the Processor Expert tool? Are you using Processor Expert? Could you please post here your project?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Vojtech Filip&lt;BR /&gt;Processor Expert Support Team&lt;BR /&gt;﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 15:15:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167183#M268</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2011-09-15T15:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Port P problem for external interrupt</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167184#M269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can MC9S12C32MFU25 &amp;nbsp;use both falling and rising﻿ edge? I change setting both edge for port p, but I get error. And also I try to change PPSP '1' to '0' in IO_Map.h, but it give me error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should I need to change if I want both edge?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 16:32:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167184#M269</guid>
      <dc:creator>Dora</dc:creator>
      <dc:date>2011-09-15T16:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Port P problem for external interrupt</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167185#M270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in case you want to change the edge or level as a condition for generation interrupt at run-time you can do it using SetEdge method from ExtInt component but the PE1_IRQ﻿ pin does not support rising edge as you can see on the attached screen-shot (or see the appropriate RM).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In case you are not limited to use this pin, I would recommend you to change it to another one (e.g some P port pin). In case you are using Processor Expert, you have to just change the pin in the ExtInt component and start code generation. The user C code will be the same :smileywink:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Vojtech Filip&lt;BR /&gt;Processor Expert Support Team﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 20:11:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167185#M270</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2011-09-15T20:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Port P problem for external interrupt</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167186#M271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to set both edge on&amp;nbsp; "General interrupt on", but I can't select it. If I select both edge, it give me error. How should I do to get both edge(falling and rising)? Do you have any idea for that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attach file as belows:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 13:32:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167186#M271</guid>
      <dc:creator>Dora</dc:creator>
      <dc:date>2011-09-16T13:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Port P problem for external interrupt</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167187#M272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this MCU does not support both edge mode. I have checked the values provided﻿ by "General interrupt on"﻿ porperty and they are correct and correspond to RM as you can see in the attached table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Vojtech Filip&lt;BR /&gt;Processor Expert Support Team&lt;BR /&gt;﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 14:47:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167187#M272</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2011-09-16T14:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Port P problem for external interrupt</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167188#M273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is RM? So, I can't select both edge, so what can I do for sensor? Sensor need to read when sensor detect or doesn't detect the object. Can you give me some idea for that?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 16:08:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167188#M273</guid>
      <dc:creator>Dora</dc:creator>
      <dc:date>2011-09-16T16:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Port P problem for external interrupt</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167189#M274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dora,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sorry for confusing with RM, RM means &lt;A href="http://cache.freescale.com/files/microcontrollers/doc/data_sheet/MC9S12C128V1.pdf?fpsp=1&amp;amp;WT_TYPE=Data%20Sheets&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation" rel="nofollow" target="_self"&gt;reference manual&lt;/A&gt;. In case you want to capture both edges I think it would be better to use Capture component together with InputPin component.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Caputre - provides both edge detection functionality using OnCapture event or you can also use polling mode (without interrupts)&lt;/P&gt;&lt;P&gt;InputPin - level cheking using GetVal method&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: For more details please see enclosed project which was created in CW V5.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Vojtech Filip&lt;BR /&gt;Processor Expert Support Team&lt;BR /&gt;﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 16:08:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167189#M274</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2011-09-20T16:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Port P problem for external interrupt</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167190#M275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You said previous reply that this MCU doesn't support both falling and rising edge.If I use interrupt with both edges, which type of MCU should I use?&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another question:&lt;/P&gt;&lt;P&gt;I use Port T for keypad, so I can't use Port T to capture edges. I try to write program by using PPSP as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interrupt is falling edge(it read) when Sensor detect&amp;nbsp;﻿&amp;nbsp;without PPSP&lt;/P&gt;&lt;P&gt;void OP6_OnInterrupt(void){&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;dword&amp;nbsp;&amp;nbsp;zcommandID |= OP6FIRE; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CAN1_SendFrameExt((zcommandID|CAN_EXTENDED_FRAME_ID),DATA_FRAME,8,buff1);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Interrupt is rising edge(it read) when sensor doesn't detect&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;void OP6_OnInterrupt(void){&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;dword&amp;nbsp;&amp;nbsp;zcommandID |= OP6FIRE; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CAN1_SendFrameExt((zcommandID|CAN_EXTENDED_FRAME_ID),DATA_FRAME,8,buff1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if (PPSP_PPSP1 = 1)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;dword&amp;nbsp;&amp;nbsp;zcommandID |= OP6FIRE; &amp;nbsp;&amp;nbsp;﻿&lt;/P&gt;&lt;P&gt;CAN1_SendFrameExt((zcommandID|CAN_EXTENDED_FRAME_ID),DATA_FRAME,8,buff1);﻿&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Is it something wrong in my program ?&lt;/P&gt;&lt;P&gt;Please give some advice.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 17:05:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167190#M275</guid>
      <dc:creator>Dora</dc:creator>
      <dc:date>2011-09-20T17:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Port P problem for external interrupt</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167191#M276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sorry for confusion, however the issue with rising/falling edges needs to be divided into two areas:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;External Interrupt device (ExtInt Component):&lt;/P&gt;&lt;P&gt;This device supports only rasing/falling detecion modes (on port P) and it´s encapsulated by ExtInt component﻿.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIM device (Capture component):&lt;/P&gt;&lt;P&gt;This device supports "both" mode of&amp;nbsp; edge detection and it´s encapsulated by Capture component.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Vojtech Filip&lt;BR /&gt;Processor Expert Support Team﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 17:29:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167191#M276</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2011-09-20T17:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Port P problem for external interrupt</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167192#M277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two question to ask you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question No1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I am using two sensor with 2 pin(Port P1 and Port P2) by using one is falling and another is rising edge﻿. It read when sensor detect and then it doesn't read when sensor detect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to use one sensor with 2 pin( one is falling and another is rising edge)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question No2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am thinking of using Port E instead of Port P for sensor. Is it possible to use Port E for sensor to read either '1' or '0' when sensor detect (1) or doesn't detect ('0')?(I mean port E can use both falling and rising edge together)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks you so much&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 15:56:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Port-P-problem-for-external-interrupt/m-p/167192#M277</guid>
      <dc:creator>Dora</dc:creator>
      <dc:date>2011-09-26T15:56:35Z</dc:date>
    </item>
  </channel>
</rss>

