<?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: SCI communication with XBee</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-communication-with-XBee/m-p/196718#M15758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found the problem =)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The board I use has an alim of 5V, and a "regulation circuit" on the board gives me 3V for the SCI port. The problem is located in this "regulation circuit", because when I put an alim of 3V directly through the SCI port, it works perfectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Apr 2011 00:09:39 GMT</pubDate>
    <dc:creator>Binuit</dc:creator>
    <dc:date>2011-04-06T00:09:39Z</dc:date>
    <item>
      <title>SCI communication with XBee</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-communication-with-XBee/m-p/196716#M15756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Here's the situation: I've got 2 XBee modules, each one is connected to an HCS08 (the GT60A) via SCI.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm trying to implement a basic communication to exchange data from MCU1 to MCU2, like this:&lt;/P&gt;&lt;P&gt;MCU1 &amp;lt;--SCI--&amp;gt; XBee1 &amp;lt;&amp;lt;----------RF----------&amp;gt;&amp;gt; XBee2 &amp;lt;--SCI--&amp;gt; MCU2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far I've been able to send commands from the MCUs to the Xbees, which reply "OK\r" through SCI when they receive the command.&lt;BR /&gt;I have configured the XBees with the parameters DL=0xFFFF and MY=0xFFFF, because I want to broadcast messages, using the transparent mode.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;After leaving the Command mode (with the "ATCN" command), the Xbees go to Idle mode. My problem is that in this mode, everytime I will try to send data from the MCU to the SCI register, the MCU would reset and the XBee would never receive the data to transmit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my concern is: why can I send data through SCI when the XBee is in Command mode, but not when it is in Idle mode?&lt;BR /&gt;&lt;BR /&gt;Thanks for your help,&lt;BR /&gt;Benoit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 14:53:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-communication-with-XBee/m-p/196716#M15756</guid>
      <dc:creator>Binuit</dc:creator>
      <dc:date>2011-04-05T14:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: SCI communication with XBee</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-communication-with-XBee/m-p/196717#M15757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example, here's what I'm doing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void main() {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;XBeeSetStateRequest(XBEE_CMD);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Enter command mode - OK&lt;BR /&gt;XBeeInit();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Send all my commands to the XBee - OK&lt;BR /&gt;XBeeSetStateRequest(XBEE_IDLE);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Leave command mode - OK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//OK, the command mode works well, now let's try to send a simple character with my SCI function when I'm out of the command mode:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SCIStartTransmit_2('A');&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //At executing this instruction the MCU will reset&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sure that the problem comes from the XBee, it must be configured wrong but I can't see what I missed...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 17:46:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-communication-with-XBee/m-p/196717#M15757</guid>
      <dc:creator>Binuit</dc:creator>
      <dc:date>2011-04-05T17:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: SCI communication with XBee</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-communication-with-XBee/m-p/196718#M15758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found the problem =)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The board I use has an alim of 5V, and a "regulation circuit" on the board gives me 3V for the SCI port. The problem is located in this "regulation circuit", because when I put an alim of 3V directly through the SCI port, it works perfectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 00:09:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SCI-communication-with-XBee/m-p/196718#M15758</guid>
      <dc:creator>Binuit</dc:creator>
      <dc:date>2011-04-06T00:09:39Z</dc:date>
    </item>
  </channel>
</rss>

