<?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: I2S0_RDR1 on MK20DX256VLH7 3N36B, does it work with DMA?</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2S0-RDR1-on-MK20DX256VLH7-3N36B-does-it-work-with-DMA/m-p/399422#M22129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for replying.&lt;/P&gt;&lt;P&gt;Unfortunately, I could not find PTA16 in the datasheet I have available (K20P64M72SF1RM&amp;nbsp; V1.1 (Dec 2012). &lt;/P&gt;&lt;P&gt;The PTA goes only to PTA13.&lt;/P&gt;&lt;P&gt;I only have pin PTC11 for RDR1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT, the RCE set to 3 did the trick.&lt;/P&gt;&lt;P&gt;The system I was using predefined a macro that was enabling only (T/R)DR0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;knowing the solution, even the reference manual becomes clear!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As DMA worked as expected, I did not try polling the data from FIFO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Oct 2015 07:45:45 GMT</pubDate>
    <dc:creator>walterzimmer</dc:creator>
    <dc:date>2015-10-19T07:45:45Z</dc:date>
    <item>
      <title>I2S0_RDR1 on MK20DX256VLH7 3N36B, does it work with DMA?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2S0-RDR1-on-MK20DX256VLH7-3N36B-does-it-work-with-DMA/m-p/399420#M22127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to DMA both RDR data ports of a MK20DX256. I seems that RDR1 does not deliver data and remains always zero.&lt;/P&gt;&lt;P&gt;In fact DMA only from I2S0_RDR0 works, but simply replacing the source with I2S_RDR1 does not work, the DMA seem to run freely (i.e. MUCH more isr calls than with RDR0).&lt;/P&gt;&lt;P&gt;DMA from both data ports, gives the first good data on first data port and zero on second data port.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was observed on a Teensy3.1 by PJRC&lt;/P&gt;&lt;P&gt;All register settings were double checked and should also be no issue, as DMA from RDR0 works, and RDR1 is located only 4 bytes higher.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question: Is there a known issue with I2S0_RDR1, or using this port as source for DMA?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 15:10:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2S0-RDR1-on-MK20DX256VLH7-3N36B-does-it-work-with-DMA/m-p/399420#M22127</guid>
      <dc:creator>walterzimmer</dc:creator>
      <dc:date>2015-10-15T15:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: I2S0_RDR1 on MK20DX256VLH7 3N36B, does it work with DMA?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2S0-RDR1-on-MK20DX256VLH7-3N36B-does-it-work-with-DMA/m-p/399421#M22128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Walter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the errata of K20DX256, I dis not find any information with is related with your issue.&lt;/P&gt;&lt;P&gt;Firstly, you should configure the PTA16 pin as I2S0_RXD1 function(ALT7) by setting the MUX bits in PORTA_PCR16 while you enable GPIOA gate clock.&lt;/P&gt;&lt;P&gt;Secondly, you should set the RCE bits as 3 in I2S0_RCR3 register.&lt;/P&gt;&lt;P&gt;Furthermore, if you do not use DMA to transfer data, for example, you use only polling mode, and read the I2S0_RDR0/I2S0_RDR1 registers to two variables after the RFR bit in I2S0_RCSR is set, are the variables correct or not?&lt;/P&gt;&lt;P&gt;Hope it can give you clue.&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>Mon, 19 Oct 2015 04:08:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2S0-RDR1-on-MK20DX256VLH7-3N36B-does-it-work-with-DMA/m-p/399421#M22128</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2015-10-19T04:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: I2S0_RDR1 on MK20DX256VLH7 3N36B, does it work with DMA?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2S0-RDR1-on-MK20DX256VLH7-3N36B-does-it-work-with-DMA/m-p/399422#M22129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for replying.&lt;/P&gt;&lt;P&gt;Unfortunately, I could not find PTA16 in the datasheet I have available (K20P64M72SF1RM&amp;nbsp; V1.1 (Dec 2012). &lt;/P&gt;&lt;P&gt;The PTA goes only to PTA13.&lt;/P&gt;&lt;P&gt;I only have pin PTC11 for RDR1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT, the RCE set to 3 did the trick.&lt;/P&gt;&lt;P&gt;The system I was using predefined a macro that was enabling only (T/R)DR0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;knowing the solution, even the reference manual becomes clear!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As DMA worked as expected, I did not try polling the data from FIFO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 07:45:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I2S0-RDR1-on-MK20DX256VLH7-3N36B-does-it-work-with-DMA/m-p/399422#M22129</guid>
      <dc:creator>walterzimmer</dc:creator>
      <dc:date>2015-10-19T07:45:45Z</dc:date>
    </item>
  </channel>
</rss>

