<?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: HCS12 Interrupt PORTJ in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-Interrupt-PORTJ/m-p/203331#M8232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;All pins in PORTJ share the same interrupt service routine. All interrupt sources in one SCI module (Tx Rx errors) share the same interrupt service routine.&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Nov 2008 15:28:06 GMT</pubDate>
    <dc:creator>Lundin</dc:creator>
    <dc:date>2008-11-19T15:28:06Z</dc:date>
    <item>
      <title>HCS12 Interrupt PORTJ</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-Interrupt-PORTJ/m-p/203330#M8231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have 2 sensors I'm monitoring as SPI on PORTJ.&amp;nbsp; Right now I'm using one interrupt to handle 2 inputs.&amp;nbsp; This is set up in isr_vectors.c as vector #24.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I have 2 separate interrupts for PORTJ, or do all inputs on PORTJ share the same interrupt?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I use one common interrupt for PORTJ and test the flags registers:&amp;nbsp; PIFJ_PIFj0 and PIFJ_PIFj1 to see if any input has occured.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For my SCI application, each have their own interrupt and that works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;J F Blahnik&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2008 08:31:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-Interrupt-PORTJ/m-p/203330#M8231</guid>
      <dc:creator>jimbjimb</dc:creator>
      <dc:date>2008-11-19T08:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: HCS12 Interrupt PORTJ</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-Interrupt-PORTJ/m-p/203331#M8232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;All pins in PORTJ share the same interrupt service routine. All interrupt sources in one SCI module (Tx Rx errors) share the same interrupt service routine.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2008 15:28:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/HCS12-Interrupt-PORTJ/m-p/203331#M8232</guid>
      <dc:creator>Lundin</dc:creator>
      <dc:date>2008-11-19T15:28:06Z</dc:date>
    </item>
  </channel>
</rss>

