<?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: KL03 PE LPTMR Hal Functions Commented Out? in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/KL03-PE-LPTMR-Hal-Functions-Commented-Out/m-p/428736#M2437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;A href="http://www.freescale.com/tools/software-and-tools/run-time-software/kinetis-software-and-tools/development-platforms-with-mbed/software-development-kit-for-kinetis-mcus:KINETIS-SDK?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1"&gt;KSDK software V1.3.0&lt;/A&gt; provides LPTMR example at below folder:&lt;/P&gt;&lt;P&gt;C:\Freescale\KSDK_1.3.0\examples\frdmkl03z\driver_examples\lptmr&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Nov 2015 03:21:30 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2015-11-26T03:21:30Z</dc:date>
    <item>
      <title>KL03 PE LPTMR Hal Functions Commented Out?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/KL03-PE-LPTMR-Hal-Functions-Commented-Out/m-p/428735#M2436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp; We are starting a project with the KL03 and are using the LPTMR.&amp;nbsp; I enable the LPTMR using PE LPTMR component and it never hits the callback function?&amp;nbsp; In inspecting other areas of the code generated from PE and I look at the fsl_lptmr_hal.c, fsl_lptmr_hal.h, fsl_lptmr_driver.c, fsl_lptmr_driver.h all the functions in these files are 'greyed' out?&amp;nbsp; They are #if with the FSL_FEATURE_SOC_LPTMR_COUNT which is defined in the MKL03Z4_features.h file which clearly shows the LPTMR as being a feature in this device but all the files are not finding the #define in the features.h file?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In MKL03Z4_features.h(referenced from fsl_device_registers.h)&lt;/P&gt;&lt;P&gt;/* @brief LPTMR availability on the SoC. */&lt;/P&gt;&lt;P&gt;#define FSL_FEATURE_SOC_LPTMR_COUNT (1)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the files referenced above have functions such as what is shown below greyed out because it apparently is not finding the definition of #define FSL_FEATURE_SOC_LPTMR_COUNT (1)??&lt;/P&gt;&lt;P&gt;/*FUNCTION**********************************************************************&lt;/P&gt;&lt;P&gt; *&lt;/P&gt;&lt;P&gt; * Function Name : LPTMR_DRV_Start&lt;/P&gt;&lt;P&gt; * Description&amp;nbsp;&amp;nbsp; : Start LPTMR counter&lt;/P&gt;&lt;P&gt; * This function will start LPTMR internal counter to count the time or pulse&lt;/P&gt;&lt;P&gt; *&lt;/P&gt;&lt;P&gt; *END**************************************************************************/&lt;/P&gt;&lt;P&gt;lptmr_status_t LPTMR_DRV_Start(uint32_t instance)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; assert(instance &amp;lt; LPTMR_INSTANCE_COUNT);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; assert(CLOCK_SYS_GetLptmrGateCmd(instance));&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LPTMR_Type * base = g_lptmrBase[instance];&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LPTMR_HAL_Enable(base);&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return kStatus_LPTMR_Success;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ultimately I am just trying to get the LPTMR running and have it go to either the Interrupt or the callback and have not been able to get either method to work...&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 09:12:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/KL03-PE-LPTMR-Hal-Functions-Commented-Out/m-p/428735#M2436</guid>
      <dc:creator>embeddedmasters</dc:creator>
      <dc:date>2015-11-20T09:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: KL03 PE LPTMR Hal Functions Commented Out?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/KL03-PE-LPTMR-Hal-Functions-Commented-Out/m-p/428736#M2437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;A href="http://www.freescale.com/tools/software-and-tools/run-time-software/kinetis-software-and-tools/development-platforms-with-mbed/software-development-kit-for-kinetis-mcus:KINETIS-SDK?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1"&gt;KSDK software V1.3.0&lt;/A&gt; provides LPTMR example at below folder:&lt;/P&gt;&lt;P&gt;C:\Freescale\KSDK_1.3.0\examples\frdmkl03z\driver_examples\lptmr&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 03:21:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/KL03-PE-LPTMR-Hal-Functions-Commented-Out/m-p/428736#M2437</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2015-11-26T03:21:30Z</dc:date>
    </item>
  </channel>
</rss>

