<?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 回复： Can the SPT trigger FastDMA? in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Can-the-SPT-trigger-FastDMA/m-p/1795046#M20899</link>
    <description>&lt;P&gt;The evt command can already trigger the CPU to start Fast DMA which send RFFT result data from SRAM to DDR, but the second half of the DDR data is incorrect.&lt;/P&gt;&lt;P&gt;I have the following two questions that need help. Could someone please help me? Thank you.&lt;BR /&gt;&lt;BR /&gt;1.Does the SPT RFFT need to complete processing an entire frame of data before starting Fast DMA？&lt;BR /&gt;2.Can I start Fast DMA when SPT RFFT processing only half of the frame? How can I starting FDMA to send data when the RFFT has processed half of the frame?&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jan 2024 03:07:42 GMT</pubDate>
    <dc:creator>CelineChan</dc:creator>
    <dc:date>2024-01-25T03:07:42Z</dc:date>
    <item>
      <title>Can the SPT trigger FastDMA?</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Can-the-SPT-trigger-FastDMA/m-p/1794202#M20872</link>
      <description>&lt;P&gt;HW:S32R45+tef82xx&lt;/P&gt;&lt;P&gt;RSDK1.1.0&lt;/P&gt;&lt;P&gt;bsp33&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can the SPT trigger FastDMA once when the SPT RFFT processes 1/2 frame, and then trigger FastDMA again when the entire frame RFFT is complete?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Will the ADC data in the chirp buffer be lost or overwritten between the SPT evt and wait commands?&amp;nbsp;&lt;/SPAN&gt;thank you.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;As a supplement,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;When TEF82xx sends two chirps data, it will trigger the SPT to start&amp;nbsp; RFFT without waiting for all FMCW chirps to be sent over.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;like this:&lt;/P&gt;&lt;P&gt;/*=========================================================================&lt;BR /&gt;* LOOP: loop count 2 as SDADC sample array is double buffered, array holds samples of two chirps&lt;BR /&gt;*=========================================================================*/&lt;BR /&gt;loop #2&lt;/P&gt;&lt;P&gt;/*=========================================================================&lt;BR /&gt;* LOOP: loop count is chirp number per frame divided by two as samples of two chirps are buffered&lt;BR /&gt;*=========================================================================*/&lt;BR /&gt;loop #(CHIRPS_PER_FRAME &amp;gt;&amp;gt; 2)&lt;/P&gt;&lt;P&gt;/*=========================================================================&lt;BR /&gt;* LOOP: loop count 2 as SDADC sample array is double buffered, array holds samples of two chirps&lt;BR /&gt;*=========================================================================*/&lt;BR /&gt;loop #2&lt;/P&gt;&lt;P&gt;/*=========================================================================&lt;BR /&gt;* START of THREAD SCS0&lt;BR /&gt;*=========================================================================*/&lt;BR /&gt;thread .thd_scs0&lt;/P&gt;&lt;P&gt;/*=========================================================================&lt;BR /&gt;* PDMA: transfer SDADC samples from even/odd chirp of all channels(CH#0..CH#7) from CBRAM/SRAM to OPRAM&lt;BR /&gt;*=========================================================================*/&lt;BR /&gt;pdma.ind .signext .16real .sysram2opram .sync .notrace .nocoherent, SAMPLES_PER_CHIRP, RSDK_SPT_RANGE_INPUT_BASE_ADDR, WR_11, 0x0, 0x1, 0x0, 0x8&lt;BR /&gt;pdma.ind .signext .16real .sysram2opram .sync .notrace .nocoherent, SAMPLES_PER_CHIRP, RSDK_SPT_RANGE_INPUT_BASE_ADDR, WR_12, 0x0, 0x1, 0x0, 0x8&lt;/P&gt;&lt;P&gt;......&lt;BR /&gt;......&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/*=========================================================================&lt;BR /&gt;* STOP of THREAD SCS0&lt;BR /&gt;*=========================================================================*/&lt;BR /&gt;stop&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*=========================================================================&lt;BR /&gt;* NEXT: end of inner loop&lt;BR /&gt;*=========================================================================*/&lt;BR /&gt;next&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;/*=========================================================================&lt;BR /&gt;* NEXT: end of outer loop&lt;BR /&gt;*=========================================================================*/&lt;BR /&gt;next&lt;/P&gt;&lt;P&gt;/*=========================================================================&lt;BR /&gt;* EVT: set event-0x1f&lt;BR /&gt;*=========================================================================*/&lt;BR /&gt;&lt;STRONG&gt;evt.cpu 0x1F&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;/*=========================================================================&lt;BR /&gt;* WAIT: wait for SW generated event&lt;BR /&gt;*=========================================================================*/&lt;BR /&gt;&lt;STRONG&gt;wait.cpu 0x1F&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/*=========================================================================&lt;BR /&gt;&amp;nbsp;* NEXT: end of inner loop&lt;BR /&gt;&amp;nbsp;*=========================================================================*/&lt;BR /&gt;&amp;nbsp;next&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 06:11:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Can-the-SPT-trigger-FastDMA/m-p/1794202#M20872</guid>
      <dc:creator>CelineChan</dc:creator>
      <dc:date>2024-01-24T06:11:12Z</dc:date>
    </item>
    <item>
      <title>回复： Can the SPT trigger FastDMA?</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Can-the-SPT-trigger-FastDMA/m-p/1795046#M20899</link>
      <description>&lt;P&gt;The evt command can already trigger the CPU to start Fast DMA which send RFFT result data from SRAM to DDR, but the second half of the DDR data is incorrect.&lt;/P&gt;&lt;P&gt;I have the following two questions that need help. Could someone please help me? Thank you.&lt;BR /&gt;&lt;BR /&gt;1.Does the SPT RFFT need to complete processing an entire frame of data before starting Fast DMA？&lt;BR /&gt;2.Can I start Fast DMA when SPT RFFT processing only half of the frame? How can I starting FDMA to send data when the RFFT has processed half of the frame?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 03:07:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Can-the-SPT-trigger-FastDMA/m-p/1795046#M20899</guid>
      <dc:creator>CelineChan</dc:creator>
      <dc:date>2024-01-25T03:07:42Z</dc:date>
    </item>
  </channel>
</rss>

