<?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>Kinetis MicrocontrollersのトピックRe: SPI with DMA/DMUX programming</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-with-DMA-DMUX-programming/m-p/689202#M42416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mikael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This SPI/DMA issue question is quite similar with your previous posted thread (&lt;A href="https://community.nxp.com/thread/456058"&gt;Configure DMA with SPI master&lt;/A&gt;&amp;nbsp;), Could you check my suggested reference SPI/DMA examples at&lt;A _jive_internal="true" href="https://community.nxp.com/thread/456058"&gt; previous posted thread&lt;/A&gt;? Thanks.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Aug 2017 03:21:59 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2017-08-03T03:21:59Z</dc:date>
    <item>
      <title>SPI with DMA/DMUX programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-with-DMA-DMUX-programming/m-p/689201#M42415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;I would like to know how to configure the different peripherals (SPI/DMA/DMAMUX/GPIO) to build the following mechanism:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Overview:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I have SPI0 configured as master @25Mhz (to an external ADC).&lt;BR /&gt;- I have an external interrupt firing at 42 Khz on port D.&lt;BR /&gt;- This interrupt is a trigger to extract 12 bytes each time the interrupt fires.&lt;BR /&gt;- Each 16 interrupts, I need another interrupt (DMA finish for example) to send the received data to an external memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course at this frequency, I don't want to handle each interrupt in my application. I already tried that and I can't handle more than 16Khz.&lt;/P&gt;&lt;P&gt;So I would like to configure the DMA minor loop at 12 bytes and the DMA major loop at 16 times.&lt;BR /&gt;In other words, I would like to handle a data block size equal to 16 times * 12 bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please how can I build this complex mechanism ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Until now I succeeded to configure my DMA to be triggered by the GPIO pin, but only for memory to memory transfer.&lt;BR /&gt;SPI to memory and memory to SPI transfer seems to be more complex and doesn't work me at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fsl_dspi_edma driver is not good for me because it doesn't allow me to configure minor and major loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Mikael&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 13:04:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-with-DMA-DMUX-programming/m-p/689201#M42415</guid>
      <dc:creator>mikaelelharrar</dc:creator>
      <dc:date>2017-07-31T13:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: SPI with DMA/DMUX programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-with-DMA-DMUX-programming/m-p/689202#M42416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mikael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This SPI/DMA issue question is quite similar with your previous posted thread (&lt;A href="https://community.nxp.com/thread/456058"&gt;Configure DMA with SPI master&lt;/A&gt;&amp;nbsp;), Could you check my suggested reference SPI/DMA examples at&lt;A _jive_internal="true" href="https://community.nxp.com/thread/456058"&gt; previous posted thread&lt;/A&gt;? Thanks.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 03:21:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SPI-with-DMA-DMUX-programming/m-p/689202#M42416</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2017-08-03T03:21:59Z</dc:date>
    </item>
  </channel>
</rss>

