<?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: Trigger interrupt via software in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trigger-interrupt-via-software/m-p/488422#M30093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 5pt; margin-bottom: 5pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;Yes, It is possible to do this on Kinetis, you have to write to NVIC's registers, in KDS IDE you can put a pending interrupt with the instruction NVIC_SetPendingIRQ(IRQn_Type IRQn) where IRQn is your Interrupt vector. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 5pt; margin-bottom: 5pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ISPR.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56214i5645F0D25410919B/image-size/large?v=v2&amp;amp;px=999" role="button" title="ISPR.jpg" alt="ISPR.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 5pt; margin-bottom: 5pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;This is specify in the ARM documentation (www.arm.com), you can check the Technical Reference Manual for Cortex-M4 or Cortex-M0+, I don’t know what device you are using.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 5pt; margin-bottom: 5pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;Note that as you are using a “NVIC set pending” there is not flag and you just have to clear the pending in the NVIC registers.&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 30 Apr 2016 00:20:45 GMT</pubDate>
    <dc:creator>isaacavila</dc:creator>
    <dc:date>2016-04-30T00:20:45Z</dc:date>
    <item>
      <title>Trigger interrupt via software</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trigger-interrupt-via-software/m-p/488421#M30092</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;&lt;/P&gt;&lt;P&gt;I am looking in to documentation and can not find how to: trigger interrupt via software. What I would like to achieve is trigger peripheral interrupt (like UART) in order to start execution interrupt service routine in way as standard hardware interupt triggered it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is is possible in kinetis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 14:13:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trigger-interrupt-via-software/m-p/488421#M30092</guid>
      <dc:creator>grzegorzkonopko</dc:creator>
      <dc:date>2016-04-29T14:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger interrupt via software</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trigger-interrupt-via-software/m-p/488422#M30093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 5pt; margin-bottom: 5pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;Yes, It is possible to do this on Kinetis, you have to write to NVIC's registers, in KDS IDE you can put a pending interrupt with the instruction NVIC_SetPendingIRQ(IRQn_Type IRQn) where IRQn is your Interrupt vector. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 5pt; margin-bottom: 5pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ISPR.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56214i5645F0D25410919B/image-size/large?v=v2&amp;amp;px=999" role="button" title="ISPR.jpg" alt="ISPR.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 5pt; margin-bottom: 5pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;This is specify in the ARM documentation (www.arm.com), you can check the Technical Reference Manual for Cortex-M4 or Cortex-M0+, I don’t know what device you are using.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 5pt; margin-bottom: 5pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif;"&gt;Note that as you are using a “NVIC set pending” there is not flag and you just have to clear the pending in the NVIC registers.&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Isaac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Apr 2016 00:20:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Trigger-interrupt-via-software/m-p/488422#M30093</guid>
      <dc:creator>isaacavila</dc:creator>
      <dc:date>2016-04-30T00:20:45Z</dc:date>
    </item>
  </channel>
</rss>

