<?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>Wireless MCUのトピックRe: KW45 - LPSPI with DMA</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/KW45-LPSPI-with-DMA/m-p/2156881#M19985</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Could you help us confirm if the peripherals tool you are referring is the one in MCUXpresso Config Tools?&lt;/P&gt;
&lt;P&gt;For more information about this tool and the workflow for MCUXpresso please refer to &lt;A href="https://www.nxp.com/webapp/Download?colCode=MCUXIDECTUG" target="_blank"&gt;[MCUXIDECTUG]&lt;/A&gt; chapter 5 and 5.3.&amp;nbsp; On this guide you could see the peripherals configuration&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please consider we do not recommend the usage of ConfigTools with the Wireless examples, as it could overwrite previous configurations needed for the wireless part.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this help you!&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Luis&lt;/P&gt;</description>
    <pubDate>Fri, 22 Aug 2025 17:59:05 GMT</pubDate>
    <dc:creator>luis_maravilla</dc:creator>
    <dc:date>2025-08-22T17:59:05Z</dc:date>
    <item>
      <title>KW45 - LPSPI with DMA</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW45-LPSPI-with-DMA/m-p/2153712#M19971</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm trying to implement simplex SPI transmissions with the KW45B41Z-EVK evaluation board. My goal is to perform fast SPI transmissions with DMA. The end goal is to drive an ILI9341 LCD display via the LPSPI1 peripheral.&lt;/P&gt;&lt;P&gt;The problem I face is that the SPI transaction length is longer than specified in software. When I try to transmit 4 bytes, there are 12 bytes on the bus. When I try to transmit 64 bytes, there are 72 bytes on the bus. What I found is that there are always 8 more bytes transmitted than I intend to transmit. This appears to be related to the 'bits per frame' field, which I had set to 8 previously. Changing it to 16, I see that there are always 16 more bytes transmitted on the bus than there should be. This, of course, causes buffer overflows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;These same symptoms can be reproduced with both the&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;LPSPI_MasterTransferEDMALite() and the&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;LPSPI_MasterTransferEDMA() functions. The debugger shows that the&amp;nbsp;&lt;SPAN&gt;bytesPerFrame&amp;nbsp;value is 1, and therefore, I meet the conditions specified in&amp;nbsp;&lt;A href="https://mcuxpresso.nxp.com/mcuxsdk/latest/html/drivers/Wireless/KW/KW45B41Z83/index.html#lpspi-edma-driver" target="_self"&gt;the documentation.&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;I require help resolving this buffer overflow. I've attached the project directory, as&amp;nbsp;&lt;U&gt;Bringup_LPSPI_eDMA.zip&lt;/U&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Thanks,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Arush&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 14:24:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW45-LPSPI-with-DMA/m-p/2153712#M19971</guid>
      <dc:creator>ArushThomas</dc:creator>
      <dc:date>2025-08-18T14:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: KW45 - LPSPI with DMA</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW45-LPSPI-with-DMA/m-p/2154673#M19977</link>
      <description>&lt;P&gt;Hello Arush,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you help us confirm if you are using an SDK examples as base? Does an SDK example in the latest version[25.06], can match your requirements for SPI DMA transmissions for example [kw45b41evk_lpspi_edma_b2b_transfer_master] ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By any chance do you count with 2 KW4B4I-EVK boards?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Luis&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 19:21:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW45-LPSPI-with-DMA/m-p/2154673#M19977</guid>
      <dc:creator>luis_maravilla</dc:creator>
      <dc:date>2025-08-19T19:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: KW45 - LPSPI with DMA</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW45-LPSPI-with-DMA/m-p/2154967#M19980</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm referring to the following example: [kw45b41zevk_lpspi_edma_b2b_transfer_master]. Both the example, and my own project, are on &lt;U&gt;SDK version 25.06.00(890 2025-06-27)&lt;/U&gt;&lt;/P&gt;&lt;P&gt;I don't have a second EVK. I have been testing with an oscilloscope. These tests have been valid for blocking SPI transactions on this board, as well as past experience with different MCUs.&lt;/P&gt;&lt;P&gt;The example project&amp;nbsp;&lt;EM&gt;does&lt;/EM&gt; work correctly, it transmits exactly 64 bytes, as specified by the&amp;nbsp;&lt;SPAN&gt;TRANSFER_SIZE macro. In my project, I'm doing all the peripheral configurations via the peripherals configuration tool. The initialization code is auto-generated by that tool, and runtime code follows the example's logic. I suspect the flaw is somewhere in here, but I can't quite find it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As an aside; the peripherals tool workflow is what I've followed with the "S32DS for S32 Platform" and the "S32DS for ARM" IDEs. But none of the examples I've seen for MCUXpresso utilize the peripherals tool. Where might I find examples for KW45 that use the peripherals tool?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Arush&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 06:24:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW45-LPSPI-with-DMA/m-p/2154967#M19980</guid>
      <dc:creator>ArushThomas</dc:creator>
      <dc:date>2025-08-20T06:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: KW45 - LPSPI with DMA</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW45-LPSPI-with-DMA/m-p/2156881#M19985</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Could you help us confirm if the peripherals tool you are referring is the one in MCUXpresso Config Tools?&lt;/P&gt;
&lt;P&gt;For more information about this tool and the workflow for MCUXpresso please refer to &lt;A href="https://www.nxp.com/webapp/Download?colCode=MCUXIDECTUG" target="_blank"&gt;[MCUXIDECTUG]&lt;/A&gt; chapter 5 and 5.3.&amp;nbsp; On this guide you could see the peripherals configuration&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please consider we do not recommend the usage of ConfigTools with the Wireless examples, as it could overwrite previous configurations needed for the wireless part.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this help you!&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Luis&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 17:59:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW45-LPSPI-with-DMA/m-p/2156881#M19985</guid>
      <dc:creator>luis_maravilla</dc:creator>
      <dc:date>2025-08-22T17:59:05Z</dc:date>
    </item>
  </channel>
</rss>

