<?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 MC56F83769 - Reading SPI Using DMA in Digital Signal Controllers</title>
    <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F83769-Reading-SPI-Using-DMA/m-p/1999137#M3607</link>
    <description>&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using MC56F83768 microcontroller and I want to use DMA to read data from SPI0, which is configured as a slave and only receives data. Is there any code example? Also, to set a proper SOURCE in DMAMUX, I need to know DMA request sources (slot numbers) for peripherals, which I couldn’t find in the MC56F83xxx Reference Manual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2024 17:02:42 GMT</pubDate>
    <dc:creator>dino_ct</dc:creator>
    <dc:date>2024-11-21T17:02:42Z</dc:date>
    <item>
      <title>MC56F83769 - Reading SPI Using DMA</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F83769-Reading-SPI-Using-DMA/m-p/1999137#M3607</link>
      <description>&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using MC56F83768 microcontroller and I want to use DMA to read data from SPI0, which is configured as a slave and only receives data. Is there any code example? Also, to set a proper SOURCE in DMAMUX, I need to know DMA request sources (slot numbers) for peripherals, which I couldn’t find in the MC56F83xxx Reference Manual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 17:02:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F83769-Reading-SPI-Using-DMA/m-p/1999137#M3607</guid>
      <dc:creator>dino_ct</dc:creator>
      <dc:date>2024-11-21T17:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: MC56F83769 - Reading SPI Using DMA</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F83769-Reading-SPI-Using-DMA/m-p/2000726#M3609</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I suppose that the SDK example has the code to use DMA to transfer data&amp;nbsp; between SPI and memory, if this example uses spi master mode, you can modify the mode from master to slave.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1732513453868.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/312209i9550ACD8E2655F4C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1732513453868.png" alt="xiangjun_rong_0-1732513453868.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can download SDK from the website:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://mcuxpresso.nxp.com/en" target="_blank"&gt;https://mcuxpresso.nxp.com/en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Xiangjun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 05:46:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F83769-Reading-SPI-Using-DMA/m-p/2000726#M3609</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-11-25T05:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: MC56F83769 - Reading SPI Using DMA</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F83769-Reading-SPI-Using-DMA/m-p/2000976#M3612</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can use any DMA channel to transfer data from SPI0 receiver data reg to memory(array). For example, you use DMA channel 7&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1732529037447.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/312279i07E52DA9C0B9F508/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1732529037447.png" alt="xiangjun_rong_0-1732529037447.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For MC56F83xxx, the SPI0 Receiver slot is 12, the SPI1 receiver slot is 14&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_1-1732529223686.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/312281i024A7C45790C7842/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_1-1732529223686.png" alt="xiangjun_rong_1-1732529223686.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can write&lt;/P&gt;
&lt;P&gt;*CHCFG7=1&amp;lt;&amp;lt;7|12; //for SPI0 receiver;&lt;/P&gt;
&lt;P&gt;*CHCFG7=1&amp;lt;&amp;lt;7|14; //for SPI1 receiver;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 10:09:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F83769-Reading-SPI-Using-DMA/m-p/2000976#M3612</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-11-25T10:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: MC56F83769 - Reading SPI Using DMA</title>
      <link>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F83769-Reading-SPI-Using-DMA/m-p/2008383#M3636</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your suggestions and apology for some delayed response – I was out of office for a few days.&lt;/P&gt;&lt;P&gt;I looked at driver examples for queud_spi and, actually, they cover both cases: master and slave spi. So, with some ideas from those examples and digging into the microcontroller’s manual, I got it working. I believe I should be all set (for now ).&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 16:57:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Digital-Signal-Controllers/MC56F83769-Reading-SPI-Using-DMA/m-p/2008383#M3636</guid>
      <dc:creator>dino_ct</dc:creator>
      <dc:date>2024-12-05T16:57:36Z</dc:date>
    </item>
  </channel>
</rss>

