<?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>LPC MicrocontrollersのトピックLPC4330 SDIF DMA Starting additional data write transfers on open ended multi-block writes</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4330-SDIF-DMA-Starting-additional-data-write-transfers-on/m-p/656092#M26062</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm attempting to perform an open ended multi-block write operation to a SD memory card.&amp;nbsp; Once the first multi-block transfer is finished (not sending auto_stop at the end), the next DMA is setup with&amp;nbsp; Chip_SDIF_SetByteCnt() and Chip_SDIF_DmaSetup().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the card is no longer busy, how do I initiate that DMA data transfer withing issuing a command on the CMD line?&amp;nbsp; I've been through the registers a few times and can't seem to see how to do this.&amp;nbsp; Or is there a SD command that would be safe to send that would allow proper data write transfer to continue while the card is in multi-block write mode and start the DMA transfer that has been setup?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Oct 2016 18:34:40 GMT</pubDate>
    <dc:creator>nsmith17044</dc:creator>
    <dc:date>2016-10-20T18:34:40Z</dc:date>
    <item>
      <title>LPC4330 SDIF DMA Starting additional data write transfers on open ended multi-block writes</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4330-SDIF-DMA-Starting-additional-data-write-transfers-on/m-p/656092#M26062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm attempting to perform an open ended multi-block write operation to a SD memory card.&amp;nbsp; Once the first multi-block transfer is finished (not sending auto_stop at the end), the next DMA is setup with&amp;nbsp; Chip_SDIF_SetByteCnt() and Chip_SDIF_DmaSetup().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the card is no longer busy, how do I initiate that DMA data transfer withing issuing a command on the CMD line?&amp;nbsp; I've been through the registers a few times and can't seem to see how to do this.&amp;nbsp; Or is there a SD command that would be safe to send that would allow proper data write transfer to continue while the card is in multi-block write mode and start the DMA transfer that has been setup?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 18:34:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4330-SDIF-DMA-Starting-additional-data-write-transfers-on/m-p/656092#M26062</guid>
      <dc:creator>nsmith17044</dc:creator>
      <dc:date>2016-10-20T18:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4330 SDIF DMA Starting additional data write transfers on open ended multi-block writes</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4330-SDIF-DMA-Starting-additional-data-write-transfers-on/m-p/656093#M26063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One of the solutions I tried was to send a 'send status' command with the MCI_CMD_DAT_WR and MCI_CMD_DAT_EXP bits set in the command register.&amp;nbsp; I had hoped that this will start the DMA transfer.&amp;nbsp; This does issue the command on the CMD bus line but still does NOT start the DMA transfer of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I had hoped that simply setting the MCI_CMD_DAT_WR and MCI_CMD_DAT_EXP bits would trick the SDIF DMA into starting the initialized descriptor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FIFO is cleared and the DMA initialized with:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // setup the SDIF DMA to write the data&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_SDIF_SetClearIntFifo(pSDMMC);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_SDIF_SetByteCnt(pSDMMC, cbWrote);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_SDIF_DmaSetup(pSDMMC, &amp;amp;g_card_info-&amp;gt;sdif_dev, (uint32_t) buffer, cbWrote);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_SDIF_ClrIntStatus( LPC_SDMMC , 0xFFFFFFFF);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me how to continue to write data via the SDIF DMA?&amp;nbsp; Or a way to perform the 'continued' open-ended multiblock write process?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 15:51:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4330-SDIF-DMA-Starting-additional-data-write-transfers-on/m-p/656093#M26063</guid>
      <dc:creator>nsmith17044</dc:creator>
      <dc:date>2016-10-24T15:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4330 SDIF DMA Starting additional data write transfers on open ended multi-block writes</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4330-SDIF-DMA-Starting-additional-data-write-transfers-on/m-p/656094#M26064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PROBLEM SOLVED:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I watched more carefully I noticed that there was no command response after the SEND STATUS.&amp;nbsp; I realized that I wasn't supplying a proper argument for SEND STATUS and therefore the card wasn't responding with a response.&amp;nbsp; After correcting this oversight, the command response was returned and I saw the DMA start as expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Evidently the SDIF needs to see a proper command response (even it it is not expected) for the SDIF DMA to start.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 18:56:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4330-SDIF-DMA-Starting-additional-data-write-transfers-on/m-p/656094#M26064</guid>
      <dc:creator>nsmith17044</dc:creator>
      <dc:date>2016-10-24T18:56:25Z</dc:date>
    </item>
  </channel>
</rss>

