<?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>S32KのトピックS32K148 RTD200 MCAL PWM overflow interrupt</title>
    <link>https://community.nxp.com/t5/S32K/S32K148-RTD200-MCAL-PWM-overflow-interrupt/m-p/2128854#M50598</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;1)How to use the overflow interrupt function of the PWM module in the MCAL library? In S32DS, there isn't a callback function setting like in the IP layer. How should I use this function?&lt;/P&gt;&lt;P&gt;2)&lt;SPAN&gt;There is also a question. When using interrupts, the names of the interrupt functions in the platform module must be the same as those in the MCAL. Are these fixed function names and cannot be customized?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 06 Jul 2025 03:57:12 GMT</pubDate>
    <dc:creator>Chris_Tigger</dc:creator>
    <dc:date>2025-07-06T03:57:12Z</dc:date>
    <item>
      <title>S32K148 RTD200 MCAL PWM overflow interrupt</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-RTD200-MCAL-PWM-overflow-interrupt/m-p/2128854#M50598</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;1)How to use the overflow interrupt function of the PWM module in the MCAL library? In S32DS, there isn't a callback function setting like in the IP layer. How should I use this function?&lt;/P&gt;&lt;P&gt;2)&lt;SPAN&gt;There is also a question. When using interrupts, the names of the interrupt functions in the platform module must be the same as those in the MCAL. Are these fixed function names and cannot be customized?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Jul 2025 03:57:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-RTD200-MCAL-PWM-overflow-interrupt/m-p/2128854#M50598</guid>
      <dc:creator>Chris_Tigger</dc:creator>
      <dc:date>2025-07-06T03:57:12Z</dc:date>
    </item>
    <item>
      <title>回复： S32K148 RTD200 MCAL PWM overflow interrupt</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-RTD200-MCAL-PWM-overflow-interrupt/m-p/2129352#M50625</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The settings interface is shown in the figure below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Chris_Tigger_0-1751895984019.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/346318iBBFEAC7210BE821D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Chris_Tigger_0-1751895984019.png" alt="Chris_Tigger_0-1751895984019.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 13:46:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-RTD200-MCAL-PWM-overflow-interrupt/m-p/2129352#M50625</guid>
      <dc:creator>Chris_Tigger</dc:creator>
      <dc:date>2025-07-07T13:46:39Z</dc:date>
    </item>
    <item>
      <title>回复： S32K148 RTD200 MCAL PWM overflow interrupt</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-RTD200-MCAL-PWM-overflow-interrupt/m-p/2131104#M50737</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/250352"&gt;@Chris_Tigger&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To enable the Time Overflow Interrupt, please follow these steps using the Peripheral Tool in ConfigTools:&lt;/P&gt;
&lt;P&gt;Configure the Interrupt in the Platform Driver (Interrupt Controller → PlatformIsrConfig):&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Add and enable the overflow interrupt. For example, for FTM4, use: FTM4_Ovf_Reload_IRQn&lt;/LI&gt;
&lt;LI&gt;Assign the Corresponding Interrupt Handler. Continuing with the FTM4 example, assign: FTM_4_OVF_RELOAD_ISR&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Set the Notification Function in the PWM Driver (PWMChannelConfigSet → PwmChannel):&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Assign the desired notification function.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;In Code:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Initialize the Platform Driver: Platform_Init().&lt;/LI&gt;
&lt;LI&gt;Enable PWM Signal Edge Notification: Pwm_EnableNotification(). Ensure the conditions shown in the image below are satisfied&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VaneB_0-1752084218809.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/346811iE9B1090CEC7A77B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VaneB_0-1752084218809.png" alt="VaneB_0-1752084218809.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Implement the Notification Function. This function will be called periodically by the configured PWM channel.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Regarding your second question. Yes, the interrupt names are predefined and cannot be customized. You can find all the relevant definitions in the S32K148_COMMON.h file. Additionally, for the interrupt handlers, most of them are already defined. For example, in the case of FTM in PWM mode, the handlers are located in the Ftm_Pwm_Ip_Irq.h file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 18:04:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-RTD200-MCAL-PWM-overflow-interrupt/m-p/2131104#M50737</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2025-07-09T18:04:38Z</dc:date>
    </item>
  </channel>
</rss>

