<?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>Kinetis Software Development KitのトピックHow do I set up an event handler for FTM / PWM fault interrupts with SDK 1.3?</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-do-I-set-up-an-event-handler-for-FTM-PWM-fault-interrupts/m-p/467360#M3635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to migrate a project from a DSP&amp;nbsp; and CW / PE to a Kinetis KV series part using KDS and SDK.&amp;nbsp; In the original code I had an event handler for faults on the PWM / timer peripheral and I can't find anything in the SDK API (Driver or HAL) that supports this for the FTM peripheral.&amp;nbsp;&amp;nbsp; The only way I can see to implement this is a bunch of direct accesses to the FTM hardware registers which would defeat the whole purpose of the SDK.&amp;nbsp; Anyone have a better idea?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BTW, I'm also finding that the documentation for the SDK API is extremely inadequate (KSDK13APIRM) and the help function in KDS is even worse.&amp;nbsp; Is there any better documentation for the SDK API?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Dec 2015 14:17:26 GMT</pubDate>
    <dc:creator>lancefisher</dc:creator>
    <dc:date>2015-12-08T14:17:26Z</dc:date>
    <item>
      <title>How do I set up an event handler for FTM / PWM fault interrupts with SDK 1.3?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-do-I-set-up-an-event-handler-for-FTM-PWM-fault-interrupts/m-p/467360#M3635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to migrate a project from a DSP&amp;nbsp; and CW / PE to a Kinetis KV series part using KDS and SDK.&amp;nbsp; In the original code I had an event handler for faults on the PWM / timer peripheral and I can't find anything in the SDK API (Driver or HAL) that supports this for the FTM peripheral.&amp;nbsp;&amp;nbsp; The only way I can see to implement this is a bunch of direct accesses to the FTM hardware registers which would defeat the whole purpose of the SDK.&amp;nbsp; Anyone have a better idea?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BTW, I'm also finding that the documentation for the SDK API is extremely inadequate (KSDK13APIRM) and the help function in KDS is even worse.&amp;nbsp; Is there any better documentation for the SDK API?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2015 14:17:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-do-I-set-up-an-event-handler-for-FTM-PWM-fault-interrupts/m-p/467360#M3635</guid>
      <dc:creator>lancefisher</dc:creator>
      <dc:date>2015-12-08T14:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set up an event handler for FTM / PWM fault interrupts with SDK 1.3?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-do-I-set-up-an-event-handler-for-FTM-PWM-fault-interrupts/m-p/467361#M3636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,Lance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding your question, there is a DOC for the SDK1.3, pls read the "Kinetis SDK v.1.3 API Reference Manual.pdf ", located at:D:\Freescale\KSDK_1.3.0\doc&lt;/P&gt;&lt;P&gt;Regarding your question about the "an event handler for faults on the PWM / timer peripheral", in the SDK1.3 tools, there is not any event handler for FTM which is called in the ISR. The SDK1.3 define the void FTM_DRV_IRQHandler ( uint32_t instance ) function, as you know there is only one interrupt vector for each FTM module, you have to check the interrupt source and write corresponding code in the above function.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 08:12:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/How-do-I-set-up-an-event-handler-for-FTM-PWM-fault-interrupts/m-p/467361#M3636</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2015-12-09T08:12:24Z</dc:date>
    </item>
  </channel>
</rss>

