<?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のトピックSimultaneous DMA transfer for DAC and I2C FRDMK64F</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Simultaneous-DMA-transfer-for-DAC-and-I2C-FRDMK64F/m-p/728220#M44538</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am transferring PCM audio to DAC peripheral via DMA in circular manner. Here the DMA is continuous and triggered by PIT at 44100 Hz. I cannot halt this at any time. I am decoding MP3 and transferring to DAC via DMA, while DMA is throwing first half of PCM, I will be decoding and filling second half and vice versa, this is working fine for now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am transferring a frame buffer to OLED in one shot which I tested already with DMA transfer and it is working fine. But if DAC transfer is already happening via DMA as a continuous circular process and in the middle of it how can I do I2C transfer via DMA without affecting the DAC transfer ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I couldn't find a solution so I am using I2C BULK transfer via Interrupt in non blocking mode which works fine for me with a little penalty of ISR hit which is ok for my application. But I am curious to know if there is any way to do both DMA simultaneously ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like it is having only one DMA0 in hardware and I don't know if it can do simultaneous transfer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jan 2018 09:11:02 GMT</pubDate>
    <dc:creator>vinods</dc:creator>
    <dc:date>2018-01-16T09:11:02Z</dc:date>
    <item>
      <title>Simultaneous DMA transfer for DAC and I2C FRDMK64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Simultaneous-DMA-transfer-for-DAC-and-I2C-FRDMK64F/m-p/728220#M44538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am transferring PCM audio to DAC peripheral via DMA in circular manner. Here the DMA is continuous and triggered by PIT at 44100 Hz. I cannot halt this at any time. I am decoding MP3 and transferring to DAC via DMA, while DMA is throwing first half of PCM, I will be decoding and filling second half and vice versa, this is working fine for now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am transferring a frame buffer to OLED in one shot which I tested already with DMA transfer and it is working fine. But if DAC transfer is already happening via DMA as a continuous circular process and in the middle of it how can I do I2C transfer via DMA without affecting the DAC transfer ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I couldn't find a solution so I am using I2C BULK transfer via Interrupt in non blocking mode which works fine for me with a little penalty of ISR hit which is ok for my application. But I am curious to know if there is any way to do both DMA simultaneously ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like it is having only one DMA0 in hardware and I don't know if it can do simultaneous transfer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 09:11:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Simultaneous-DMA-transfer-for-DAC-and-I2C-FRDMK64F/m-p/728220#M44538</guid>
      <dc:creator>vinods</dc:creator>
      <dc:date>2018-01-16T09:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Simultaneous DMA transfer for DAC and I2C FRDMK64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Simultaneous-DMA-transfer-for-DAC-and-I2C-FRDMK64F/m-p/728221#M44539</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;The K64 has one eDMA module, which could allow one channel be active at the same time.&lt;/P&gt;&lt;P&gt;Customer can try to use the channel preemption mechanism.&lt;/P&gt;&lt;P&gt;I2C related DMA channel with higher priority.&lt;/P&gt;&lt;P&gt;Customer could try and check if the transfer data to DAC be affected during I2C DMA channel active phase.&lt;/P&gt;&lt;P&gt;Thank you for the attention.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Mike&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, 18 Jan 2018 04:19:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Simultaneous-DMA-transfer-for-DAC-and-I2C-FRDMK64F/m-p/728221#M44539</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2018-01-18T04:19:41Z</dc:date>
    </item>
  </channel>
</rss>

