<?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: KW36 - how to receive GFSK custom frame in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-how-to-receive-GFSK-custom-frame/m-p/1053318#M56971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrian, I hope you're doing well!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's a GFSK stack macro defined as gGenfskRawPacket which changes the packet type to transmit and receive information using a "RAW" format, instead of the regularly formatted GFSK packets. These have a maximum size of 35 bytes, which can contain the whole frame you describe. As an important note, the maxBufLengthBytes size for the Rx modes has to be set exactly to the size of the packet you're receiving, otherwise, it will be rejected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's also the MSK radio mode, which also bypasses all hardware acceleration, and allows for a maximum packet size of 35 bytes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These modes have some important additional notes, which can be found on section 6.1.5 of the Generic FSK Link Layer Quick Start Guide document, included with the KW36's SDK, in the following path:&lt;/P&gt;&lt;P&gt;&amp;lt;…\SDK_2.2.3_FRDM-KW36\docs\wireless\GENFSK\Generic FSK Link Layer Quick Start Guide.pdf&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you need any more information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take care, best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 May 2020 20:59:12 GMT</pubDate>
    <dc:creator>Sebastian_Del_Rio</dc:creator>
    <dc:date>2020-05-21T20:59:12Z</dc:date>
    <item>
      <title>KW36 - how to receive GFSK custom frame</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-how-to-receive-GFSK-custom-frame/m-p/1053317#M56970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class="" title=""&gt;I would like to communicate with LT8920&lt;/SPAN&gt;&lt;/SPAN&gt; chip:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.deviationtx.com/media/kunena/attachments/7714/LT8920datasheetEngversion201701191.pdf" title="https://www.deviationtx.com/media/kunena/attachments/7714/LT8920datasheetEngversion201701191.pdf"&gt;https://www.deviationtx.com/media/kunena/attachments/7714/LT8920datasheetEngversion201701191.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's a 2.4GHz GFSK radio, with frame look like that:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Przechwytywanie.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/106694i3760021AEC27A77F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Przechwytywanie.PNG" alt="Przechwytywanie.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is it possible to set something like that?&lt;/P&gt;&lt;P&gt;I checked documentation of KW36 and for example maximum SYNC lenght is 32bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So maybe is possible to &lt;SPAN class=""&gt;&lt;SPAN class="" title=""&gt;receive GFSK data not in packets?&lt;/SPAN&gt;&lt;/SPAN&gt; Like RAW data, like sniffer?&lt;/P&gt;&lt;P&gt;If yes, how to do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2020 20:53:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-how-to-receive-GFSK-custom-frame/m-p/1053317#M56970</guid>
      <dc:creator>adrian_chmiel</dc:creator>
      <dc:date>2020-05-20T20:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 - how to receive GFSK custom frame</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-how-to-receive-GFSK-custom-frame/m-p/1053318#M56971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrian, I hope you're doing well!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's a GFSK stack macro defined as gGenfskRawPacket which changes the packet type to transmit and receive information using a "RAW" format, instead of the regularly formatted GFSK packets. These have a maximum size of 35 bytes, which can contain the whole frame you describe. As an important note, the maxBufLengthBytes size for the Rx modes has to be set exactly to the size of the packet you're receiving, otherwise, it will be rejected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's also the MSK radio mode, which also bypasses all hardware acceleration, and allows for a maximum packet size of 35 bytes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These modes have some important additional notes, which can be found on section 6.1.5 of the Generic FSK Link Layer Quick Start Guide document, included with the KW36's SDK, in the following path:&lt;/P&gt;&lt;P&gt;&amp;lt;…\SDK_2.2.3_FRDM-KW36\docs\wireless\GENFSK\Generic FSK Link Layer Quick Start Guide.pdf&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you need any more information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take care, best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2020 20:59:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-how-to-receive-GFSK-custom-frame/m-p/1053318#M56971</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2020-05-21T20:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 - how to receive GFSK custom frame</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-how-to-receive-GFSK-custom-frame/m-p/1053319#M56972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in RAW mode I load info buffer &lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;the whole frame with the preamble etc. ? The same situation when i receive data, in buffer I will find preamble, data, crc etc?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;I'm worried about info:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;"maxBufLengthBytes size for the Rx modes has to be set exactly to the size of the packet you're receiving, otherwise, it will be rejected."&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;Does it mean that I need to know exactly what frame length I should expect?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;&lt;SPAN title=""&gt;If I set frame too long, will it also be rejected?&lt;/SPAN&gt; Will not be filled with 0, 1 or random data (noise)?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;If yes, I think the main problem can be with TRAILER in LT8920, because it have only 4bit, so whole frame have for example 22 bytes and 4 bits. Then MK36 radio cannot receive it?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;Best regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;Adrian&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2020 07:16:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-how-to-receive-GFSK-custom-frame/m-p/1053319#M56972</guid>
      <dc:creator>adrian_chmiel</dc:creator>
      <dc:date>2020-05-22T07:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 - how to receive GFSK custom frame</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-how-to-receive-GFSK-custom-frame/m-p/1053320#M56973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To my understanding, the 4bit trailer should be considered a full byte for the buffer size calculation so that it doesn't get rejected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As another thing of note, according to section 6.1.1, the preamble and address size do not count against the 35 bytes allowed for RAW mode Rx and Tx.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With these considerations in mind, the KW36 should be able to receive the RAW packages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you need any more information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take care, best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2020 15:26:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-how-to-receive-GFSK-custom-frame/m-p/1053320#M56973</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2020-05-22T15:26:31Z</dc:date>
    </item>
  </channel>
</rss>

