<?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: S32K3XX periodic interrupt in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3XX-periodic-interrupt/m-p/1865310#M9088</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186237"&gt;@Alfredo_Rubio&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &lt;STRONG&gt;GptChannelTickFrequency&lt;/STRONG&gt; parameter corresponds to the frequency of the clock being used for the specific timer channel, selected by the &lt;STRONG&gt;GptChannelClkSrcRef&lt;/STRONG&gt; configuration parameter. Hence, for changing the value of the &lt;STRONG&gt;GptChannelTickFrequency&lt;/STRONG&gt;, a new source clock must be selected for the specific Gpt channel, or the frequency value for the already selected clock must be edited inside the Clocks Tool.&lt;/P&gt;
&lt;P&gt;The Gpt Simulink block allows the specification of a time-out period (in number of ticks), for the selected &lt;STRONG&gt;Channel&lt;/STRONG&gt;, after which a notification should occur. Hence, changing the &lt;STRONG&gt;Value&lt;/STRONG&gt; parameter of the Simulink block should also vary the period of execution for the notification function associated to that channel.&lt;/P&gt;
&lt;P&gt;Could you please let us know what Gpt channel are you using inside your model? Is it the &lt;STRONG&gt;GptChannelConfiguration_0&lt;/STRONG&gt; already enabled inside the configuration project associated to that model or have you configured a different one?&lt;BR /&gt;Also, what is the action being executed inside that subsystem, i.e how do you measure the 250 mHz for the notification period?&lt;/P&gt;
&lt;P&gt;For reference, please check the Gpt examples that our toolbox provides, found inside the &lt;EM&gt;&amp;lt;toolbox_root&amp;gt;/S32K3_Examples/gpt&lt;/EM&gt; folder, for seeing more details on how these functions are used inside a Simulink model.&lt;/P&gt;
&lt;P&gt;Thank you,&lt;BR /&gt;Irina&lt;/P&gt;</description>
    <pubDate>Tue, 14 May 2024 10:02:15 GMT</pubDate>
    <dc:creator>Irina_Costachescu</dc:creator>
    <dc:date>2024-05-14T10:02:15Z</dc:date>
    <item>
      <title>S32K3XX periodic interrupt</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3XX-periodic-interrupt/m-p/1858901#M9049</link>
      <description>&lt;P&gt;I' m trying to implement a periodic interrupt by means of the PIT timer.&lt;/P&gt;&lt;P&gt;I have started from the S32K344_pwm_led_ebt example.&lt;/P&gt;&lt;P&gt;From what I understand in this example, the Gpt_PitNotificationis hanging from PIT0 device.&lt;/P&gt;&lt;P&gt;The problem is that the notification is being generated at a 250mHz, no matter the frequency that I configure in the GptChannelTickFrequency (S32 configuration tool) or the Gpt_start_timer Simulink block.&lt;/P&gt;&lt;P&gt;How do you change the timer periode?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 10:47:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3XX-periodic-interrupt/m-p/1858901#M9049</guid>
      <dc:creator>Alfredo_Rubio</dc:creator>
      <dc:date>2024-05-03T10:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3XX periodic interrupt</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3XX-periodic-interrupt/m-p/1865310#M9088</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186237"&gt;@Alfredo_Rubio&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &lt;STRONG&gt;GptChannelTickFrequency&lt;/STRONG&gt; parameter corresponds to the frequency of the clock being used for the specific timer channel, selected by the &lt;STRONG&gt;GptChannelClkSrcRef&lt;/STRONG&gt; configuration parameter. Hence, for changing the value of the &lt;STRONG&gt;GptChannelTickFrequency&lt;/STRONG&gt;, a new source clock must be selected for the specific Gpt channel, or the frequency value for the already selected clock must be edited inside the Clocks Tool.&lt;/P&gt;
&lt;P&gt;The Gpt Simulink block allows the specification of a time-out period (in number of ticks), for the selected &lt;STRONG&gt;Channel&lt;/STRONG&gt;, after which a notification should occur. Hence, changing the &lt;STRONG&gt;Value&lt;/STRONG&gt; parameter of the Simulink block should also vary the period of execution for the notification function associated to that channel.&lt;/P&gt;
&lt;P&gt;Could you please let us know what Gpt channel are you using inside your model? Is it the &lt;STRONG&gt;GptChannelConfiguration_0&lt;/STRONG&gt; already enabled inside the configuration project associated to that model or have you configured a different one?&lt;BR /&gt;Also, what is the action being executed inside that subsystem, i.e how do you measure the 250 mHz for the notification period?&lt;/P&gt;
&lt;P&gt;For reference, please check the Gpt examples that our toolbox provides, found inside the &lt;EM&gt;&amp;lt;toolbox_root&amp;gt;/S32K3_Examples/gpt&lt;/EM&gt; folder, for seeing more details on how these functions are used inside a Simulink model.&lt;/P&gt;
&lt;P&gt;Thank you,&lt;BR /&gt;Irina&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 10:02:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K3XX-periodic-interrupt/m-p/1865310#M9088</guid>
      <dc:creator>Irina_Costachescu</dc:creator>
      <dc:date>2024-05-14T10:02:15Z</dc:date>
    </item>
  </channel>
</rss>

