<?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>Digital Signal ControllersのトピックRe: two TMRs and two TMR interrupt configuration</title>
    <link>https://community.nxp.com/t5/Digital-Signal-Controllers/two-TMRs-and-two-TMR-interrupt-configuration/m-p/1368218#M2320</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I suppose that your scheme is okay, but you have to add the #pragma interrupt on at the beginning of the ISR, and #pragma interrupt off at the end of ISR for each ISR function.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;#pragma interrupt on&lt;BR /&gt;void MC56F827xx_ISR_SCI1_Transmitter(void)&lt;BR /&gt;{&lt;BR /&gt;if(QSCI1_STAT&amp;amp;0x8000)&lt;BR /&gt;{&lt;BR /&gt;QSCI1_DATA='C';&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;#pragma interrupt off&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Nov 2021 05:37:23 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2021-11-09T05:37:23Z</dc:date>
    <item>
      <title>two TMRs and two TMR interrupt configuration</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/two-TMRs-and-two-TMR-interrupt-configuration/m-p/1368113#M2316</link>
      <description>&lt;P&gt;Dear NXP expert,&lt;/P&gt;&lt;P&gt;I set TMR1 20kHz and enable the TMR1 interrupt, and&amp;nbsp;TMR1 2kHz and enable the TMR2 interrupt. Both TMR1 and TMR2 interrupt, the ADC will be triggered, at the end of ADC sample, ADC ISR will run. is it OK about this configuration?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 02:06:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/two-TMRs-and-two-TMR-interrupt-configuration/m-p/1368113#M2316</guid>
      <dc:creator>terrybogard</dc:creator>
      <dc:date>2021-11-09T02:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: two TMRs and two TMR interrupt configuration</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/two-TMRs-and-two-TMR-interrupt-configuration/m-p/1368218#M2320</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I suppose that your scheme is okay, but you have to add the #pragma interrupt on at the beginning of the ISR, and #pragma interrupt off at the end of ISR for each ISR function.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;#pragma interrupt on&lt;BR /&gt;void MC56F827xx_ISR_SCI1_Transmitter(void)&lt;BR /&gt;{&lt;BR /&gt;if(QSCI1_STAT&amp;amp;0x8000)&lt;BR /&gt;{&lt;BR /&gt;QSCI1_DATA='C';&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;#pragma interrupt off&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 05:37:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/two-TMRs-and-two-TMR-interrupt-configuration/m-p/1368218#M2320</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2021-11-09T05:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: two TMRs and two TMR interrupt configuration</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/two-TMRs-and-two-TMR-interrupt-configuration/m-p/1368224#M2322</link>
      <description>&lt;P&gt;xiangjun,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#pragma is necessary? and what's the reason about that? thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 05:45:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/two-TMRs-and-two-TMR-interrupt-configuration/m-p/1368224#M2322</guid>
      <dc:creator>terrybogard</dc:creator>
      <dc:date>2021-11-09T05:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: two TMRs and two TMR interrupt configuration</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/two-TMRs-and-two-TMR-interrupt-configuration/m-p/1368271#M2323</link>
      <description>&lt;P&gt;Hi, Terry,&lt;/P&gt;
&lt;P&gt;using "#pragma interrupt on" tells the compiler to generate "rti" rather than "rts"&amp;nbsp; at the end of function code. The "rti" is return from ISR. The&amp;nbsp; "rts" is return from general api function.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 07:01:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/two-TMRs-and-two-TMR-interrupt-configuration/m-p/1368271#M2323</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2021-11-09T07:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: two TMRs and two TMR interrupt configuration</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/two-TMRs-and-two-TMR-interrupt-configuration/m-p/1382528#M2344</link>
      <description>&lt;P&gt;Hi xiangjun,&lt;/P&gt;&lt;P&gt;if ISR return RTS, what will happen? MCU will do what difference about RTI and RTS?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 09:12:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/two-TMRs-and-two-TMR-interrupt-configuration/m-p/1382528#M2344</guid>
      <dc:creator>terrybogard</dc:creator>
      <dc:date>2021-12-07T09:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: two TMRs and two TMR interrupt configuration</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/two-TMRs-and-two-TMR-interrupt-configuration/m-p/1382983#M2345</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As you know that the ISR uses rti, general subroutine uses rts. The RTI will pop both PC and SR(status register), but the RTS just will pop PC automatically.&lt;/P&gt;
&lt;P&gt;When the DSC enters ISR, it push both PC and SR automatically, so when exits ISR, it must pop both PC and SR using rti.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 02:01:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/two-TMRs-and-two-TMR-interrupt-configuration/m-p/1382983#M2345</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2021-12-08T02:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: two TMRs and two TMR interrupt configuration</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/two-TMRs-and-two-TMR-interrupt-configuration/m-p/1396353#M2371</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;A href="https://sonic-breakfast-menu.online/sonic-allergen-menu/" target="_blank" rel="noopener"&gt;Sonic Allergen Menu&lt;/A&gt;&lt;/STRONG&gt; – This information doesn’t identify all food ingredients. It may use generalized terms that may not sufficiently inform a person of all food items that may produce an allergic reaction in some people.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jan 2022 06:14:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/two-TMRs-and-two-TMR-interrupt-configuration/m-p/1396353#M2371</guid>
      <dc:creator>cotaxak207</dc:creator>
      <dc:date>2022-01-08T06:14:31Z</dc:date>
    </item>
  </channel>
</rss>

