<?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 eTimer ISR (MBD for MPC574x) does not generate Event in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/eTimer-ISR-MBD-for-MPC574x-does-not-generate-Event/m-p/851719#M2731</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 am generating a pulse signal with a GPO (PF14) and trying to feed the pulse signal to PJ8.&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/66567i96885C1B5571FD6A/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;Use eTimer to detect the rising and falling edge from the pulse (PJ8 is connected to PF14)&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/66848iD29193BE42BACE70/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;Use the EVENT for detection of edges to run a subsystem (where I add a counter every time a edge is detected)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/66940i9807C56FAA8DFF13/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I expect the "CaptureCount" Value to be growing with every edge detection but in freemaster, the Counter stays at zero.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think somehow the Rising and Falling edge events can not be captured, when I look on Scope PF14 values, it shows a pulse with 100 Hz frequency (which is intended). My best guess is that eTimer Configuration is wrong but I can't find where.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/66351iD82DC679569730A1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the Matlab file and freemaster file for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using&lt;/P&gt;&lt;P&gt;1. Matlab 2018 b&lt;/P&gt;&lt;P&gt;2. Model Based Design Toolbox for MPC574x (V3.0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Mar 2019 15:23:33 GMT</pubDate>
    <dc:creator>abhishek_kumar1</dc:creator>
    <dc:date>2019-03-25T15:23:33Z</dc:date>
    <item>
      <title>eTimer ISR (MBD for MPC574x) does not generate Event</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/eTimer-ISR-MBD-for-MPC574x-does-not-generate-Event/m-p/851719#M2731</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 am generating a pulse signal with a GPO (PF14) and trying to feed the pulse signal to PJ8.&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/66567i96885C1B5571FD6A/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;Use eTimer to detect the rising and falling edge from the pulse (PJ8 is connected to PF14)&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/66848iD29193BE42BACE70/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;Use the EVENT for detection of edges to run a subsystem (where I add a counter every time a edge is detected)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/66940i9807C56FAA8DFF13/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I expect the "CaptureCount" Value to be growing with every edge detection but in freemaster, the Counter stays at zero.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think somehow the Rising and Falling edge events can not be captured, when I look on Scope PF14 values, it shows a pulse with 100 Hz frequency (which is intended). My best guess is that eTimer Configuration is wrong but I can't find where.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/66351iD82DC679569730A1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the Matlab file and freemaster file for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using&lt;/P&gt;&lt;P&gt;1. Matlab 2018 b&lt;/P&gt;&lt;P&gt;2. Model Based Design Toolbox for MPC574x (V3.0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2019 15:23:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/eTimer-ISR-MBD-for-MPC574x-does-not-generate-Event/m-p/851719#M2731</guid>
      <dc:creator>abhishek_kumar1</dc:creator>
      <dc:date>2019-03-25T15:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: eTimer ISR (MBD for MPC574x) does not generate Event</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/eTimer-ISR-MBD-for-MPC574x-does-not-generate-Event/m-p/851720#M2732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/abhishek.kumar@chassisbrakes.com"&gt;abhishek.kumar@chassisbrakes.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;I will investigate your issue and give a reply soon.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&lt;BR /&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2019 11:47:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/eTimer-ISR-MBD-for-MPC574x-does-not-generate-Event/m-p/851720#M2732</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2019-03-26T11:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: eTimer ISR (MBD for MPC574x) does not generate Event</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/eTimer-ISR-MBD-for-MPC574x-does-not-generate-Event/m-p/851721#M2733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/abhishek.kumar@chassisbrakes.com"&gt;abhishek.kumar@chassisbrakes.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry for the delay. Thank you very much for writing on the community about this issue.&lt;/P&gt;&lt;P&gt;Looking inside your model, I found the following:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Firstly, in the model I've found that the &lt;EM&gt;Secondary source&lt;/EM&gt; was selected the &lt;EM&gt;Counter 0 input pin&lt;/EM&gt;, but in the pin configuration I've found that the PTJ8 was selected as the forth Counter pin. So, in order to use it please select the secondary Count source the "&lt;EM&gt;Counter 4 input pin&lt;/EM&gt;" option. They must be linked together.&amp;nbsp;&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/79021i73DD29072AB92BFB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Secondly, I've found that on our side the pin initialization for the eTimer was not performed right, so please replace the attached p code script in the&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;src\mbdtbx_mpc574x\mbdtbx_mpc574x\mscripts\etimer &lt;/STRONG&gt;location.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your model sent!&lt;/P&gt;&lt;P&gt;I am waiting for your reply to confirm or not that the patch worked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 16:24:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/eTimer-ISR-MBD-for-MPC574x-does-not-generate-Event/m-p/851721#M2733</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2019-03-28T16:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: eTimer ISR (MBD for MPC574x) does not generate Event</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/eTimer-ISR-MBD-for-MPC574x-does-not-generate-Event/m-p/851722#M2734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/mariuslucianandrei"&gt;mariuslucianandrei&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works, Thank you for the input.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 08:28:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/eTimer-ISR-MBD-for-MPC574x-does-not-generate-Event/m-p/851722#M2734</guid>
      <dc:creator>abhishek_kumar1</dc:creator>
      <dc:date>2019-04-01T08:28:45Z</dc:date>
    </item>
  </channel>
</rss>

