<?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: about KW24 SMAC send API  in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/about-KW24-SMAC-send-API/m-p/395087#M362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi AngeIC:&lt;/P&gt;&lt;P&gt;Some one try to integrate KW24D5 and Contiki, this require directly using PHY layer code not SMAC. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Aug 2015 00:14:25 GMT</pubDate>
    <dc:creator>haidong_zheng</dc:creator>
    <dc:date>2015-08-27T00:14:25Z</dc:date>
    <item>
      <title>about KW24 SMAC send API</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/about-KW24-SMAC-send-API/m-p/395084#M359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&amp;nbsp; I have some questions for KW24 SMAC send API&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PhyPlmeData.c API PhyPdDataRequest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1: phyPacket_t&amp;nbsp;&amp;nbsp; frameLength,&amp;nbsp; Dose this frameLength&amp;nbsp; include FCS ?&lt;/P&gt;&lt;P&gt;2: phyPacket_t&amp;nbsp;&amp;nbsp; data,&amp;nbsp; Should&amp;nbsp; data[0] be&amp;nbsp; frameLength&amp;nbsp; which will be written to KW24 PB buffer ?&amp;nbsp; Just as below description:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for MC1324xDrv_PB_SPIBurstWrite in PhyPdDataRequest, the Written length should be frameLength ? or frameLength + 1 &amp;lt;include the first byte -&amp;gt; "frame length"&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52818iD672155B5FA4FE0B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3: For Freescale Test Tool which is running on PC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Dose RAW frame captured by USB dongle include two FCS bytes ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 07:53:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/about-KW24-SMAC-send-API/m-p/395084#M359</guid>
      <dc:creator>haidong_zheng</dc:creator>
      <dc:date>2015-08-25T07:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: about KW24 SMAC send API</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/about-KW24-SMAC-send-API/m-p/395085#M360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/gogoer"&gt;gogoer&lt;/A&gt;​ can you let me know the customer name related with this case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 14:54:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/about-KW24-SMAC-send-API/m-p/395085#M360</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2015-08-25T14:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: about KW24 SMAC send API</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/about-KW24-SMAC-send-API/m-p/395086#M361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Hello Haidong,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;To send data over the air using SMAC you should MCPSDataRequest() instead, which automatically calls PhyPdDataRequest() and takes care of the rest of size calculations and other bytes added. Before such call, the MCPSDataRequest uses SmacFormatTxPacket(psTxPacket) to format the packet and add the FCS bytes to the frame length as bellow:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;packetToPhy-&amp;gt;frameLength += 2; //Add 2 for FCS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Therefore, the frameLength parameter in PhyPdDataRequest already includes the FCS. I would recommend you to use the MCPS API to send data since it is how the SMAC expects. Moreover, the raw data in protocol analyzer should show the MAC integrity code, which would be the FCS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;AngelC&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 21:11:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/about-KW24-SMAC-send-API/m-p/395086#M361</guid>
      <dc:creator>AngelC</dc:creator>
      <dc:date>2015-08-26T21:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: about KW24 SMAC send API</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/about-KW24-SMAC-send-API/m-p/395087#M362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi AngeIC:&lt;/P&gt;&lt;P&gt;Some one try to integrate KW24D5 and Contiki, this require directly using PHY layer code not SMAC. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 00:14:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/about-KW24-SMAC-send-API/m-p/395087#M362</guid>
      <dc:creator>haidong_zheng</dc:creator>
      <dc:date>2015-08-27T00:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: about KW24 SMAC send API</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/about-KW24-SMAC-send-API/m-p/395088#M363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Hello Haidong,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Based in the MCPSDataRequest(), the frameLength in phyPacket_t&amp;nbsp; includes the FCS bytes but not the frameLength byte itself. Therefore, you should write the frame length and then the corresponding length of bytes including FCS. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;AngelC&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 21:12:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/about-KW24-SMAC-send-API/m-p/395088#M363</guid>
      <dc:creator>AngelC</dc:creator>
      <dc:date>2015-08-27T21:12:37Z</dc:date>
    </item>
  </channel>
</rss>

