<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックJet Another Uart Problem (JAUP)</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Jet-Another-Uart-Problem-JAUP/m-p/183771#M7612</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using internitche OS on M52235EVB&amp;nbsp; and still have lot of uart problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I remake iuart.c to support rs485&lt;/P&gt;&lt;P&gt;2. i am using uart0 and uart1 only but after heavy load (stress test on uart0) i got interrupt on UART2 if using both uarts at same time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. UART2 interrupts are disabled all time and MCF_INTC_IMRL_INT_MASK15 is allways high, but when interrupts starts running interrupts can not be turned off and slow down whole processor by huge factor and evetualy hangs. Interrupt flag remain disabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why do i get unstoppable uart interrupts whit no flags on uart2?&lt;/P&gt;&lt;P&gt;- this interrupt crash gets hooked just after mcf5xxx_irq_enable() in main, (thus there is no reason for memory leaks in my part of code)&amp;nbsp;&lt;/P&gt;&lt;P&gt;- there is communication on uart1 during power on becuse EVB works like slave&lt;/P&gt;&lt;P&gt;- if there is no communication on uart1 there is no problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 May 2009 20:21:32 GMT</pubDate>
    <dc:creator>ralu</dc:creator>
    <dc:date>2009-05-22T20:21:32Z</dc:date>
    <item>
      <title>Jet Another Uart Problem (JAUP)</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Jet-Another-Uart-Problem-JAUP/m-p/183771#M7612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using internitche OS on M52235EVB&amp;nbsp; and still have lot of uart problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I remake iuart.c to support rs485&lt;/P&gt;&lt;P&gt;2. i am using uart0 and uart1 only but after heavy load (stress test on uart0) i got interrupt on UART2 if using both uarts at same time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. UART2 interrupts are disabled all time and MCF_INTC_IMRL_INT_MASK15 is allways high, but when interrupts starts running interrupts can not be turned off and slow down whole processor by huge factor and evetualy hangs. Interrupt flag remain disabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why do i get unstoppable uart interrupts whit no flags on uart2?&lt;/P&gt;&lt;P&gt;- this interrupt crash gets hooked just after mcf5xxx_irq_enable() in main, (thus there is no reason for memory leaks in my part of code)&amp;nbsp;&lt;/P&gt;&lt;P&gt;- there is communication on uart1 during power on becuse EVB works like slave&lt;/P&gt;&lt;P&gt;- if there is no communication on uart1 there is no problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2009 20:21:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Jet-Another-Uart-Problem-JAUP/m-p/183771#M7612</guid>
      <dc:creator>ralu</dc:creator>
      <dc:date>2009-05-22T20:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Jet Another Uart Problem (JAUP)</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Jet-Another-Uart-Problem-JAUP/m-p/183772#M7613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just can not beleave!!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there are both uart0 and uart1 interrupts at same time uart2 get called (i am dead serous as far as I can see)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so this trick save me weeks of debugging and weard baehavour!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;
__interrupt__  voiduart2_isr(void){    if(MCF_INTC0_IPRL&amp;amp;MCF_INTC_IPRL_INT13)     uart_isr(0);    if(MCF_INTC0_IPRL&amp;amp;MCF_INTC_IPRL_INT14)     uart_isr(1);    if(MCF_INTC0_IPRL&amp;amp;MCF_INTC_IPRL_INT15)     uart_isr(2);}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:34:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Jet-Another-Uart-Problem-JAUP/m-p/183772#M7613</guid>
      <dc:creator>ralu</dc:creator>
      <dc:date>2020-10-29T09:34:38Z</dc:date>
    </item>
  </channel>
</rss>

