<?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のトピックinterrupt priority</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/interrupt-priority/m-p/378218#M904</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using KDS 1.1.1 and KSDK 1.0.0. All updated.&lt;/P&gt;&lt;P&gt;I'm creating a project using Processor Expert, but I can't find any placeto change interrupt priority.&lt;/P&gt;&lt;P&gt;It' quite important because I need to read a I2C device in a isr (from the PIT) but by default the PIT-isr&amp;nbsp; and the I2C isr (that is used to send/receive bytes) have the same priority, so the I2C-isr is never called when the program is inside the PIT-isr.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So: there is a way to change the interrutp priority?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank Bye&lt;/P&gt;&lt;P&gt;Giacomo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Nov 2014 19:53:59 GMT</pubDate>
    <dc:creator>giacomopetrini</dc:creator>
    <dc:date>2014-11-04T19:53:59Z</dc:date>
    <item>
      <title>interrupt priority</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/interrupt-priority/m-p/378218#M904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using KDS 1.1.1 and KSDK 1.0.0. All updated.&lt;/P&gt;&lt;P&gt;I'm creating a project using Processor Expert, but I can't find any placeto change interrupt priority.&lt;/P&gt;&lt;P&gt;It' quite important because I need to read a I2C device in a isr (from the PIT) but by default the PIT-isr&amp;nbsp; and the I2C isr (that is used to send/receive bytes) have the same priority, so the I2C-isr is never called when the program is inside the PIT-isr.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So: there is a way to change the interrutp priority?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank Bye&lt;/P&gt;&lt;P&gt;Giacomo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 19:53:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/interrupt-priority/m-p/378218#M904</guid>
      <dc:creator>giacomopetrini</dc:creator>
      <dc:date>2014-11-04T19:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: interrupt priority</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/interrupt-priority/m-p/378219#M905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The KSDK comes bundled with the CMSIS core functions. You can use the 'NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)' function to set the priority of each interrupt. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_14152125947931249 jive_text_macro jive_macro_code" jivemacro_uid="_14152125947931249" modifiedtitle="true"&gt;
&lt;P&gt;NVIC_SetPriority(PIT0_IRQn, 1);&lt;/P&gt;
&lt;P&gt;NVIC_SetPriority(I2C0_IRQn, 0);&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you have any trouble implementing the interrupt priorities this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martyn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 18:44:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/interrupt-priority/m-p/378219#M905</guid>
      <dc:creator>martynhunt</dc:creator>
      <dc:date>2014-11-05T18:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: interrupt priority</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/interrupt-priority/m-p/378220#M906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;After posting I figured it out. Too bad it can't be done automatically in PE...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye Giacomo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 08:10:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/interrupt-priority/m-p/378220#M906</guid>
      <dc:creator>giacomopetrini</dc:creator>
      <dc:date>2014-11-06T08:10:43Z</dc:date>
    </item>
  </channel>
</rss>

