<?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のトピックUsing one DMA channel for sending values to several CnV regitsters of one FTM on K28</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-one-DMA-channel-for-sending-values-to-several-CnV/m-p/627191#M37635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to use PIT to trigger DMA that will put next PWM (CnV) value to different sequential channels of FTM3 at K28 CPU. I'v tried to use destination offset = 8 in minor cycle but it did not work. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Apr 2017 19:31:43 GMT</pubDate>
    <dc:creator>mykhayloshcherb</dc:creator>
    <dc:date>2017-04-19T19:31:43Z</dc:date>
    <item>
      <title>Using one DMA channel for sending values to several CnV regitsters of one FTM on K28</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-one-DMA-channel-for-sending-values-to-several-CnV/m-p/627191#M37635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to use PIT to trigger DMA that will put next PWM (CnV) value to different sequential channels of FTM3 at K28 CPU. I'v tried to use destination offset = 8 in minor cycle but it did not work. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 19:31:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-one-DMA-channel-for-sending-values-to-several-CnV/m-p/627191#M37635</guid>
      <dc:creator>mykhayloshcherb</dc:creator>
      <dc:date>2017-04-19T19:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using one DMA channel for sending values to several CnV regitsters of one FTM on K28</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-one-DMA-channel-for-sending-values-to-several-CnV/m-p/627192#M37636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Mykhaylo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you have to use nimor loop to write multiple CnV registers, and the end of minor loop, you can trigger another link DMA channels to write the FTM_PWMLoad register.&lt;/P&gt;&lt;P&gt;I attach an example, which use FTM0 channel4 or CH4F flag to trigger DMA based on K40, hope it can help you. &lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 06:22:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-one-DMA-channel-for-sending-values-to-several-CnV/m-p/627192#M37636</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-04-20T06:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using one DMA channel for sending values to several CnV regitsters of one FTM on K28</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-one-DMA-channel-for-sending-values-to-several-CnV/m-p/627193#M37637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry but I did not find where do you change multiple CnV values by one DMA channel. Can you explain?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 13:14:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-one-DMA-channel-for-sending-values-to-several-CnV/m-p/627193#M37637</guid>
      <dc:creator>mykhayloshcherb</dc:creator>
      <dc:date>2017-04-20T13:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using one DMA channel for sending values to several CnV regitsters of one FTM on K28</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-one-DMA-channel-for-sending-values-to-several-CnV/m-p/627194#M37638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Mykhaylo,&lt;/P&gt;&lt;P&gt;Unfortunately, the code only demos how to use channel link to write the FTM_PWMLoad register, if you want to have DMA write write for example six FTM_CnV registers, you have to change the code.&lt;/P&gt;&lt;P&gt;1)you have to set the EMLM bit in DMA_CR.&lt;/P&gt;&lt;P&gt;2)set the DMLOE bit, MLOFF, NBYTES bits&lt;/P&gt;&lt;P&gt;DMA_TCDn_NBYTES_MLOFFYES=0x00;&lt;/P&gt;&lt;P&gt;DMA_TCDn_NBYTES_MLOFFYES|=(1&amp;lt;&amp;lt;30)|((C2V-C1V)&amp;lt;&amp;lt;10) | (6*4);&lt;/P&gt;&lt;P&gt;it is okay&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 nRong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2017 06:38:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-one-DMA-channel-for-sending-values-to-several-CnV/m-p/627194#M37638</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-04-21T06:38:12Z</dc:date>
    </item>
  </channel>
</rss>

