<?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>MPC5xxx中的主题 Re: Error DMA SPI</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Error-DMA-SPI/m-p/909397#M13574</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/davidtosenovjan"&gt;davidtosenovjan&lt;/A&gt;‌&amp;nbsp;Thanks for the quick reply, In this message is annexed to code im having the error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The project it is for the MPC5748g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards,&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Sep 2019 16:01:36 GMT</pubDate>
    <dc:creator>ailtonlopes</dc:creator>
    <dc:date>2019-09-11T16:01:36Z</dc:date>
    <item>
      <title>Error DMA SPI</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Error-DMA-SPI/m-p/909395#M13572</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;So I have a driver for the spi that is similar to the driver offer by the nxp and it works perfectly using interrupts to send and receive data, right now I'm having this issue when i try to use the dma do handle the writing and copying of the data from the spi registers. I realized that after i set the RSER bits to generate the spi request in tx and rx (the same way as done in the nxp drivers) as soon as i write the RSER register an error is raised to the tx channel the tx Source address and some configurations are also changed and I have no clue on what it is raising the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ailton Lopes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2019 21:23:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Error-DMA-SPI/m-p/909395#M13572</guid>
      <dc:creator>ailtonlopes</dc:creator>
      <dc:date>2019-09-10T21:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error DMA SPI</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Error-DMA-SPI/m-p/909396#M13573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you provide details about mentioned error? Which device is this question related to?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2019 10:31:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Error-DMA-SPI/m-p/909396#M13573</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2019-09-11T10:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error DMA SPI</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Error-DMA-SPI/m-p/909397#M13574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/davidtosenovjan"&gt;davidtosenovjan&lt;/A&gt;‌&amp;nbsp;Thanks for the quick reply, In this message is annexed to code im having the error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The project it is for the MPC5748g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards,&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2019 16:01:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Error-DMA-SPI/m-p/909397#M13574</guid>
      <dc:creator>ailtonlopes</dc:creator>
      <dc:date>2019-09-11T16:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error DMA SPI</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Error-DMA-SPI/m-p/909398#M13575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you rather show me how your configure TCD descriptors causing the error? Ideally debugger screenshots. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2019 13:26:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Error-DMA-SPI/m-p/909398#M13575</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2019-09-12T13:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error DMA SPI</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Error-DMA-SPI/m-p/909399#M13576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So in the first 3 screenshots there's the state of the DMA registers before writing the the SPI RSER register&lt;span class="lia-inline-image-display-wrapper" image-alt="DMA_PRIOR_ERROR.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/83329iD225008E46CF0E99/image-size/large?v=v2&amp;amp;px=999" role="button" title="DMA_PRIOR_ERROR.PNG" alt="DMA_PRIOR_ERROR.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is occurring in channel 3&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="TCD_PRIOR_ERROR.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/83459i461EFF7074D0A4D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="TCD_PRIOR_ERROR.PNG" alt="TCD_PRIOR_ERROR.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The line of code causing the error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="LINE_OF_CODE_CAUSING_DMA_ERROR.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/83697iF032CB337389FE64/image-size/large?v=v2&amp;amp;px=999" role="button" title="LINE_OF_CODE_CAUSING_DMA_ERROR.PNG" alt="LINE_OF_CODE_CAUSING_DMA_ERROR.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the dma regs after writing the RSER reg&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="DMA_AFTER_ERROR.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/84376iB589CF56459AF329/image-size/large?v=v2&amp;amp;px=999" role="button" title="DMA_AFTER_ERROR.PNG" alt="DMA_AFTER_ERROR.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And finally the TCD after the error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="TCD_AFTER_ERROR.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/83330i3D129F7BFAF737C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="TCD_AFTER_ERROR.PNG" alt="TCD_AFTER_ERROR.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ailton Lopes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2019 13:56:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Error-DMA-SPI/m-p/909399#M13576</guid>
      <dc:creator>ailtonlopes</dc:creator>
      <dc:date>2019-09-12T13:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error DMA SPI</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Error-DMA-SPI/m-p/909400#M13577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DSPIx_PUSHR register needs to be accessed by 32-bit write. Then it'll work for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2019 11:26:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Error-DMA-SPI/m-p/909400#M13577</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2019-09-13T11:26:59Z</dc:date>
    </item>
  </channel>
</rss>

