<?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>S12 / MagniV MicrocontrollersのトピックRe: High speed SCI</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/High-speed-SCI/m-p/790850#M15599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aaron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you share your project?&lt;/P&gt;&lt;P&gt;Did you see any errors like overrun?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The simple SCI example code can be useful (attached).&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Oct 2018 13:36:46 GMT</pubDate>
    <dc:creator>dianabatrlova</dc:creator>
    <dc:date>2018-10-15T13:36:46Z</dc:date>
    <item>
      <title>High speed SCI</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/High-speed-SCI/m-p/790849#M15598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #f5f5f5; border: 0px; font-weight: inherit; font-size: small;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #f5f5f5; border: 0px; font-weight: inherit; font-size: small;"&gt;We are&amp;nbsp;using a S12ZVCA with the 12MHz external crystal. I need to have a 250 kbps&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #f5f5f5; border: 0px; font-weight: inherit; font-size: small;"&gt;&amp;nbsp;baud rate on SCI.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #f5f5f5; border: 0px; font-weight: inherit; font-size: small;"&gt;I have try to receive 4 bytes, but only receive the 1st bytes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #f5f5f5; border: 0px; font-weight: inherit; font-size: small;"&gt;Processor Expert setting as follow:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/74581iA487C9768847CDCB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/74649i777A8678F8D08885/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #f5f5f5; border: 0px; font-weight: inherit; font-size: small;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/74650iDCC44BB46785D1C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #f5f5f5; border: 0px; font-weight: inherit; font-size: small;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #51626f; background-color: #f5f5f5; border: 0px; font-weight: inherit; font-size: small;"&gt;void main(void){&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;............&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;i=0;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;while(i&amp;lt;bLen)&amp;nbsp;{&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;RxFlag = AS1_RecvChar(&amp;amp;ReceiveChar);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(RxFlag != ERR_RXEMPTY)&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;bBuf[i++] = ReceiveChar;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;............&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;byte AS1_RecvChar(AS1_TComData *Chr){&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;byte Result = ERR_OK; /* Return error code */&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;byte StatReg = SCI1SR1; /* Read status register */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (StatReg &amp;amp; SCI1SR1_IDLE_MASK) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(void) SCI1DRL; /* Dummy read of the SCI1DRL to clear the flag*/&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SerFlag |= IDLE_ERR;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (StatReg &amp;amp; (SCI1SR1_OR_MASK|SCI1SR1_NF_MASK|SCI1SR1_FE_MASK|SCI1SR1_PF_MASK)) { /* Is any error flag set? */&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Result = ERR_COMMON; /* If yes then set common error value */&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if ((StatReg &amp;amp; SCI1SR1_RDRF_MASK) == 0U) { /* Is the reciver empty and no error is set? */&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return ERR_RXEMPTY; /* If yes then error */&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} else {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/* Else branch due to MISRA compliance */&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*Chr = SCI1DRL; /* Read data from the receiver */&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return Result; /* Return error code */&lt;BR /&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Do you have any recommend?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Oct 2018 07:30:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/High-speed-SCI/m-p/790849#M15598</guid>
      <dc:creator>aaronlee</dc:creator>
      <dc:date>2018-10-13T07:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: High speed SCI</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/High-speed-SCI/m-p/790850#M15599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aaron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you share your project?&lt;/P&gt;&lt;P&gt;Did you see any errors like overrun?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The simple SCI example code can be useful (attached).&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2018 13:36:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/High-speed-SCI/m-p/790850#M15599</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2018-10-15T13:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: High speed SCI</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/High-speed-SCI/m-p/790851#M15600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My project as attachment.&lt;/P&gt;&lt;P&gt;SCI baud rate is 250,000bps&lt;/P&gt;&lt;P&gt;The error as following:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;if (StatReg &amp;amp; (SCI1SR1_OR_MASK|SCI1SR1_NF_MASK|SCI1SR1_FE_MASK|SCI1SR1_PF_MASK)) { /* Is any error flag set? */&lt;BR /&gt; Result = ERR_COMMON; /* If yes then set common error value */&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;StatReg = 232 when receive the CH2(blue). Sometime read 2 bytes&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/74795i5782FFABB46AE3D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.jpg" alt="pastedImage_3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;Yellow: Send command from S12ZVCA_SCI_TX to bq76PL455A_RX (Data: 0x.......81 00 51 00 15 AC)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;Blue: Feedback from&amp;nbsp;&lt;SPAN&gt;bq76PL455A to S12ZVCA (Data: 0x00 80 01 A0)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;&lt;SPAN&gt;I have been try using PC to instead of&amp;nbsp;bq76PL455A. The S12ZVCA can transmit command to PC and receive PC feedback. The different is PC take a longer&amp;nbsp;time (&amp;gt;1s)&amp;nbsp;&lt;BR /&gt;from S12ZVCA&amp;nbsp;transmitted&amp;nbsp;command(Yellow) to starting receive&amp;nbsp;feedback(Blue).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;&lt;SPAN&gt;Do you have any recommend?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;&lt;SPAN&gt;Aaron&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2018 17:25:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/High-speed-SCI/m-p/790851#M15600</guid>
      <dc:creator>aaronlee</dc:creator>
      <dc:date>2018-10-15T17:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: High speed SCI</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/High-speed-SCI/m-p/790852#M15601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;Aaron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the value of the SCI1SR1 register is 232 it means the overrun occurred.&lt;/P&gt;&lt;P&gt;When Rx buffer is not empty (not read) and further data are received the overrun flag is set. That’s why the data are lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See chapter "14.3.2.7 SCI Status Register 1 (SCISR1)":&lt;/P&gt;&lt;P&gt;Overrun Flag — OR is set when software fails to read the SCI data register before the receive shift register receives the&lt;BR /&gt;next frame. The OR bit is set immediately after the stop bit has been completely received for the second frame. The data in the shift register is lost, but the data already in the SCI data registers are not affected. Clear OR by reading SCI status register 1 (SCISR1) with OR set and then reading SCI data register low (SCIDRL).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your bus clock frequency is 6.25 MHz. So, increase the bus clock frequency to maximum - 32MHz can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if it helped you.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2018 14:01:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/High-speed-SCI/m-p/790852#M15601</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2018-10-16T14:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: High speed SCI</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/High-speed-SCI/m-p/790853#M15602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The overrun issue is resolved by 32MHz bus clock. Thank you.&lt;/P&gt;&lt;P&gt;But the next issue is program dead-loop in ISR(AS1_Interrupt).&lt;/P&gt;&lt;P&gt;We use DEBUG step by step. And we can see dead-loop at "main.c line 300"&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;main.c&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;line 300: nSent = WaitRespFrame(bFrame, 37, 503);&amp;nbsp; &amp;nbsp; &amp;nbsp; // Call pl455.c&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Press suspend for check the SCI1 registers&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="SCI_250kbps_24_.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/75757iE06696A706C53049/image-size/large?v=v2&amp;amp;px=999" role="button" title="SCI_250kbps_24_.png" alt="SCI_250kbps_24_.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We setting BREAKPOINT to "pl455.c line 341 &amp;amp; 345". Then run it. bBuf can received 37 bytes data.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;pl455.c&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;line 341: AS1_RecvBlock(bBuf, (word)bLen. &amp;amp;wRxLen);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&amp;nbsp; Break Point&lt;/P&gt;&lt;P&gt;line 345: bRxDataLen = bBuf[0];&amp;nbsp; &amp;nbsp;&lt;SPAN style="background-color: #f6f6f6;"&gt;//&amp;nbsp; Break Point&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="SCI_250kbps_21_.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/75727i0BA759D42B060C31/image-size/large?v=v2&amp;amp;px=999" role="button" title="SCI_250kbps_21_.png" alt="SCI_250kbps_21_.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We setting BREAKPOINT to "pl455.c line 345". Then run it. Program can not stop at BREAKPOINT.&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;pl455.c&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;line 345: bRxDataLen = bBuf[0];&amp;nbsp; &amp;nbsp;&lt;SPAN style="background-color: #f6f6f6;"&gt;//&amp;nbsp; Break Point &lt;SPAN style="color: #ff0000;"&gt;(Can not stop)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="SCI_250kbps_22_.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/75767i8251B5A6C6D5F37C/image-size/large?v=v2&amp;amp;px=999" role="button" title="SCI_250kbps_22_.png" alt="SCI_250kbps_22_.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to stop ISR(AS1_Interrupt) and return back?&lt;/P&gt;&lt;P&gt;Please see&amp;nbsp;attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 10:17:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/High-speed-SCI/m-p/790853#M15602</guid>
      <dc:creator>aaronlee</dc:creator>
      <dc:date>2018-10-17T10:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: High speed SCI</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/High-speed-SCI/m-p/790854#M15603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi Diana,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;We are adding the mark of code. It can resolve my issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/76282i61518070798D7DE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/76323i24624E64883FDDA3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Why the &lt;STRONG&gt;&lt;EM&gt;idle interrupt request(SCI)&lt;/EM&gt;&lt;/STRONG&gt; trigger frequently?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;What&amp;nbsp;situation were trigger&amp;nbsp;this ilde&amp;nbsp;IRQ ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Aaron&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 22:54:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/High-speed-SCI/m-p/790854#M15603</guid>
      <dc:creator>aaronlee</dc:creator>
      <dc:date>2018-10-19T22:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: High speed SCI</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/High-speed-SCI/m-p/790855#M15604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aaron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm glad you solved your issue.&lt;/P&gt;&lt;P&gt;IDLE interrupt indicates that receiver input has become idle.&lt;/P&gt;&lt;P&gt;You can refer to "14.5.3.1.5 IDLE Description"&amp;nbsp; and "14.3.2.7 SCI Status Register 1 (SCISR1)" in the reference manual.&lt;/P&gt;&lt;P&gt;"The IDLE interrupt is set when 10 consecutive logic 1s (if M = 0) or 11 consecutive logic 1s (if M = 1)&lt;BR /&gt;appear on the receiver input. Once the IDLE is cleared, a valid frame must again set the RDRF flag before&lt;BR /&gt;an idle condition can set the IDLE flag. Clear IDLE by reading SCI status register 1 (SCISR1) with IDLE&lt;BR /&gt;set and then reading SCI data register low (SCIDRL)."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 07:50:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/High-speed-SCI/m-p/790855#M15604</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2018-10-22T07:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: High speed SCI</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/High-speed-SCI/m-p/790856#M15605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does 1s and M mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MCU is in high loading during SCI IDLE for a long time.&lt;BR /&gt;Set IDLE ==&amp;gt; Clear IDLE ==&amp;gt; Set IDLE ==&amp;gt; Clear IDLE ==&amp;gt; .............&lt;/P&gt;&lt;P&gt;Is it necessary to handle interrupt of IDLE in SCI communication?&lt;/P&gt;&lt;P&gt;When does the interrupt of IDLE must be &lt;SPAN&gt;handle&amp;nbsp;&lt;/SPAN&gt;in SCI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regard,&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 02:38:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/High-speed-SCI/m-p/790856#M15605</guid>
      <dc:creator>aaronlee</dc:creator>
      <dc:date>2018-10-23T02:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: High speed SCI</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/High-speed-SCI/m-p/790857#M15606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aaron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The M&amp;nbsp;bit is in the SCIDR1 register:&lt;/P&gt;&lt;P&gt;Data Format Mode Bit — MODE determines whether data characters are eight or nine bits long.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logic 1s means logic 1.&lt;/P&gt;&lt;P&gt;That is why if M=0 =&amp;gt; ten consecutive logic 1 and if M=1 =&amp;gt; eleven&amp;nbsp;consecutive logic 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enable the transmitter, interrupts, receive, and wake up as required&lt;SPAN&gt;.&lt;/SPAN&gt; So, it is not necessary to enable&amp;nbsp;the idle interrupt.&lt;/P&gt;&lt;P&gt;For example, if you have no space(gaps) between data send characters you can generate delay between them using the idle character. Clearing and then setting the TE bit during transmission queues an idle character to be sent after the frame currently being transmitted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 09:12:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/High-speed-SCI/m-p/790857#M15606</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2018-10-24T09:12:00Z</dc:date>
    </item>
  </channel>
</rss>

