<?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 Re: Reset DMA transfer size in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reset-DMA-transfer-size/m-p/548143#M13604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bump&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 Jun 2016 01:12:14 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-19T01:12:14Z</dc:date>
    <item>
      <title>Reset DMA transfer size</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reset-DMA-transfer-size/m-p/548142#M13603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by cracc on Tue May 31 07:26:37 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I´m using an LPC4074 and I´m transfering data from UART2 to memory with the DMA.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This works fine as long as the packages are exactly as long as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Every now and then a data package is getting corrupted and some bytes are missing. For those cases I´ve written a routine, that cancels the transfer after a timeout has been reached.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I´ve got the problem, that in the Control Register the transfer size is not zero and I can´t reset it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I´ve already tried to halt the channel, disable the channel, but I can´t set the transfer size to zero.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I couldn´t find what I´m doing wrong. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anybody done something similar? Or an idea?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The channel is configured as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Control Register:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Terminal Count Interrupt enabled&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Destination Increment enabled&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Source Increment disabled&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Source Destination Transfer Width Byte&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Source Destination Burst Size Byte&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Transfersize depending on expected Data package&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Config Register:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lock disabled&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Terminal Count Interrupt not masked&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error Interrupt masked&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Transfertype Peripheral to Memory Flowcontroller DMA&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Destination Peripheral Memory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Source Peripheral UART2 Rx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Channel enabled&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:32:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reset-DMA-transfer-size/m-p/548142#M13603</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Reset DMA transfer size</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Reset-DMA-transfer-size/m-p/548143#M13604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bump&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 01:12:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Reset-DMA-transfer-size/m-p/548143#M13604</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-19T01:12:14Z</dc:date>
    </item>
  </channel>
</rss>

