<?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 wired - half duplex SCI management problem</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Single-wired-half-duplex-SCI-management-problem/m-p/182471#M13420</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Ok, there was a problem in the serial cable. It seems to be ok now. Thanks a lot.&lt;BR /&gt;Bye&lt;BR /&gt;&lt;BR /&gt;Andrea&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Aug 2008 22:13:04 GMT</pubDate>
    <dc:creator>utall</dc:creator>
    <dc:date>2008-08-28T22:13:04Z</dc:date>
    <item>
      <title>Single wired - half duplex SCI management problem</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Single-wired-half-duplex-SCI-management-problem/m-p/182467#M13416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've a problem with SCI module. I use the single wired communication (LOOPS = Rsrc=1) and I'd like to enable the transmission only when I need to transmit. How can I know when the tx (or rx) is ready? How many time does it take to become usable?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks. Have a nice day.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrea&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 14:20:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Single-wired-half-duplex-SCI-management-problem/m-p/182467#M13416</guid>
      <dc:creator>utall</dc:creator>
      <dc:date>2008-08-28T14:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Single wired - half duplex SCI management problem - QG4</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Single-wired-half-duplex-SCI-management-problem/m-p/182468#M13417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hello Andrea,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You do not say which device you are using.&amp;nbsp; However, I will assume a HCS08 device, and that&amp;nbsp;you are controlling the transmission direction using the SCIC3_TXDIR control bit.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;There are two possibilities.&amp;nbsp; The&amp;nbsp;first one&amp;nbsp;is that the SCIC2_TE bit remains continuously active, and with the following sequence of events required to&amp;nbsp;complete a transmission.&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;Set TXDIR bit to 1 for send operation.&lt;/LI&gt;&lt;LI&gt;Write first send character to SCID register.&lt;/LI&gt;&lt;LI&gt;If further characters to be sent, wait until TDRE flag&amp;nbsp;bit is set before writing each subsequent character.&lt;/LI&gt;&lt;LI&gt;After final send character is written, wait until TC flag bit&amp;nbsp;becomes set.&lt;/LI&gt;&lt;LI&gt;Set TXDIR bit to 0 for further receive operation.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The first send character should commence immediately after the first character is written to SCID.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second possibility is that the TE control bit is set to 1 immediately preceeding step 1 above, and is then cleared to 0 following step 5.&amp;nbsp; This will cause an additional&amp;nbsp;idle character to be sent prior to the first send character, thus delaying the commencement of the first send character by&amp;nbsp;the byte transmission period.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by bigmac on &lt;SPAN class="date_text"&gt;2008-08-28&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:31 PM&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by NLFSJ on &lt;SPAN class="date_text"&gt;2008-08-30&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;10:28 AM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 20:28:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Single-wired-half-duplex-SCI-management-problem/m-p/182468#M13417</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2008-08-28T20:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Single wired - half duplex SCI management problem</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Single-wired-half-duplex-SCI-management-problem/m-p/182469#M13418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello Mac,&lt;BR /&gt;Thanks for your answer.&lt;BR /&gt;Yes, I'm using a QG4 device so the S08 micro family.&lt;BR /&gt;&lt;BR /&gt;My greatest problem is that when I set TE to enable the tx I've to wait for a while before start sending data. Is this normal? This time is around 100ms (!!!).&lt;BR /&gt;BTW the operations I implemented follow exactly your list (first case).&lt;BR /&gt;&lt;BR /&gt;Thanks for your patience.&lt;BR /&gt;Bye&lt;BR /&gt;&lt;BR /&gt;Andrea&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 21:05:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Single-wired-half-duplex-SCI-management-problem/m-p/182469#M13418</guid>
      <dc:creator>utall</dc:creator>
      <dc:date>2008-08-28T21:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Single wired - half duplex SCI management problem</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Single-wired-half-duplex-SCI-management-problem/m-p/182470#M13419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello Andrea,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When TE is first set to 1, an idle character is automatically&amp;nbsp;loaded to the SCI send register, as previously mentioned.&amp;nbsp; The sending of this character is transparent to the receiver, but must be completed before the first "real" character is sent.&amp;nbsp; The delay will depend on the baud rate you are using, and should be equal to ten bit periods (for 8 data bits).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;To avoid this delay, simply leave TE set to 1.&amp;nbsp; Of course the idle character will be sent once, when&amp;nbsp;TE is first set during initialisation, but will not&amp;nbsp;occur with normal communications.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;During the send time for&amp;nbsp;the idle character, it should still be possible to queue the first character within the send buffer, to be sent immediately following the completion of the&amp;nbsp;idle character.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The datasheet for the QG8 device should cover this in some detail.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Mac&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 21:41:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Single-wired-half-duplex-SCI-management-problem/m-p/182470#M13419</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2008-08-28T21:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Single wired - half duplex SCI management problem</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Single-wired-half-duplex-SCI-management-problem/m-p/182471#M13420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Ok, there was a problem in the serial cable. It seems to be ok now. Thanks a lot.&lt;BR /&gt;Bye&lt;BR /&gt;&lt;BR /&gt;Andrea&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 22:13:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Single-wired-half-duplex-SCI-management-problem/m-p/182471#M13420</guid>
      <dc:creator>utall</dc:creator>
      <dc:date>2008-08-28T22:13:04Z</dc:date>
    </item>
  </channel>
</rss>

