<?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 ZigBee Buffer Overflow (MC13234/MC13237 IEEE 802.15.4 Transceiver) in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/ZigBee-Buffer-Overflow-MC13234-MC13237-IEEE-802-15-4-Transceiver/m-p/393719#M343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;I am using the SMAC stack over MC13234/MC13237 IEEE 802.15.4 Transceiver.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;I &lt;/SPAN&gt;have the following preprocessor definition in the SMAC interface file:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;#define gMaxPromiscuousSmacSDULenght_c (125)&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;I &lt;/SPAN&gt;allocate a buffer of this size + 5 (i.e., 130 bytes) dedicated for RX, and &lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;I &lt;/SPAN&gt;pass this buffer when calling function MLMERXEnableRequest.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;I &lt;/SPAN&gt;have witnessed some rare cases where the SMAC receives more than 130 bytes of data, thus overriding memory outside the designated RX buffer.&lt;BR /&gt;&lt;BR /&gt;The only lead that I have found while investigating this, is that sometimes the PHY fill up the buffer with the received data PLUS some sort of repeating sequence, like 0x99 for example.&lt;BR /&gt;&lt;BR /&gt;I'm not sure what could possibly be the reason for this “wasteful” operation, but &lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;I &lt;/SPAN&gt;do know that when the override occurs, the repeating sequence goes outside the boundaries of the buffer.&lt;BR /&gt;&lt;BR /&gt;Here is an example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="aaa.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/31110iC8E05FC0F3BF2C1D/image-size/large?v=v2&amp;amp;px=999" role="button" title="aaa.bmp" alt="aaa.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;The RX buffer starts at the highlighted cell (with a value of 28), and ends at the last red cell (with a value of 99).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;In this case, the PHY has written exactly 130 bytes into the buffer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;But in rare cases it exceeds that amount, thus causing memory override.&lt;BR /&gt;&lt;BR /&gt;Parsing of the actual packet:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; mso-yfti-tbllook: 1184; mso-padding-alt: 0in 0in 0in 0in;"&gt;&lt;TBODY&gt;&lt;TR style="mso-yfti-irow: 0; mso-yfti-firstrow: yes;"&gt;&lt;TD style="width: 233.5pt; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;STRONG&gt;Data&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 233.5pt; border: solid windowtext 1.0pt; border-left: none; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;STRONG&gt;Meaning&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="mso-yfti-irow: 1;"&gt;&lt;TD style="width: 233.5pt; border: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;28 01 0F 7E FF&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 233.5pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;SMAC stuff&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="mso-yfti-irow: 2;"&gt;&lt;TD style="width: 233.5pt; border: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;5A 5A&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 233.5pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Application payload&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="mso-yfti-irow: 3;"&gt;&lt;TD style="width: 233.5pt; border: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;51 CB&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 233.5pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Application payload&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="mso-yfti-irow: 4;"&gt;&lt;TD style="width: 233.5pt; border: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;AD&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 233.5pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Application payload&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="mso-yfti-irow: 5;"&gt;&lt;TD style="width: 233.5pt; border: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;07&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 233.5pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Application payload&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="mso-yfti-irow: 6;"&gt;&lt;TD style="width: 233.5pt; border: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;04&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 233.5pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Application payload&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="mso-yfti-irow: 7;"&gt;&lt;TD style="width: 233.5pt; border: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;03&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 233.5pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Application payload&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="mso-yfti-irow: 8;"&gt;&lt;TD style="width: 233.5pt; border: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;00 00 00&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 233.5pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Application payload&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="mso-yfti-irow: 9; mso-yfti-lastrow: yes;"&gt;&lt;TD style="width: 233.5pt; border: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;0F C2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 233.5pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Some more SMAC stuff (FCS, I suppose)&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;As you can see, it is followed by 5s and then by 9s, and in between some other (seemingly random) data.&lt;BR /&gt;&lt;BR /&gt;BTW, it’s a different “magic value” every time, but always with two identical hex digits.&lt;BR /&gt;&lt;BR /&gt;For now, I will be happy to understand why the PHY writes this extra data into the RX buffer.&lt;BR /&gt;&lt;BR /&gt;I tried to put a “Memory Write” watch-point after the RX buffer, in order to catch the actual violation, but it didn’t seem to help catching this event.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;I suppose, that it is either because the watch-point has had a crucial impact on timing, or the write-operation was performed via some other channel/bus/etc.&lt;BR /&gt;&lt;BR /&gt;Any ideas will be highly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thank you very much for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Nov 2015 12:09:26 GMT</pubDate>
    <dc:creator>barakmanos</dc:creator>
    <dc:date>2015-11-08T12:09:26Z</dc:date>
    <item>
      <title>ZigBee Buffer Overflow (MC13234/MC13237 IEEE 802.15.4 Transceiver)</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/ZigBee-Buffer-Overflow-MC13234-MC13237-IEEE-802-15-4-Transceiver/m-p/393719#M343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;I am using the SMAC stack over MC13234/MC13237 IEEE 802.15.4 Transceiver.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;I &lt;/SPAN&gt;have the following preprocessor definition in the SMAC interface file:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;#define gMaxPromiscuousSmacSDULenght_c (125)&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;I &lt;/SPAN&gt;allocate a buffer of this size + 5 (i.e., 130 bytes) dedicated for RX, and &lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;I &lt;/SPAN&gt;pass this buffer when calling function MLMERXEnableRequest.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;I &lt;/SPAN&gt;have witnessed some rare cases where the SMAC receives more than 130 bytes of data, thus overriding memory outside the designated RX buffer.&lt;BR /&gt;&lt;BR /&gt;The only lead that I have found while investigating this, is that sometimes the PHY fill up the buffer with the received data PLUS some sort of repeating sequence, like 0x99 for example.&lt;BR /&gt;&lt;BR /&gt;I'm not sure what could possibly be the reason for this “wasteful” operation, but &lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;I &lt;/SPAN&gt;do know that when the override occurs, the repeating sequence goes outside the boundaries of the buffer.&lt;BR /&gt;&lt;BR /&gt;Here is an example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="aaa.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/31110iC8E05FC0F3BF2C1D/image-size/large?v=v2&amp;amp;px=999" role="button" title="aaa.bmp" alt="aaa.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;The RX buffer starts at the highlighted cell (with a value of 28), and ends at the last red cell (with a value of 99).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;In this case, the PHY has written exactly 130 bytes into the buffer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;But in rare cases it exceeds that amount, thus causing memory override.&lt;BR /&gt;&lt;BR /&gt;Parsing of the actual packet:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; mso-yfti-tbllook: 1184; mso-padding-alt: 0in 0in 0in 0in;"&gt;&lt;TBODY&gt;&lt;TR style="mso-yfti-irow: 0; mso-yfti-firstrow: yes;"&gt;&lt;TD style="width: 233.5pt; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;STRONG&gt;Data&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 233.5pt; border: solid windowtext 1.0pt; border-left: none; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;STRONG&gt;Meaning&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="mso-yfti-irow: 1;"&gt;&lt;TD style="width: 233.5pt; border: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;28 01 0F 7E FF&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 233.5pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;SMAC stuff&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="mso-yfti-irow: 2;"&gt;&lt;TD style="width: 233.5pt; border: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;5A 5A&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 233.5pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Application payload&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="mso-yfti-irow: 3;"&gt;&lt;TD style="width: 233.5pt; border: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;51 CB&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 233.5pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Application payload&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="mso-yfti-irow: 4;"&gt;&lt;TD style="width: 233.5pt; border: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;AD&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 233.5pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Application payload&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="mso-yfti-irow: 5;"&gt;&lt;TD style="width: 233.5pt; border: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;07&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 233.5pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Application payload&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="mso-yfti-irow: 6;"&gt;&lt;TD style="width: 233.5pt; border: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;04&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 233.5pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Application payload&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="mso-yfti-irow: 7;"&gt;&lt;TD style="width: 233.5pt; border: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;03&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 233.5pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Application payload&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="mso-yfti-irow: 8;"&gt;&lt;TD style="width: 233.5pt; border: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;00 00 00&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 233.5pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Application payload&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="mso-yfti-irow: 9; mso-yfti-lastrow: yes;"&gt;&lt;TD style="width: 233.5pt; border: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;0F C2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 233.5pt; border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt;" valign="top" width="311"&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="color: #1f497d;"&gt;Some more SMAC stuff (FCS, I suppose)&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;As you can see, it is followed by 5s and then by 9s, and in between some other (seemingly random) data.&lt;BR /&gt;&lt;BR /&gt;BTW, it’s a different “magic value” every time, but always with two identical hex digits.&lt;BR /&gt;&lt;BR /&gt;For now, I will be happy to understand why the PHY writes this extra data into the RX buffer.&lt;BR /&gt;&lt;BR /&gt;I tried to put a “Memory Write” watch-point after the RX buffer, in order to catch the actual violation, but it didn’t seem to help catching this event.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial,Helvetica,sans-serif; font-size: 10pt;"&gt;I suppose, that it is either because the watch-point has had a crucial impact on timing, or the write-operation was performed via some other channel/bus/etc.&lt;BR /&gt;&lt;BR /&gt;Any ideas will be highly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thank you very much for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Nov 2015 12:09:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/ZigBee-Buffer-Overflow-MC13234-MC13237-IEEE-802-15-4-Transceiver/m-p/393719#M343</guid>
      <dc:creator>barakmanos</dc:creator>
      <dc:date>2015-11-08T12:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: ZigBee Buffer Overflow (MC13234/MC13237 IEEE 802.15.4 Transceiver)</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/ZigBee-Buffer-Overflow-MC13234-MC13237-IEEE-802-15-4-Transceiver/m-p/393720#M344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Barak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible that you share your code to recreate the problem by myself?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be looking forward for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Earl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 17:47:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/ZigBee-Buffer-Overflow-MC13234-MC13237-IEEE-802-15-4-Transceiver/m-p/393720#M344</guid>
      <dc:creator>EarlOrlando</dc:creator>
      <dc:date>2015-11-16T17:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: ZigBee Buffer Overflow (MC13234/MC13237 IEEE 802.15.4 Transceiver)</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/ZigBee-Buffer-Overflow-MC13234-MC13237-IEEE-802-15-4-Transceiver/m-p/393721#M345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Earl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is rather impossible to construct a self-contained, minimal, complete and verifiable example, with which you can reproduce the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would need to provide more or less the entire application (two applications as a matter of fact, for each side of the communication channel).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For now, I would be happy if you could shed some light as to why the PHY sometimes fills up the (130-byte) buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be more accurate, I have noticed that once I enable RX, data is immediately written into that buffer (even when no data has been transmitted).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the stack-trace, starting from Freescale's driver routine:&lt;/P&gt;&lt;P&gt;- MLMERXEnableRequest&lt;/P&gt;&lt;P&gt;- PhyPlmeRxRequest:&lt;/P&gt;&lt;P&gt;&amp;nbsp; // start the RX sequence&lt;/P&gt;&lt;P&gt;&amp;nbsp; PP_PHY_CTL1 |= gRX_c;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As soon as the PP_PHY_CTL1 register is updated, I see 130 bytes of data written into the RX buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, although there is no harm in this operation, I believe that it might give us a good lead as to when and why data is written into the RX buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In any case, here is our initial PHY set up (the same on both sides):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="PHY_Registers.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/31729iD2CCCB3A498C1050/image-size/large?v=v2&amp;amp;px=999" role="button" title="PHY_Registers.bmp" alt="PHY_Registers.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 17:20:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/ZigBee-Buffer-Overflow-MC13234-MC13237-IEEE-802-15-4-Transceiver/m-p/393721#M345</guid>
      <dc:creator>barakmanos</dc:creator>
      <dc:date>2015-11-19T17:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: ZigBee Buffer Overflow (MC13234/MC13237 IEEE 802.15.4 Transceiver)</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/ZigBee-Buffer-Overflow-MC13234-MC13237-IEEE-802-15-4-Transceiver/m-p/393722#M346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem solved!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;I’ve been investigating a bug where the PHY writes &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;more than 130 bytes&lt;/STRONG&gt;&lt;/SPAN&gt; of data into the 130-byte long RX-buffer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;This, of course, causes memory override which in turn yields undefined behavior (in the good scenario, we get a WD-reset).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Increasing the size of the RX buffer &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;did not seem to help&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;The reason why I have chosen its size to be 130 is that w&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;e have the following definitions in the code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;&lt;SPAN style="color: #7f0055; font-size: 10.0pt; font-family: Consolas;"&gt;&lt;STRONG&gt;#define&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; gMaxSmacSDULenght_c (123) &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: .5in;"&gt;&lt;SPAN style="color: #7f0055; font-size: 10.0pt; font-family: Consolas;"&gt;&lt;STRONG&gt;#define&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; gMaxPromiscuousSmacSDULenght_c (125)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;This made me &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;wrongly assume&lt;/STRONG&gt;&lt;/SPAN&gt; that the buffer size should be SMAC header (5) + &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;gMaxPromiscuousSmacSDULenght_c (125).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Now I &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;finally&lt;/STRONG&gt;&lt;/SPAN&gt; understand why we continue to receive those 130 bytes:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt;The MAX_FRAME_LENGTH register is set to 127&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d;"&gt;The largest amount of data that the PHY accepts is MAX_FRAME_LENGTH + 3&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;As soon as I reduce that MAX_FRAME_LENGTH to some N &amp;lt; 127, everything works perfectly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;And yes – it works perfectly &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;even&lt;/STRONG&gt;&lt;/SPAN&gt; if I reduce the size of the RX buffer, just as long as it is at least MAX_FRAME_LENGTH + 3 byte long.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;So the only question remaining is – why did we receive &lt;SPAN style="color: #1f497d;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;more than 130 bytes&lt;/STRONG&gt;&lt;/SPAN&gt; of data&lt;/SPAN&gt;, with MAX_FRAME_LENGTH = 127 and RX buffer size = 130.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;I suspect that the answer to that is the definition &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;gMaxSmacSDULenght_c (123)&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;, which implies that we cannot have MAX_FRAME_LENGTH above 123 (or 120).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 12:45:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/ZigBee-Buffer-Overflow-MC13234-MC13237-IEEE-802-15-4-Transceiver/m-p/393722#M346</guid>
      <dc:creator>barakmanos</dc:creator>
      <dc:date>2015-11-24T12:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: ZigBee Buffer Overflow (MC13234/MC13237 IEEE 802.15.4 Transceiver)</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/ZigBee-Buffer-Overflow-MC13234-MC13237-IEEE-802-15-4-Transceiver/m-p/393723#M347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;SIDE NOTE:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found out that his problem can be easily reproduced through Freescale's BeeKit Wireless Connectivity Toolkit:&lt;/P&gt;&lt;P&gt;1. Create a connectivity test for MC13233.&lt;/P&gt;&lt;P&gt;2. Set up a system of two MC13233 standard evaluation boards.&lt;/P&gt;&lt;P&gt;3. Connect each board to your PC through serial (RS232) cable.&lt;/P&gt;&lt;P&gt;4. Open two terminals (e.g. TeraTerm) and connect to each COM.&lt;/P&gt;&lt;P&gt;5. Run each one of the MCUs.&lt;/P&gt;&lt;P&gt;6. Terminal #1 (RX):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Press enter to start&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Press [1] Continuous tests&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Press [5] Continuous Reception&lt;/P&gt;&lt;P&gt;7. Terminal #2 (TX):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Press enter to start&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Press [1] Continuous tests&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Press [2] Continuous PRBS Transmission&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem should eventually occur (might take a while).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I may add a personal opinion, then it is rather disappointing that such an outright straightforward bug has not been reported or documented anywhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It most likely indicates that no MCU1323x-based networks have ever been deployed, hence due to the lack of demand, the manufacturer has never bothered to fix it or to publish an errata.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Nov 2015 20:51:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/ZigBee-Buffer-Overflow-MC13234-MC13237-IEEE-802-15-4-Transceiver/m-p/393723#M347</guid>
      <dc:creator>barakmanos</dc:creator>
      <dc:date>2015-11-29T20:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: ZigBee Buffer Overflow (MC13234/MC13237 IEEE 802.15.4 Transceiver)</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/ZigBee-Buffer-Overflow-MC13234-MC13237-IEEE-802-15-4-Transceiver/m-p/393724#M348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;Hello Barak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;Thank you for your comments and for share your tests. I reproduced the issue and indeed it is there. I will share this with the software team so the will be able to take a look into it. However, SMAC is basically a stack used to test a MCU and it is not recommended to enable a full network, that's why issues like this can exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;If you want to build a more robust network you should use the MAC codebase.&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;Best regards,&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;Earl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 22:15:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/ZigBee-Buffer-Overflow-MC13234-MC13237-IEEE-802-15-4-Transceiver/m-p/393724#M348</guid>
      <dc:creator>EarlOrlando</dc:creator>
      <dc:date>2015-11-30T22:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: ZigBee Buffer Overflow (MC13234/MC13237 IEEE 802.15.4 Transceiver)</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/ZigBee-Buffer-Overflow-MC13234-MC13237-IEEE-802-15-4-Transceiver/m-p/393725#M349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Earl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for confirming my observation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have not encountered any other issues when using SMAC over the IEEE 802.15.4 Transceiver on MC1323x, so we feel pretty convenient staying with the current driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, under some scenarios, we are experiencing major packet-loss, which we believe to be the result of RF interference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Switching between the 16 channels (from 2405MHz to 2480MHz), shows little improvement at times, but it doesn't go as far as resolving the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the question is whether or not using the MAC codebase (as you've suggested) could help us out here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you know if there is any advantage in using this package in the context of RF interference?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, does it "slice" each packet into smaller segments before transmitting it (assuming that shorter bursts are less likely to be interfered)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 16:42:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/ZigBee-Buffer-Overflow-MC13234-MC13237-IEEE-802-15-4-Transceiver/m-p/393725#M349</guid>
      <dc:creator>barakmanos</dc:creator>
      <dc:date>2016-01-20T16:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: ZigBee Buffer Overflow (MC13234/MC13237 IEEE 802.15.4 Transceiver)</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/ZigBee-Buffer-Overflow-MC13234-MC13237-IEEE-802-15-4-Transceiver/m-p/393726#M350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Barak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since it depends on the PHY, MAC won't will improve the RF interference issues. However, using MAC instead of SMAC could has improvements because it has a better auto acknowledge mechanism. If you want to keep using SMAC, I recommend you to implement a Frame Check Sequence (FCS) in the application layer as an additional mechanism to re transmit the dropped packages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Earl Ramírez.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 18:37:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/ZigBee-Buffer-Overflow-MC13234-MC13237-IEEE-802-15-4-Transceiver/m-p/393726#M350</guid>
      <dc:creator>EarlOrlando</dc:creator>
      <dc:date>2016-01-20T18:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: ZigBee Buffer Overflow (MC13234/MC13237 IEEE 802.15.4 Transceiver)</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/ZigBee-Buffer-Overflow-MC13234-MC13237-IEEE-802-15-4-Transceiver/m-p/393727#M351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Earl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have previously suggested:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;SMAC is basically a stack used to test a MCU and it is not recommended to enable a full network, and that if I want to build a more robust network then I should use the MAC codebase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I would like to make use of the frame-filtering functionality that is supported in the MC1323x Transceiver.&lt;/P&gt;&lt;P&gt;More specifically, I would like to include the destination address in the transmitted packets, so that the received packets can be filtered (in or out) according to this address.&lt;/P&gt;&lt;P&gt;At present, we filter the every received packet at the application layer, i.e., we embed a 16-bit destination address within the transmitted packet payload, and check it upon reception.&lt;/P&gt;&lt;P&gt;This is not very efficient of course, as the application is "interrupted for nothing".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking into SMAC source code, I believe that the frame-filtering functionality is not supported.&lt;/P&gt;&lt;P&gt;So I would like to implement it myself (i.e., extend my SMAC code to support it).&lt;/P&gt;&lt;P&gt;However, the MC1323x data-sheet is rather obscure on how to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question 1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is it supported in what you have referred to as 'MAC codebase'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question 2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have&amp;nbsp;posted &lt;A _jive_internal="true" href="https://community.nxp.com/thread/433520"&gt;here&lt;/A&gt; a more detailed description of my problems in understanding the MC1323x data-sheet with regards to the frame-filtering functionality. Would it be possible for to refer to this post?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2016 13:05:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/ZigBee-Buffer-Overflow-MC13234-MC13237-IEEE-802-15-4-Transceiver/m-p/393727#M351</guid>
      <dc:creator>barakmanos</dc:creator>
      <dc:date>2016-09-01T13:05:55Z</dc:date>
    </item>
  </channel>
</rss>

