<?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 Microcontrollers中的主题 Re: Timer Interrupt, Interrupt Priority, I2C implementation</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Timer-Interrupt-Interrupt-Priority-I2C-implementation/m-p/547294#M33366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FTM, PIT,LPTMR even PDB can all generate interrupt continously for a specified interval of time, which one do you uses?&lt;/P&gt;&lt;P&gt;Regarding the interrupt priority, there is IPR register in core, pls refer to&amp;nbsp; 3.2.2 Nested Vectored Interrupt Controller (NVIC) Configuration in RM of K64, the lower the IRQx bits are, the Higher the interrupt priority is, for example IRQx=0 is the highest priority.&lt;/P&gt;&lt;P&gt;Regarding how to write register of K64, it is dependent on the tools especially the registers.h file, which define the register.&lt;/P&gt;&lt;P&gt;This is the code in KDS tools for KEA64 instaed of K64:&lt;/P&gt;&lt;P&gt;void kbi1_interruptInit(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; NVIC_SetPriority(25,0x3);&lt;BR /&gt;//&amp;nbsp;&amp;nbsp; &amp;nbsp;NVIC-&amp;gt;IPR6=0xC000; //set KBI1 interrupt priority&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; NVIC_EnableIRQ(25);&lt;BR /&gt;//&amp;nbsp;&amp;nbsp; &amp;nbsp;NVIC-&amp;gt;ICPR|=1&amp;lt;&amp;lt;25;&amp;nbsp;&amp;nbsp; //clear the pending register of interrupt source 25(KBI1)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;NVIC_ClearPendingIRQ(25);&lt;BR /&gt;//&amp;nbsp;&amp;nbsp; &amp;nbsp;NVIC-&amp;gt;ISER|=1&amp;lt;&amp;lt;25;&amp;nbsp; //set the interrupt source of KBI1&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; NVIC_EnableIRQ(25);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Regarding the I2C and UART code, I suggest you use SDK2.0, you can download the SDK2.0 from the website based on K64.&lt;/P&gt;&lt;P&gt;There are example.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/ksdk"&gt;http://www.nxp.com/ksdk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope it can help you&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>Thu, 25 Aug 2016 07:39:23 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2016-08-25T07:39:23Z</dc:date>
    <item>
      <title>Timer Interrupt, Interrupt Priority, I2C implementation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Timer-Interrupt-Interrupt-Priority-I2C-implementation/m-p/547293#M33365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using Keil IDE for&amp;nbsp; MK64FN11M0VLLl12. I have few questions related this issue&lt;/P&gt;&lt;P&gt;1.How to set up timer interrupt continously for a specified interval of time?&lt;/P&gt;&lt;P&gt;2.How to set&amp;nbsp; Interrupt Priority?&lt;/P&gt;&lt;P&gt;3.Can you please provide example codes for I2C(Master) and UART(Interrupt Based) implementation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 11:47:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Timer-Interrupt-Interrupt-Priority-I2C-implementation/m-p/547293#M33365</guid>
      <dc:creator>karthikpoojary</dc:creator>
      <dc:date>2016-08-22T11:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Interrupt, Interrupt Priority, I2C implementation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Timer-Interrupt-Interrupt-Priority-I2C-implementation/m-p/547294#M33366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FTM, PIT,LPTMR even PDB can all generate interrupt continously for a specified interval of time, which one do you uses?&lt;/P&gt;&lt;P&gt;Regarding the interrupt priority, there is IPR register in core, pls refer to&amp;nbsp; 3.2.2 Nested Vectored Interrupt Controller (NVIC) Configuration in RM of K64, the lower the IRQx bits are, the Higher the interrupt priority is, for example IRQx=0 is the highest priority.&lt;/P&gt;&lt;P&gt;Regarding how to write register of K64, it is dependent on the tools especially the registers.h file, which define the register.&lt;/P&gt;&lt;P&gt;This is the code in KDS tools for KEA64 instaed of K64:&lt;/P&gt;&lt;P&gt;void kbi1_interruptInit(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; NVIC_SetPriority(25,0x3);&lt;BR /&gt;//&amp;nbsp;&amp;nbsp; &amp;nbsp;NVIC-&amp;gt;IPR6=0xC000; //set KBI1 interrupt priority&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; NVIC_EnableIRQ(25);&lt;BR /&gt;//&amp;nbsp;&amp;nbsp; &amp;nbsp;NVIC-&amp;gt;ICPR|=1&amp;lt;&amp;lt;25;&amp;nbsp;&amp;nbsp; //clear the pending register of interrupt source 25(KBI1)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;NVIC_ClearPendingIRQ(25);&lt;BR /&gt;//&amp;nbsp;&amp;nbsp; &amp;nbsp;NVIC-&amp;gt;ISER|=1&amp;lt;&amp;lt;25;&amp;nbsp; //set the interrupt source of KBI1&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; NVIC_EnableIRQ(25);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Regarding the I2C and UART code, I suggest you use SDK2.0, you can download the SDK2.0 from the website based on K64.&lt;/P&gt;&lt;P&gt;There are example.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/ksdk"&gt;http://www.nxp.com/ksdk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope it can help you&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>Thu, 25 Aug 2016 07:39:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Timer-Interrupt-Interrupt-Priority-I2C-implementation/m-p/547294#M33366</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2016-08-25T07:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Interrupt, Interrupt Priority, I2C implementation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Timer-Interrupt-Interrupt-Priority-I2C-implementation/m-p/547295#M33367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiangjun&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried KSDK example programs but whenever I have tried to open the .uvmpw file I get the following error&amp;nbsp;&lt;/P&gt;&lt;P&gt;"The Project file has newer major version which is not compatible with this Program Version"&lt;/P&gt;&lt;P&gt;I have tried using both Keil Uvision 4 and Keil Uvision 5 but &amp;nbsp;I am getting the same results&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 10:26:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Timer-Interrupt-Interrupt-Priority-I2C-implementation/m-p/547295#M33367</guid>
      <dc:creator>karthikpoojary</dc:creator>
      <dc:date>2016-08-25T10:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Interrupt, Interrupt Priority, I2C implementation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Timer-Interrupt-Interrupt-Priority-I2C-implementation/m-p/547296#M33368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, kathik,&lt;/P&gt;&lt;P&gt;Regarding your issue to open project based on Keil tools, pls refer to the doc "Getting Started with Kinetis SDK(KSDK)v.2.0.pdf" located at:&lt;/P&gt;&lt;P&gt;C:\Freescale\SDK2.0_K64F\docs&lt;/P&gt;&lt;P&gt;it tells you how to open a project with Keil.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it can help you.&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>Fri, 26 Aug 2016 04:08:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Timer-Interrupt-Interrupt-Priority-I2C-implementation/m-p/547296#M33368</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2016-08-26T04:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Interrupt, Interrupt Priority, I2C implementation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Timer-Interrupt-Interrupt-Priority-I2C-implementation/m-p/547297#M33369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Issue was that Multi Project file is not comaptible with Uvision4 its only working with Uvision5&lt;/P&gt;&lt;P&gt;By default it was trying to open &amp;nbsp;in Uvision4.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 05:39:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Timer-Interrupt-Interrupt-Priority-I2C-implementation/m-p/547297#M33369</guid>
      <dc:creator>karthikpoojary</dc:creator>
      <dc:date>2016-08-26T05:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Interrupt, Interrupt Priority, I2C implementation</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Timer-Interrupt-Interrupt-Priority-I2C-implementation/m-p/547298#M33370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Karthik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you use KDS tools? I have not the license of keil tools, I am familair with keil tools either.&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>Fri, 26 Aug 2016 07:57:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Timer-Interrupt-Interrupt-Priority-I2C-implementation/m-p/547298#M33370</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2016-08-26T07:57:53Z</dc:date>
    </item>
  </channel>
</rss>

