<?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>Processor Expert Softwareのトピック[MPC5746C]  PIT+BCTU+ADC+DMA</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/MPC5746C-PIT-BCTU-ADC-DMA/m-p/1516556#M5236</link>
    <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I wanna use PIT to trigger the BCTU, to trigger a conversion list for SAR ADC sampling. and then want to use the BCTU to trigger a DMA transfer that will push that data into a location in RAM. I have done something, some succeeded,and some failed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I tried to use pit channel 7 to trigger BCTU channel 55 , and I found that&amp;nbsp;pit channel 7 worked normally,but bctu was not&amp;nbsp;triggered successfully. And then I&lt;FONT color="#00FF00"&gt; used software to&amp;nbsp;trigger BCTU ,I succeeded.&amp;nbsp; I could read data from ADC1_DATA, the register of BCTU. And then I found ADC had been triggered Successfully&lt;/FONT&gt;. But eDma failed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;So I have two&amp;nbsp;&lt;A target="_blank"&gt;questions:&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;SPAN&gt;(1) How to use hardware to trigger bctu?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;SPAN&gt;(2)How to use bctu to trigger DMA request?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; I read the manual, and I did some configuration on processor expert, like the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chenls_1-1662217042033.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192381i2424DD5A2854E2F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chenls_1-1662217042033.png" alt="chenls_1-1662217042033.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chenls_0-1662217747758.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192385i53D935B970F20247/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chenls_0-1662217747758.png" alt="chenls_0-1662217747758.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chenls_4-1662217302326.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192384i226C81285666B469/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chenls_4-1662217302326.png" alt="chenls_4-1662217302326.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chenls_3-1662217188238.png" style="width: 658px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192383i9BDACFE601C39853/image-dimensions/658x74?v=v2" width="658" height="74" role="button" title="chenls_3-1662217188238.png" alt="chenls_3-1662217188238.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So Could you tell me what was wrong about my configuration, and how to resolve my questions above i have mentioned. Thanks.&amp;nbsp;&lt;SPAN&gt;The sincerity anticipates your reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 03 Sep 2022 15:10:47 GMT</pubDate>
    <dc:creator>chenls</dc:creator>
    <dc:date>2022-09-03T15:10:47Z</dc:date>
    <item>
      <title>[MPC5746C]  PIT+BCTU+ADC+DMA</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/MPC5746C-PIT-BCTU-ADC-DMA/m-p/1516556#M5236</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I wanna use PIT to trigger the BCTU, to trigger a conversion list for SAR ADC sampling. and then want to use the BCTU to trigger a DMA transfer that will push that data into a location in RAM. I have done something, some succeeded,and some failed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I tried to use pit channel 7 to trigger BCTU channel 55 , and I found that&amp;nbsp;pit channel 7 worked normally,but bctu was not&amp;nbsp;triggered successfully. And then I&lt;FONT color="#00FF00"&gt; used software to&amp;nbsp;trigger BCTU ,I succeeded.&amp;nbsp; I could read data from ADC1_DATA, the register of BCTU. And then I found ADC had been triggered Successfully&lt;/FONT&gt;. But eDma failed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;So I have two&amp;nbsp;&lt;A target="_blank"&gt;questions:&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;SPAN&gt;(1) How to use hardware to trigger bctu?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;SPAN&gt;(2)How to use bctu to trigger DMA request?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; I read the manual, and I did some configuration on processor expert, like the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chenls_1-1662217042033.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192381i2424DD5A2854E2F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chenls_1-1662217042033.png" alt="chenls_1-1662217042033.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chenls_0-1662217747758.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192385i53D935B970F20247/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chenls_0-1662217747758.png" alt="chenls_0-1662217747758.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chenls_4-1662217302326.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192384i226C81285666B469/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chenls_4-1662217302326.png" alt="chenls_4-1662217302326.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chenls_3-1662217188238.png" style="width: 658px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/192383i9BDACFE601C39853/image-dimensions/658x74?v=v2" width="658" height="74" role="button" title="chenls_3-1662217188238.png" alt="chenls_3-1662217188238.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So Could you tell me what was wrong about my configuration, and how to resolve my questions above i have mentioned. Thanks.&amp;nbsp;&lt;SPAN&gt;The sincerity anticipates your reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Sep 2022 15:10:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/MPC5746C-PIT-BCTU-ADC-DMA/m-p/1516556#M5236</guid>
      <dc:creator>chenls</dc:creator>
      <dc:date>2022-09-03T15:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: [MPC5746C]  PIT+BCTU+ADC+DMA</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/MPC5746C-PIT-BCTU-ADC-DMA/m-p/1521178#M5246</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;1) trigger config looks normal and should be enough to call below with trgIndex=55&lt;/P&gt;
&lt;P&gt;BCTU_DRV_ConfigTriggerSingle(INST_BCTU1, trigIndex, &amp;amp;bctu1_trigConfig0, ADC_CHAN_NUM);&lt;BR /&gt;DEV_ASSERT(status == STATUS_SUCCESS);&lt;/P&gt;
&lt;P&gt;/* Move out of configuration mode */&lt;BR /&gt;BCTU_DRV_WriteGlobalTriggerEn(INST_BCTU1, true);&lt;/P&gt;
&lt;P&gt;2) if ADC_1 is triggered and&amp;nbsp;ADC1DR data transferring by DMA enabled, then you should select BCTU[1] request within DMA setting.&amp;nbsp;&lt;BR /&gt;Finally with software DMA channel have to be configured. You can refer to edma_transfer example.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 09:59:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/MPC5746C-PIT-BCTU-ADC-DMA/m-p/1521178#M5246</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2022-09-13T09:59:51Z</dc:date>
    </item>
  </channel>
</rss>

