<?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>S32 Design StudioのトピックRe: PWM interrupt not hitting</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1824099#M11997</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/227300"&gt;@Hareesh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I am also working on PWM interrupt, can you please send me the sample code&lt;/P&gt;&lt;P&gt;Thanks Akhil&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2024 10:55:19 GMT</pubDate>
    <dc:creator>Akhil1</dc:creator>
    <dc:date>2024-03-08T10:55:19Z</dc:date>
    <item>
      <title>PWM interrupt not hitting</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1817504#M11945</link>
      <description>&lt;P&gt;Hi NXP team,&lt;/P&gt;&lt;P&gt;We are using S32K344 EVK board and s32 design studio 3.5 .&lt;/P&gt;&lt;P&gt;We need to generate a PWM signal and generate the interrupts on both leading and falling edges of the pulse.&lt;/P&gt;&lt;P&gt;Is there any sample code in the SDK to do this one?&lt;/P&gt;&lt;P&gt;Although we are able to generate the PWM signal, but we are unable to generate the interrupt.&lt;/P&gt;&lt;P&gt;Please assist me in fixing this problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Hareesh&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 12:53:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1817504#M11945</guid>
      <dc:creator>Hareesh</dc:creator>
      <dc:date>2024-02-28T12:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: PWM interrupt not hitting</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1820440#M11960</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could someone please assist me in resolving this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Hareesh&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 09:50:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1820440#M11960</guid>
      <dc:creator>Hareesh</dc:creator>
      <dc:date>2024-03-04T09:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: PWM interrupt not hitting</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1821051#M11968</link>
      <description>&lt;DIV&gt;Hi &lt;SPAN&gt;Hareesh,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;I'm sorry for the delay, I have been overloaded the last couple of days.&lt;/DIV&gt;
&lt;DIV&gt;Please add the following function to the test project you sent me:&lt;BR /&gt;&lt;STRONG&gt;Emios_Pwm_Ip_SetFlagRequest&lt;/STRONG&gt;(INSTANCE_0, CHANNEL_2, EMIOS_PWM_IP_INTERRUPT_REQUEST);&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 05 Mar 2024 03:08:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1821051#M11968</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2024-03-05T03:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: PWM interrupt not hitting</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1822457#M11977</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/57959"&gt;@Robin_Shen&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the update.&lt;/P&gt;&lt;P&gt;After adding that function, the PWM ISR is working properly.&lt;/P&gt;&lt;P&gt;However, how can we distinguish between leading-edge and trailing-edge events in the ISR?&lt;/P&gt;&lt;P&gt;Is there any event checking for both edges of the pulse?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Hareesh&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 12:01:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1822457#M11977</guid>
      <dc:creator>Hareesh</dc:creator>
      <dc:date>2024-03-06T12:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: PWM interrupt not hitting</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1822880#M11981</link>
      <description>&lt;P&gt;Try to read the voltage level of the PWM output pin in the ISR.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2024 03:03:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1822880#M11981</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2024-03-07T03:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: PWM interrupt not hitting</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1824099#M11997</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/227300"&gt;@Hareesh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I am also working on PWM interrupt, can you please send me the sample code&lt;/P&gt;&lt;P&gt;Thanks Akhil&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 10:55:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1824099#M11997</guid>
      <dc:creator>Akhil1</dc:creator>
      <dc:date>2024-03-08T10:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: PWM interrupt not hitting</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1824100#M11998</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/57959"&gt;@Robin_Shen&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I am also working on PWM interrupt in s32K3, can you please provide the sample code for it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Akhil&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 10:57:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1824100#M11998</guid>
      <dc:creator>Akhil1</dc:creator>
      <dc:date>2024-03-08T10:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: PWM interrupt not hitting</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1824845#M12001</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/57959"&gt;@Robin_Shen&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the OPWFMB mode (variable frequency and variable duty cycle), we require a PWM frequency of 0.5 Hz.&lt;/P&gt;&lt;P&gt;The system clock and ADC clock will both decrease if the EMIOS module frequency is lowered to achieve lower frequency PWM because both have the same source clock (CORE_CLK) (Please refer the attached screenshot).&lt;/P&gt;&lt;P&gt;Is it feasible to switch the EMIOS module's clock source from CORE_CLK? If so, how should it be done?&lt;/P&gt;&lt;P&gt;If we set the CORE_CLK = 20 MHz,&lt;/P&gt;&lt;P&gt;EMIOS_CLK = 20M / 16(&lt;EM&gt;Clock Prescaler&lt;/EM&gt;) = 1.25 MHz&lt;/P&gt;&lt;P&gt;Period [in ticks] = EMIOS_CLK / PWM in Hz&lt;/P&gt;&lt;P&gt;PWM in Hz = EMIOS_CLK / Period [in ticks]&lt;/P&gt;&lt;P&gt;PWM in Hz = 1.25 MHz / 65535 (&lt;EM&gt;The maximum value we can set in S32 DS IDE&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;PWM in Hz = &lt;STRONG&gt;19.07 HZ&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thus, we will only obtain a minimum PWM frequency of 19.07 Hz when we use the maximum clock prescaler and period value combinations.&lt;/P&gt;&lt;P&gt;In order to get a &lt;STRONG&gt;PWM frequency of 0.5 Hz in OPWFMB&lt;/STRONG&gt; mode, what setups are required?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Hareesh&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 07:12:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1824845#M12001</guid>
      <dc:creator>Hareesh</dc:creator>
      <dc:date>2024-03-11T07:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: PWM interrupt not hitting</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1825713#M12011</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/225715"&gt;@Akhil1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find the attached file for example code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Hareesh&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 04:11:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1825713#M12011</guid>
      <dc:creator>Hareesh</dc:creator>
      <dc:date>2024-03-12T04:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: PWM interrupt not hitting</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1826742#M12018</link>
      <description>&lt;P&gt;Please ask a new question if you have any questions that are not related to the original topic of an existing case. It helps to keep it clear.&amp;nbsp;Thank you for your understanding.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 03:26:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1826742#M12018</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2024-03-13T03:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: PWM interrupt not hitting</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1826806#M12020</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/227300"&gt;@Hareesh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for your support..It is working fine.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Akhil&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 05:38:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1826806#M12020</guid>
      <dc:creator>Akhil1</dc:creator>
      <dc:date>2024-03-13T05:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: PWM interrupt not hitting</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1841066#M12125</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/227300"&gt;@Hareesh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The project is not available to download. Please upload the pwm working ISR project.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 05:33:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/PWM-interrupt-not-hitting/m-p/1841066#M12125</guid>
      <dc:creator>Dev15</dc:creator>
      <dc:date>2024-04-05T05:33:04Z</dc:date>
    </item>
  </channel>
</rss>

