<?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>i.MX ProcessorsのトピックSDMA configuration</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/SDMA-configuration/m-p/243614#M20730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Freescale&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on imx257 PDK platform. I want to set SDMA to work with UART, but it doesn't work correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I follow the step that indicated in a CSPI/SDMA example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/301467"&gt;MX25 SDMA CSPI example&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my configuration flow:&lt;/P&gt;&lt;P&gt;(Channel_10 for memory_2_UART(Tx) transfer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initial CCB[0] and CCB[10]&lt;/P&gt;&lt;P&gt;↓&lt;/P&gt;&lt;P&gt;set BD[0] for context transfer&lt;/P&gt;&lt;P&gt;↓&lt;/P&gt;&lt;P&gt;set CONTXT[10] for memory_2_UART transfer (script add, event mask, Tx FIFO add, water mark)&lt;/P&gt;&lt;P&gt;↓&lt;/P&gt;&lt;P&gt;set BD[10] for memory_2_UART transfer(transfer size, src add in memory)&lt;/P&gt;&lt;P&gt;↓&lt;/P&gt;&lt;P&gt;set SDMA register (C0PTR, priority, event override, scratch RAM, ENB)&lt;/P&gt;&lt;P&gt;↓&lt;/P&gt;&lt;P&gt;start channel_0&lt;/P&gt;&lt;P&gt;↓&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Channel_0: 'D' bit OK&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;↓&lt;/P&gt;&lt;P&gt;enable UART Tx DMA trigger&lt;/P&gt;&lt;P&gt;↓&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Channel_10: 'D' bit OK&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;↓&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;But there is no any signal output from UART Tx pin.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any expert tell me why there is no signal output from UART even 'D' bit looks well. Is there any other point should I take in mind for initialization of SDMA macro?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Aug 2013 07:23:27 GMT</pubDate>
    <dc:creator>bwq1</dc:creator>
    <dc:date>2013-08-07T07:23:27Z</dc:date>
    <item>
      <title>SDMA configuration</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SDMA-configuration/m-p/243614#M20730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Freescale&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on imx257 PDK platform. I want to set SDMA to work with UART, but it doesn't work correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I follow the step that indicated in a CSPI/SDMA example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/301467"&gt;MX25 SDMA CSPI example&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my configuration flow:&lt;/P&gt;&lt;P&gt;(Channel_10 for memory_2_UART(Tx) transfer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initial CCB[0] and CCB[10]&lt;/P&gt;&lt;P&gt;↓&lt;/P&gt;&lt;P&gt;set BD[0] for context transfer&lt;/P&gt;&lt;P&gt;↓&lt;/P&gt;&lt;P&gt;set CONTXT[10] for memory_2_UART transfer (script add, event mask, Tx FIFO add, water mark)&lt;/P&gt;&lt;P&gt;↓&lt;/P&gt;&lt;P&gt;set BD[10] for memory_2_UART transfer(transfer size, src add in memory)&lt;/P&gt;&lt;P&gt;↓&lt;/P&gt;&lt;P&gt;set SDMA register (C0PTR, priority, event override, scratch RAM, ENB)&lt;/P&gt;&lt;P&gt;↓&lt;/P&gt;&lt;P&gt;start channel_0&lt;/P&gt;&lt;P&gt;↓&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Channel_0: 'D' bit OK&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;↓&lt;/P&gt;&lt;P&gt;enable UART Tx DMA trigger&lt;/P&gt;&lt;P&gt;↓&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Channel_10: 'D' bit OK&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;↓&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;But there is no any signal output from UART Tx pin.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any expert tell me why there is no signal output from UART even 'D' bit looks well. Is there any other point should I take in mind for initialization of SDMA macro?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 07:23:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SDMA-configuration/m-p/243614#M20730</guid>
      <dc:creator>bwq1</dc:creator>
      <dc:date>2013-08-07T07:23:27Z</dc:date>
    </item>
  </channel>
</rss>

