<?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>8-bit MicrocontrollersのトピックRe: Single-wire SCI mode</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Single-wire-SCI-mode/m-p/129568#M1996</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;For single wire transmit/receive operation, It would be usual to have both transmitter and receiver sections of the SCI enabled - for this the value for SCI1C2 register&amp;nbsp;would need to&amp;nbsp;be $2C.&amp;nbsp; Otherwise, there is little point in selecting-single wire&amp;nbsp;mode for a receive only application.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Additionally, the TXDIR bit within SCI1C3 would need to be set to 1 whenever a byte is sent, and then returned to 0, once&amp;nbsp;the transmission is complete, ready to receive any incoming data.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Message Edited by bigmac on &lt;SPAN class="date_text"&gt;2007-04-06&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;12:09 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Apr 2007 20:55:48 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2007-04-05T20:55:48Z</dc:date>
    <item>
      <title>Single-wire SCI mode</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Single-wire-SCI-mode/m-p/129567#M1995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN style=": ; font-size: 3; font-family: Arial;"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;In our application we use the MC9S08AW32 and we try to use the single wire mode of SCI.&lt;BR /&gt;The code to initialize the SCI is:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mov&amp;nbsp;&amp;nbsp; &amp;nbsp;#$A0, SCI1C1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mov&amp;nbsp;&amp;nbsp; &amp;nbsp;#$00, SCI1C3&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mov&amp;nbsp;&amp;nbsp; &amp;nbsp;#$24, SCI1C2&amp;nbsp;&amp;nbsp; &amp;nbsp;; enable RECEIVER&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cli&lt;BR /&gt;&lt;BR /&gt;but the SCI is not working. The transmiter is sending data but the&lt;BR /&gt;receiver doesn't receive any data at all.&lt;BR /&gt;Is there something else we need to know in order to make it work?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 16:58:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Single-wire-SCI-mode/m-p/129567#M1995</guid>
      <dc:creator>kosthala</dc:creator>
      <dc:date>2007-04-05T16:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Single-wire SCI mode</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Single-wire-SCI-mode/m-p/129568#M1996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;For single wire transmit/receive operation, It would be usual to have both transmitter and receiver sections of the SCI enabled - for this the value for SCI1C2 register&amp;nbsp;would need to&amp;nbsp;be $2C.&amp;nbsp; Otherwise, there is little point in selecting-single wire&amp;nbsp;mode for a receive only application.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Additionally, the TXDIR bit within SCI1C3 would need to be set to 1 whenever a byte is sent, and then returned to 0, once&amp;nbsp;the transmission is complete, ready to receive any incoming data.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Message Edited by bigmac on &lt;SPAN class="date_text"&gt;2007-04-06&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;12:09 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 20:55:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Single-wire-SCI-mode/m-p/129568#M1996</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-04-05T20:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Single-wire SCI mode</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Single-wire-SCI-mode/m-p/129569#M1997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hello Mac,&lt;BR /&gt;&lt;BR /&gt;Sorry for the delayed answer (i was away from civilization for a few days). Anyway, your solution was&lt;BR /&gt;perfect&amp;nbsp;&amp;nbsp; &lt;SPAN&gt;&lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;Thank you very much.&lt;SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2007 15:54:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Single-wire-SCI-mode/m-p/129569#M1997</guid>
      <dc:creator>kosthala</dc:creator>
      <dc:date>2007-04-12T15:54:58Z</dc:date>
    </item>
  </channel>
</rss>

