<?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: Issue with using eDMA for CSI data transfer on imx rt1050 in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Issue-with-using-eDMA-for-CSI-data-transfer-on-imx-rt1050/m-p/811203#M1103</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is using eDMA to get CSI data instead of DMA dedicated for CSI a supported feature?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jun 2018 15:05:30 GMT</pubDate>
    <dc:creator>stephanie_kwan</dc:creator>
    <dc:date>2018-06-27T15:05:30Z</dc:date>
    <item>
      <title>Issue with using eDMA for CSI data transfer on imx rt1050</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Issue-with-using-eDMA-for-CSI-data-transfer-on-imx-rt1050/m-p/811202#M1102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use the eDMA (for example DMA0) to tranfer CSI data&amp;nbsp;to some specific&amp;nbsp;data buffers in memory instead of using the 2 CSI&amp;nbsp;DMA controllers but is having trouble with the transfer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp; setup the CSI config and eDMA config and transfer as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/* Set up the&amp;nbsp;CSI */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;CSI_Init(CSI, &amp;amp;csiConfig);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Set up the DMA &amp;amp; DMAMux */&lt;BR /&gt; DMAMUX_Init(DMAMUX);&lt;BR /&gt; DMAMUX_SetSource(DMAMUX, DMA_CSIRX_CHAN, kDmaRequestMuxCSI);&lt;BR /&gt; DMAMUX_EnableChannel(DMAMUX, DMA_CSIRX_CHAN);&lt;/P&gt;&lt;P&gt;EDMA_GetDefaultConfig(&amp;amp;edmaConfig);&lt;BR /&gt; EDMA_Init(DMA0, &amp;amp;edmaConfig);&lt;BR /&gt; EDMA_CreateHandle(&amp;amp;edmaRxHandle, DMA0, DMA_CSIRX_CHAN);&lt;BR /&gt; EDMA_SetCallback(&amp;amp;edmaRxHandle, EDMA_Callback, NULL);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Prepare and start EDMA transfer */&lt;BR /&gt; EDMA_PrepareTransfer(&amp;amp;transferConfig, (void *)CSI_RXFIFO_ADDR, sizeof(uint32_t), (void *)&amp;amp;customBuffer[buff_idx], sizeof(uint32_t), 32, BUFFER_LENGTH,kEDMA_PeripheralToMemory);&lt;/P&gt;&lt;P&gt;assert(EDMA_SubmitTransfer(&amp;amp;edmaRxHandle, &amp;amp;transferConfig) == kStatus_Success);&lt;BR /&gt; EDMA_EnableChannelInterrupts(edmaRxHandle.base, edmaRxHandle.channel,&lt;BR /&gt; kEDMA_MajorInterruptEnable);&lt;/P&gt;&lt;P&gt;EDMA_StartTransfer(&amp;amp;edmaRxHandle);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Enable CSI interrupt and CSI */&lt;/P&gt;&lt;P&gt;CSI_EnableInterrupts(CSI,&amp;nbsp; kCSI_RxFifoFullInterruptEnable );&lt;/P&gt;&lt;P&gt;csiEnable(CSI); // just set the CSI enable bit in CSICR18&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a test, the CSI interface should send an incrementing pattern. However, when I inspect data the data that I received in the custom buffer, I see the custom buffer is filled, but&amp;nbsp;the data is not the incrementing pattern. Instead there are only 2 unique words in the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is something in my EDMA configuration that is set incorrectly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stephanie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2018 20:39:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Issue-with-using-eDMA-for-CSI-data-transfer-on-imx-rt1050/m-p/811202#M1102</guid>
      <dc:creator>stephanie_kwan</dc:creator>
      <dc:date>2018-06-22T20:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with using eDMA for CSI data transfer on imx rt1050</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Issue-with-using-eDMA-for-CSI-data-transfer-on-imx-rt1050/m-p/811203#M1103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is using eDMA to get CSI data instead of DMA dedicated for CSI a supported feature?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 15:05:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Issue-with-using-eDMA-for-CSI-data-transfer-on-imx-rt1050/m-p/811203#M1103</guid>
      <dc:creator>stephanie_kwan</dc:creator>
      <dc:date>2018-06-27T15:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with using eDMA for CSI data transfer on imx rt1050</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Issue-with-using-eDMA-for-CSI-data-transfer-on-imx-rt1050/m-p/811204#M1104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kwan,&lt;/P&gt;&lt;P&gt;You could refer to the following application notes that provide examples of CSI usage on i.MX RT family:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12110.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN12110.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12103.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN12103.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this will be useful for you.&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;/Carlos&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, 12 Jul 2018 18:12:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Issue-with-using-eDMA-for-CSI-data-transfer-on-imx-rt1050/m-p/811204#M1104</guid>
      <dc:creator>CarlosCasillas</dc:creator>
      <dc:date>2018-07-12T18:12:32Z</dc:date>
    </item>
  </channel>
</rss>

