<?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>MQX Software SolutionsのトピックHow to generate software interrupts and what about CMSIS?</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-generate-software-interrupts-and-what-about-CMSIS/m-p/193426#M3923</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I need to generate software interrupts and I'm using the K60 twr board.&lt;/P&gt;&lt;P&gt;I have previously done like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;#include "MK60N512MD100.h"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;#include "core_cm4.h"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;NVIC_EnableIRQ((IRQn_Type) 94); //Enable Software interrupts&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;NVIC-&amp;gt;STIR = 94; //Genarate the interrupt.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I do this when using MQX?, the problem is that the include files conflicts with the MQX libraries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Dec 2011 17:40:21 GMT</pubDate>
    <dc:creator>zeal</dc:creator>
    <dc:date>2011-12-30T17:40:21Z</dc:date>
    <item>
      <title>How to generate software interrupts and what about CMSIS?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-generate-software-interrupts-and-what-about-CMSIS/m-p/193426#M3923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I need to generate software interrupts and I'm using the K60 twr board.&lt;/P&gt;&lt;P&gt;I have previously done like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;#include "MK60N512MD100.h"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#333333"&gt;#include "core_cm4.h"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;NVIC_EnableIRQ((IRQn_Type) 94); //Enable Software interrupts&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#333333"&gt;NVIC-&amp;gt;STIR = 94; //Genarate the interrupt.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I do this when using MQX?, the problem is that the include files conflicts with the MQX libraries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2011 17:40:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-generate-software-interrupts-and-what-about-CMSIS/m-p/193426#M3923</guid>
      <dc:creator>zeal</dc:creator>
      <dc:date>2011-12-30T17:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate software interrupts and what about CMSIS?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-generate-software-interrupts-and-what-about-CMSIS/m-p/193427#M3924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi zeal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#include &amp;lt;mqx.h&amp;gt;&lt;BR /&gt;#include &amp;lt;bsp.h&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;those 2 headers you have to include for MQX&amp;nbsp; (check examples) then board header (MK60DZ10.h) is included too.&lt;/P&gt;&lt;P&gt;Use bsp_int_init instead of your function NVIC_Enable_IRQ.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MartinK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2012 17:10:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-generate-software-interrupts-and-what-about-CMSIS/m-p/193427#M3924</guid>
      <dc:creator>c0170</dc:creator>
      <dc:date>2012-01-02T17:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate software interrupts and what about CMSIS?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-generate-software-interrupts-and-what-about-CMSIS/m-p/193428#M3925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Kojto, I got it to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#include "mqx.h"&lt;/P&gt;&lt;P&gt;#include "bsp.h"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;_int_install_isr(110, latency_isr, ptr);&lt;BR /&gt;_bsp_int_init(110, 64, 0, TRUE);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then NVICSTIR = 94; generates the interrupt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2012 19:30:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-generate-software-interrupts-and-what-about-CMSIS/m-p/193428#M3925</guid>
      <dc:creator>zeal</dc:creator>
      <dc:date>2012-01-02T19:30:35Z</dc:date>
    </item>
  </channel>
</rss>

