<?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: Interrupts triggering without being enabled? in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Interrupts-triggering-without-being-enabled/m-p/453760#M4609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In default , all of the interrupt are disable , have you disable or enable them by hand ?&lt;/P&gt;&lt;P&gt;Please show your code about how to initialize the UART and how to disable or enable them .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Oct 2015 03:13:49 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2015-10-15T03:13:49Z</dc:date>
    <item>
      <title>Interrupts triggering without being enabled?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Interrupts-triggering-without-being-enabled/m-p/453759#M4608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After my previous question, I managed to access and view the NVIC register and unfortunately the rogue interrupts were not enabled, so I have no idea why/how their service routines are being accessed.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="86439_86439.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120697i53F78AD4B1CEE023/image-size/large?v=v2&amp;amp;px=999" role="button" title="86439_86439.png" alt="86439_86439.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="NVICError2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22193i445466069FBC92FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="NVICError2.png" alt="NVICError2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;screen shot showing that TSI0_IRQHandler was called and, since undefined, went to DefaultISR, which endlessly loops.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="86415_86415.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120698iB7A63D67B02C4A90/image-size/large?v=v2&amp;amp;px=999" role="button" title="86415_86415.png" alt="86415_86415.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="NVICError1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22061iDE1CB18FB4397B0B/image-size/large?v=v2&amp;amp;px=999" role="button" title="NVICError1.png" alt="NVICError1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Highlighted: TSI0 interrupt is disabled, so should not be firing.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;USB0 and UART1 have also been firing, though those are also disabled.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any insight into what might be causing this would be appreciated!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Rael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 10:11:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Interrupts-triggering-without-being-enabled/m-p/453759#M4608</guid>
      <dc:creator>raels-r</dc:creator>
      <dc:date>2015-10-12T10:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupts triggering without being enabled?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Interrupts-triggering-without-being-enabled/m-p/453760#M4609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In default , all of the interrupt are disable , have you disable or enable them by hand ?&lt;/P&gt;&lt;P&gt;Please show your code about how to initialize the UART and how to disable or enable them .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 03:13:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Interrupts-triggering-without-being-enabled/m-p/453760#M4609</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-10-15T03:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupts triggering without being enabled?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Interrupts-triggering-without-being-enabled/m-p/453761#M4610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The interrupts are set using:&lt;/P&gt;&lt;P&gt;NVIC_ClearPendingIRQ(irq);&lt;/P&gt;&lt;P&gt;NVIC_EnableIRQ(irq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where irq is the enumerated irqn's defined in MKL25Z4.h rev2.5 ie/ "UART0_IRQn"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I said, the registers suggest that none of the interrupts are enabled (their enable bits in NVIC are 0 when I checked in debugger).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no code to initialise UART_1 as it is meant to be disabled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 10:28:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Interrupts-triggering-without-being-enabled/m-p/453761#M4610</guid>
      <dc:creator>raels-r</dc:creator>
      <dc:date>2015-10-19T10:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupts triggering without being enabled?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Interrupts-triggering-without-being-enabled/m-p/453762#M4611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we&amp;nbsp; not enable the interrupt , or&amp;nbsp; some incorrect operation ,&amp;nbsp; the interrupt can not occur in normal.&lt;/P&gt;&lt;P&gt;So if you are inconvenient for show your code , you can debug step by step to check when the interrupt bit be set .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it the helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 02:08:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Interrupts-triggering-without-being-enabled/m-p/453762#M4611</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-10-20T02:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupts triggering without being enabled?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Interrupts-triggering-without-being-enabled/m-p/453763#M4612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;pls check the xPSR register in the debugger, the low 9 bits of xPSR register&amp;nbsp; points to the interrupt vector source. If the vector source is 3(ARM core hard fault), it is a bit complicated, because many causes can lead to the hard fault, for example, you select wrong chip in your project, you define a pointer without initialization, the pointer points to zero, which is flash address.... If the vector source is not 3, it is easy, you can get the vector source.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26930i7DE5CBD4682037BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2015 08:39:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Interrupts-triggering-without-being-enabled/m-p/453763#M4612</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-10-21T08:39:16Z</dc:date>
    </item>
  </channel>
</rss>

