<?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: mc9s12dt256 serial comm issue in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/mc9s12dt256-serial-comm-issue/m-p/169455#M5613</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I was using the wrong cable. Thanks guys &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; One of those knuckle-head mistakes, like trying forgetting to plug something in and wondering why it's not working... heh&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jul 2008 03:27:09 GMT</pubDate>
    <dc:creator>Franklin</dc:creator>
    <dc:date>2008-07-08T03:27:09Z</dc:date>
    <item>
      <title>mc9s12dt256 serial comm issue</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/mc9s12dt256-serial-comm-issue/m-p/169451#M5609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am trying to control another device with my hcs12 microcontroller using the serial port. The command I wish to send to the other device is&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;"P BE 2"&amp;nbsp;&amp;nbsp;&amp;nbsp; followed by the return key&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Using hyperterminal, I can send this command and the device responds as expected. However, when I programmed my hcs12 to send the following code,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte RequestMsg[9] = {'P',' ','B','E',' ','2','\r','\n',0};&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;using the SendBlock, the other device does not respond.&amp;nbsp; I have tried using only a carriage return, only a line feed, and various other ascii symbols, to no avail. When I send the block to hyperterminal, the output is predictably, "P BE 2"&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any ideas about the source of my problem are greatly appreciated&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 15:59:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/mc9s12dt256-serial-comm-issue/m-p/169451#M5609</guid>
      <dc:creator>Franklin</dc:creator>
      <dc:date>2008-07-01T15:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: mc9s12dt256 serial comm issue</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/mc9s12dt256-serial-comm-issue/m-p/169452#M5610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Are you sure that you don't need a null modem cable to connect the board to the device?&lt;BR /&gt;&lt;BR /&gt;If the are both DTE's the this could be the case.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 19:20:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/mc9s12dt256-serial-comm-issue/m-p/169452#M5610</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-07-01T19:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: mc9s12dt256 serial comm issue</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/mc9s12dt256-serial-comm-issue/m-p/169453#M5611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;First i think you should be sure that data goes to the device from you S12, so verify correct S12-Tx Device-Rx path at least, and &lt;SPAN&gt;&lt;FONT color="#000000"&gt;Usually you DO need a null modem cable. Is there a way to verify data from S12 received by the device ? (for eg plot them to som kind of screen...). On last i would also analyse the behavior of car. return as understood by the device. Last but not least, exact match of comm settings....Does the device needs parity ???&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Jul 2008 14:56:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/mc9s12dt256-serial-comm-issue/m-p/169453#M5611</guid>
      <dc:creator>nikosxan</dc:creator>
      <dc:date>2008-07-05T14:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: mc9s12dt256 serial comm issue</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/mc9s12dt256-serial-comm-issue/m-p/169454#M5612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You say that Hyperterminal&amp;nbsp;will&amp;nbsp;successfully&amp;nbsp;communicate with the remote device.&amp;nbsp; Assuming you are using a "straight-through" cable, and since Hyperterminal will be operating as a DTE (data terminal equipment), this would mean that the remote device is configured as DCE (data communications equipment).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You also say that the HCS12 board can successfully communicate with Hyperterminal, and this implies that the board is currently configured as DCE.&amp;nbsp;&amp;nbsp;Unless you can change the board configuration to DTE, you will need to use a null modem (cross-over) cable.&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>Sat, 05 Jul 2008 22:38:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/mc9s12dt256-serial-comm-issue/m-p/169454#M5612</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2008-07-05T22:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: mc9s12dt256 serial comm issue</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/mc9s12dt256-serial-comm-issue/m-p/169455#M5613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I was using the wrong cable. Thanks guys &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; One of those knuckle-head mistakes, like trying forgetting to plug something in and wondering why it's not working... heh&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 03:27:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/mc9s12dt256-serial-comm-issue/m-p/169455#M5613</guid>
      <dc:creator>Franklin</dc:creator>
      <dc:date>2008-07-08T03:27:09Z</dc:date>
    </item>
  </channel>
</rss>

