<?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: SMAC data loss</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SMAC-data-loss/m-p/176840#M12455</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;saurabh,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The SMAC supplies you with primitives to send and receive data, but it does not like 802.15.4 have an acknowlegdement scheme build in.&lt;/DIV&gt;&lt;DIV&gt;This is up to you to implement if it is required by your application.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;As you are using a wireless link, packets can be lost. so if you can not afford loosing packets you should implement an acknowlegdement/retransmisison scheme in your applications&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Br,&lt;/DIV&gt;&lt;DIV&gt;Mads&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Aug 2008 23:05:57 GMT</pubDate>
    <dc:creator>Mads</dc:creator>
    <dc:date>2008-08-05T23:05:57Z</dc:date>
    <item>
      <title>SMAC data loss</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SMAC-data-loss/m-p/176839#M12454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using SMAC. The code is generated using Beekit, the accelerometer project in the SMAC section. The ADC in that example is 8-bit and the 3 bytes of data that is transferred from the Accelerometer SRB to the SRB that is connected the PC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Only thing I have changed is the ADC is now 10bits so 6 bytes are transferred from the Accelerometer SRB to the SRB that is connected the PC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I collect the data on the PC using a hyperterminal program I can see that there is some loss of data. To investigate it further I changed the sending code on the Accelerometer. Instead of reading the accl values and sending them to the other SRB I worte a function that has three 16bit unsigned variables first with value&amp;nbsp; 0, second with value 100 and&amp;nbsp; third with value 200. I have put all these variables in the transmit buffer. The transmit buffer being 8bit unsigned, I had to split the the variable, with MSB put in the buffer first followed by the LSB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have captured the bytes on the PC using a hyperterminal program for atleast 90seconds. By analyzing the received data I can see that I don't get the values in series.i.e I get value 0 100 200. then I get 2 102 202. This shows that I encounter packet loss.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried this on the 8-bit code as ws generated using Beekit. I just modified the sending part as above but only&amp;nbsp; for 8-bit values. This also gave me the same results. I do see data loss.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has any one observed&amp;nbsp; data loss in using SMAC for communication. My application being critical I can't afford data loss. Does MAC(802.15.4) have data loss too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 18:27:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SMAC-data-loss/m-p/176839#M12454</guid>
      <dc:creator>saurabh</dc:creator>
      <dc:date>2008-07-30T18:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: SMAC data loss</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/SMAC-data-loss/m-p/176840#M12455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;saurabh,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The SMAC supplies you with primitives to send and receive data, but it does not like 802.15.4 have an acknowlegdement scheme build in.&lt;/DIV&gt;&lt;DIV&gt;This is up to you to implement if it is required by your application.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;As you are using a wireless link, packets can be lost. so if you can not afford loosing packets you should implement an acknowlegdement/retransmisison scheme in your applications&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Br,&lt;/DIV&gt;&lt;DIV&gt;Mads&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2008 23:05:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/SMAC-data-loss/m-p/176840#M12455</guid>
      <dc:creator>Mads</dc:creator>
      <dc:date>2008-08-05T23:05:57Z</dc:date>
    </item>
  </channel>
</rss>

