<?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のトピックRe: Clock Cofiguration for TIMER</title>
    <link>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624887#M253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can see all the numbers in my previous post:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/thread/434835#comment-853480" title="https://community.nxp.com/thread/434835#comment-853480"&gt;https://community.nxp.com/thread/434835#comment-853480&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Nov 2016 10:54:02 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2016-11-23T10:54:02Z</dc:date>
    <item>
      <title>Clock Cofiguration for TIMER</title>
      <link>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624870#M236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I am using the S32KXXX micro in my project . I want to use LPTMR module to produce delay in my application.&lt;/P&gt;&lt;P&gt;I have studied all LPTMR ,LPIT and FTM module of this controller .&lt;/P&gt;&lt;P&gt;I want to use MPTMR module to produce delay of 10 Milli-second.I want use crystal frequency to tick the my LPTMR.&lt;/P&gt;&lt;P&gt;My crystal frequency is 16 MHz .every thing is ok as for as concern of LPTR module .&lt;/P&gt;&lt;P&gt;I want help to configure my clock that is being used for My LPTMR module.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4-5 :TPS -&amp;gt;Timer Pin Select&lt;BR /&gt;Configures the input source to be used in Pulse Counter mode. TPS must be altered only when the&lt;BR /&gt;LPTMR is disabled. The input connections vary by device. See the chip configuration information about&lt;BR /&gt;connections to these inputs.&lt;BR /&gt;00b - Pulse counter input 0 is selected. -&amp;gt; SIRCDIV2_CLK&lt;BR /&gt;01b - Pulse counter input 1 is selected. -&amp;gt; LPO1K_CLK&lt;BR /&gt;10b - Pulse counter input 2 is selected.-&amp;gt;CLK32K&lt;BR /&gt;11b - Pulse counter input 3 is selected.-&amp;gt; any of the 7 clock option of PCC module.&lt;/P&gt;&lt;P&gt;i want to use "11" TPS value means any of the clock option from PCC module.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and also i want know of the role of SCG module for the configuration of clock for LPTMR as i am using crystal friquency(16 MHz) .&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me , i need your kind support .&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 18:10:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624870#M236</guid>
      <dc:creator>yashkumar</dc:creator>
      <dc:date>2016-09-16T18:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Cofiguration for LPTMR</title>
      <link>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624871#M237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please help on this ,if any body can. It is very urgent .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Sep 2016 04:41:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624871#M237</guid>
      <dc:creator>yashkumar</dc:creator>
      <dc:date>2016-09-17T04:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Cofiguration for LPTMR</title>
      <link>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624872#M238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this diagram from reference manual should help to set the clocks:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6117i79521FBBBB675C37/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Required clock must be initialized as needed in SCG module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 08:16:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624872#M238</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2016-09-19T08:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Cofiguration for LPTMR</title>
      <link>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624873#M239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 05:48:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624873#M239</guid>
      <dc:creator>yashkumar</dc:creator>
      <dc:date>2016-09-30T05:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Cofiguration for LPTMR</title>
      <link>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624874#M240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which module controls the interrupt , generated by LPTMR , LPIT and FTM module ,if these modules are working as interrupt source .For this i have studied the &lt;STRONG&gt;3.2 Nested Vectored Interrupt Controller (NVIC)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Configuration of reference manual ,&lt;/STRONG&gt; but here is on LPTMR module only for time&amp;nbsp;specific&amp;nbsp;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I want to know also for LPIT and FTM module. Also I have gone through the NVIC of cotex-M4 &amp;nbsp;on ARM site, but not found there specific to theses modules.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me on this&amp;nbsp; .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 08:25:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624874#M240</guid>
      <dc:creator>yashkumar</dc:creator>
      <dc:date>2016-09-30T08:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Cofiguration for LPTMR</title>
      <link>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624875#M241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you use S32 Design Studio? There's an example for LPIT interrupt:&lt;/P&gt;&lt;P&gt;c:\Freescale\S32_ARM_v1.2\S32DS\Examples\S32K144\hello_interrupts\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The project is attached for your reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2016 12:16:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624875#M241</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2016-10-03T12:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Cofiguration for LPTMR</title>
      <link>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624876#M242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks!,it was really helpful for me.&lt;/P&gt;&lt;P&gt;Could you please help me also ,how i can install&amp;nbsp;S32 Design Studio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 17:50:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624876#M242</guid>
      <dc:creator>yashkumar</dc:creator>
      <dc:date>2016-10-04T17:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Cofiguration for LPTMR</title>
      <link>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624877#M243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;open this page:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/files/software_development_tools/ide-debug/S32DS-ARM.html"&gt;http://www.nxp.com/files/software_development_tools/ide-debug/S32DS-ARM.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;log in and download the exe file (about 800MB). Run the file and follow the wizard.&lt;/P&gt;&lt;P&gt;Then you will need the license. You will receive it via email or you can open your account on nxp.com and here you can find it in “Software Licensing and Support” section.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Lukas&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 05:42:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624877#M243</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2016-10-05T05:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Cofiguration for TIMER</title>
      <link>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624878#M244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class=""&gt;Hi Lukas&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;I have used project "hello_interrupt" in Design studio. Now i am using IAR Embeded Work bench .I have created a new project and added the elf file for debugging purpose .&lt;/P&gt;&lt;P&gt;How i can get the the .exe or .hex or .s19 file , so that i can flash this in our micro S32K1xx .So that i can debug my code .&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 15:35:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624878#M244</guid>
      <dc:creator>yashkumar</dc:creator>
      <dc:date>2016-10-18T15:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Cofiguration for TIMER</title>
      <link>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624879#M245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elf file should be sufficient. It contains binary image and all debugging information in dwarf2 format. So, it is possible to use any debugger supporting dwarf2 for debugging.&lt;/P&gt;&lt;P&gt;Another option is to create new project in IAR, copy the C code from hello_interrupt and compile/debug the project directly in IAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 07:23:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624879#M245</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2016-10-19T07:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Cofiguration for TIMER</title>
      <link>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624880#M246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lukas,&lt;/P&gt;&lt;P&gt;Thanks , i have used above code it is working fine .I am trying to write the same code for LPIT channel 2 .&lt;/P&gt;&lt;P&gt;and i have attached the code with little bit modification for LPIT channel_2.&lt;/P&gt;&lt;P&gt;I want to 2 channel for producing one more interrupt for other ISR. but i am not getting my ISR being excuted .&lt;/P&gt;&lt;P&gt;Mi LPIT2_IRQ_handler() is not being executed .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 18:44:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624880#M246</guid>
      <dc:creator>yashkumar</dc:creator>
      <dc:date>2016-10-21T18:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Cofiguration for TIMER</title>
      <link>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624881#M247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;Sorry in above post i was unable to attach.So written below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;void init_IRQs (void) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;FSL_NVIC-&amp;gt;ICPR[1] = 1 &amp;lt;&amp;lt; (50% 32);&amp;nbsp; /* IRQ48-LPIT0 ch0: clr any pending IRQ*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;FSL_NVIC-&amp;gt;ISER[1] = 1 &amp;lt;&amp;lt; (50 % 32);&amp;nbsp; /* IRQ48-LPIT0 ch0: enable IRQ */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;FSL_NVIC-&amp;gt;IP[50] = 0xA;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* IRQ48-LPIT0 ch0: priority 10 of 0-15*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;void init_LPIT0 (void) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; PCC-&amp;gt;PCCn[PCC_LPIT0_INDEX] = PCC_PCCn_PCS(6);&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Clock Src = 6 (SPLL2_DIV2_CLK)*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; PCC-&amp;gt;PCCn[PCC_LPIT0_INDEX] |= PCC_PCCn_CGC_MASK; /* Enable clk to LPIT0 regs */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; LPIT0-&amp;gt;MCR = 0x00000001;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* DBG_EN-0: Timer chans stop in Debug mode */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* DOZE_EN=0: Timer chans are stopped in DOZE mode */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* SW_RST=0: SW reset does not reset timer chans, regs */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* M_CEN=1: enable module clk (allows writing other LPIT0 regs) */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; LPIT0-&amp;gt;MIER&amp;nbsp;&amp;nbsp; = 0x00000004;&amp;nbsp;&amp;nbsp; /*&amp;nbsp; nit TIE2=1: Timer Interrupt Enabled fot Chan 0 */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; /* Channel 2*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; LPIT0-&amp;gt;TVAL2&amp;nbsp; = 80000000;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Chan_2 Timeout period: 80M clocks */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; LPIT0-&amp;gt;TCTRL2 = 0x00000001; /* T_EN=1: Timer channel is enabled */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;int main(void) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; init_SOSC_8MHz();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Initialize system oscilator for 8 MHz xtal */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; init_SPLL_80MHz();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Initialize SPLL to 80 MHz with 8 MHz SOSC */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; NormalRUNmode_80MHz();&amp;nbsp;&amp;nbsp; /* Init clocks: 80 MHz SPLL &amp;amp; core, 40 MHz bus, 20 MHz flash */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; init_IRQs();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Enable desired interrupts and priorities */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; init_LPIT2();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Initialize PIT0 for 1 second timeout&amp;nbsp; */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; for (;;) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;void LPIT0_Ch2_IRQHandler (void) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp; LPIT0-&amp;gt;MSR |= LPIT_MSR_TIF2_MASK; /* Clear LPIT0 timer flag 0 */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12px;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 18:53:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624881#M247</guid>
      <dc:creator>yashkumar</dc:creator>
      <dc:date>2016-10-21T18:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Cofiguration for TIMER</title>
      <link>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624882#M248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just realized that all LPIT channels are assigned to single interrupt vector IRQ 48.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to configure:&lt;/P&gt;&lt;P&gt;void init_IRQs (void) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;FSL_NVIC-&amp;gt;ICPR[1] = 1 &amp;lt;&amp;lt; (48% 32);&amp;nbsp; /* IRQ48-LPIT0 ch0: clr any pending IRQ*/&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;FSL_NVIC-&amp;gt;ISER[1] = 1 &amp;lt;&amp;lt; (48 % 32);&amp;nbsp; /* IRQ48-LPIT0 ch0: enable IRQ */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;FSL_NVIC-&amp;gt;IP[48] = 0xA;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* IRQ48-LPIT0 ch0: priority 10 of 0-15*/&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then use LPIT0_Ch0_IRQHandler. At the beggining of handler, check the MSR register to see which interrupt flag is set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like the documentation needs to be updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 08:17:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624882#M248</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2016-10-24T08:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Cofiguration for TIMER</title>
      <link>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624883#M249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi Lukas,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thanks!,My issue &amp;nbsp;already resolved and &amp;nbsp;yes after long debugging and some code implementation &amp;nbsp;, i have also &amp;nbsp;found for every channel there is &lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;single interrupt vector IR.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 08:53:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624883#M249</guid>
      <dc:creator>yashkumar</dc:creator>
      <dc:date>2016-10-24T08:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Cofiguration for TIMER</title>
      <link>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624884#M250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi Lukas,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I am getting strange behavior in my FTM module so I have one question what is clock&amp;nbsp;frequency going to the CORE_CLK in above example hello-Interrupt code ( attached&amp;nbsp;&lt;SPAN&gt;hello-Interrupt.zip). and what is Crystal value used for this.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Please help me on that , so urgent .&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 08:03:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624884#M250</guid>
      <dc:creator>yashkumar</dc:creator>
      <dc:date>2016-11-22T08:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Cofiguration for TIMER</title>
      <link>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624885#M251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see in the example:&lt;/P&gt;&lt;P&gt;&amp;nbsp; init_SOSC_8MHz();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Initialize system oscilator for 8 MHz xtal */&lt;BR /&gt;&amp;nbsp; init_SPLL_80MHz();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Initialize SPLL to 80 MHz with 8 MHz SOSC */&lt;BR /&gt;&amp;nbsp; NormalRUNmode_80MHz();&amp;nbsp;&amp;nbsp; /* Init clocks: 80 MHz SPLL &amp;amp; core, 40 MHz bus, 20 MHz flash */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the CORE_CLK should be 80MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 08:32:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624885#M251</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2016-11-22T08:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Cofiguration for TIMER</title>
      <link>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624886#M252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;Hi Lukas,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;I am getting strange behavior in my FTM module so I have one question what is clock&amp;nbsp;frequency going to the CORE_CLK in above example hello-Interrupt code ( attached&amp;nbsp;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;hello-Interrupt.zip). and what is Crystal value used for this.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;i am taking all the function for clock setting same as given in&amp;nbsp;&lt;SPAN&gt;hello-Interrupt example .&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; background-color: #ffffff; color: #51626f; font-weight: inherit;"&gt;Please help me on that , so urgent .&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 05:00:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624886#M252</guid>
      <dc:creator>shaileshagrahar</dc:creator>
      <dc:date>2016-11-23T05:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Clock Cofiguration for TIMER</title>
      <link>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624887#M253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can see all the numbers in my previous post:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/thread/434835#comment-853480" title="https://community.nxp.com/thread/434835#comment-853480"&gt;https://community.nxp.com/thread/434835#comment-853480&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 10:54:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Clock-Cofiguration-for-TIMER/m-p/624887#M253</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2016-11-23T10:54:02Z</dc:date>
    </item>
  </channel>
</rss>

