<?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>topic Re: how to send 9-bit data to SCI in Microcontrollers_Debugger in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-send-9-bit-data-to-SCI-in-Microcontrollers-Debugger/m-p/180156#M6071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Cai,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ninth data bit (bit-8) for sending is determined by the bit setting for SCIxC3_T8.&amp;nbsp; The register SCIxD contains only 8 bits.&amp;nbsp; To send the 9-bit value 0x01AA from the MCU, you would use the following code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SCIxC3_T8 = 1;&lt;/P&gt;&lt;P&gt;SCIxD = 0xAA;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For both 9-bit send and receive, 9-bit mode&amp;nbsp;is enabled by setting the control bit SCIxC1_M.&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Nov 2011 23:56:05 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2011-11-07T23:56:05Z</dc:date>
    <item>
      <title>how to send 9-bit data to SCI in Microcontrollers_Debugger</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-send-9-bit-data-to-SCI-in-Microcontrollers-Debugger/m-p/180155#M6070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just test my project in codewarrior software simulator, I want to simulate SCI transmission.&lt;/P&gt;&lt;P&gt;the help said&amp;nbsp;module including: &amp;nbsp;8- or 9-bit length data codes,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I send data with "scdi 1aa", but I never read SCIxC3.R8 being set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cai.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 15:40:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-send-9-bit-data-to-SCI-in-Microcontrollers-Debugger/m-p/180155#M6070</guid>
      <dc:creator>phantomgz</dc:creator>
      <dc:date>2011-11-07T15:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to send 9-bit data to SCI in Microcontrollers_Debugger</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-send-9-bit-data-to-SCI-in-Microcontrollers-Debugger/m-p/180156#M6071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Cai,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ninth data bit (bit-8) for sending is determined by the bit setting for SCIxC3_T8.&amp;nbsp; The register SCIxD contains only 8 bits.&amp;nbsp; To send the 9-bit value 0x01AA from the MCU, you would use the following code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SCIxC3_T8 = 1;&lt;/P&gt;&lt;P&gt;SCIxD = 0xAA;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For both 9-bit send and receive, 9-bit mode&amp;nbsp;is enabled by setting the control bit SCIxC1_M.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 23:56:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-send-9-bit-data-to-SCI-in-Microcontrollers-Debugger/m-p/180156#M6071</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2011-11-07T23:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to send 9-bit data to SCI in Microcontrollers_Debugger</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-send-9-bit-data-to-SCI-in-Microcontrollers-Debugger/m-p/180157#M6072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please note that if you have parity enabled, your 9th bit is used for parity (and the rest are data bits).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Took me a while to figure that out when trying to interface with HyperTerminal... &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;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 08:33:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-send-9-bit-data-to-SCI-in-Microcontrollers-Debugger/m-p/180157#M6072</guid>
      <dc:creator>AirDragon</dc:creator>
      <dc:date>2011-11-08T08:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to send 9-bit data to SCI in Microcontrollers_Debugger</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-send-9-bit-data-to-SCI-in-Microcontrollers-Debugger/m-p/180158#M6073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and again I don't have a real hardware board, just run in full chip software simulation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;9-bit wasn't use for parity check, it's use for address mark,&lt;/P&gt;&lt;P&gt;I want to send some data in "Real-Time Debugger" at "Command" window to test my program.&lt;/P&gt;&lt;P&gt;I can send a data with "SCDI $aa" now , but I want to something like "SCDI $1aa" to active 9-bit I can read in&amp;nbsp;SCIxC3_T8 in my&lt;/P&gt;&lt;P&gt;program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and my&amp;nbsp;PE component setting:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Parity = none;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Width = 9bits;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Stop bit =1;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Wakeup condition = Address mark wakeup&lt;/P&gt;&lt;P&gt;&amp;nbsp;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cai.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 21:38:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/how-to-send-9-bit-data-to-SCI-in-Microcontrollers-Debugger/m-p/180158#M6073</guid>
      <dc:creator>phantomgz</dc:creator>
      <dc:date>2011-11-15T21:38:16Z</dc:date>
    </item>
  </channel>
</rss>

