<?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中的主题 There meet a question about HCS12 Chip's SCISR1Register</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/There-meet-a-question-about-HCS12-Chip-s-SCISR1Register/m-p/878450#M16329</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I debug my uart process,I found my uart process&amp;nbsp; runs unusual.&lt;/P&gt;&lt;P&gt;Then I found the SCISR1's OR bit can not be clear and set with out RDRF bit set.&lt;/P&gt;&lt;P&gt;Usual when RDRF bit and OR bit set at the same time I can clear them all by read scisr1 regiser and scidrl&lt;/P&gt;&lt;P&gt;But I check datasheet I can't find the discrib about this abnormal situation.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67261iD84CF6208F40AFEC/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Mar 2019 07:59:58 GMT</pubDate>
    <dc:creator>xianyu</dc:creator>
    <dc:date>2019-03-08T07:59:58Z</dc:date>
    <item>
      <title>There meet a question about HCS12 Chip's SCISR1Register</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/There-meet-a-question-about-HCS12-Chip-s-SCISR1Register/m-p/878450#M16329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I debug my uart process,I found my uart process&amp;nbsp; runs unusual.&lt;/P&gt;&lt;P&gt;Then I found the SCISR1's OR bit can not be clear and set with out RDRF bit set.&lt;/P&gt;&lt;P&gt;Usual when RDRF bit and OR bit set at the same time I can clear them all by read scisr1 regiser and scidrl&lt;/P&gt;&lt;P&gt;But I check datasheet I can't find the discrib about this abnormal situation.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67261iD84CF6208F40AFEC/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2019 07:59:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/There-meet-a-question-about-HCS12-Chip-s-SCISR1Register/m-p/878450#M16329</guid>
      <dc:creator>xianyu</dc:creator>
      <dc:date>2019-03-08T07:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: There meet a question about HCS12 Chip's SCISR1Register</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/There-meet-a-question-about-HCS12-Chip-s-SCISR1Register/m-p/878451#M16330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this problem appear only in the case of debugging?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, you did not specify the concrete MCU.&lt;/P&gt;&lt;P&gt;So, at first, I would like to recommend you to look at the similar threads available on the community:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/14558"&gt;SCI - OR flg but no RDRF&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/99668"&gt;Debuuging SCI RDRF bit in Codewarrior&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, If you have S12G MCU you can find the description OR flag in the Reference Manual rev. 1.27:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Note: OR flag may read back as set when RDRF flag is clear. This may happen if the following sequence of&lt;BR /&gt;events occurs:&lt;BR /&gt;1. After the first frame is received, read status register SCISR1 (returns RDRF set and OR flag clear);&lt;BR /&gt;2. Receive second frame without reading the first frame in the data register (the second frame is not&lt;BR /&gt;received and OR flag is set);&lt;BR /&gt;3. Read data register SCIDRL (returns first frame and clears RDRF flag in the status register);&lt;BR /&gt;4. Read status register SCISR1 (returns RDRF clear and OR set).&lt;BR /&gt;Event 3 may be at exactly the same time as event 2 or any time after. When this happens, a dummy&lt;BR /&gt;SCIDRL read following event 4 will be required to clear the OR flag if further frames are to be received."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&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>Fri, 08 Mar 2019 14:16:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/There-meet-a-question-about-HCS12-Chip-s-SCISR1Register/m-p/878451#M16330</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2019-03-08T14:16:39Z</dc:date>
    </item>
  </channel>
</rss>

