<?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: MPC5777c - eTPU resolver ATO setting</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5777c-eTPU-resolver-ATO-setting/m-p/1982011#M26883</link>
    <description>&lt;P&gt;The table is wrong, following is correct (reserved values should be at the end, not in the middle):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="davidtosenovjan_0-1729855606264.png" style="width: 559px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306995iE4F5D814AA969395/image-dimensions/559x253?v=v2" width="559" height="253" role="button" title="davidtosenovjan_0-1729855606264.png" alt="davidtosenovjan_0-1729855606264.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;davidtosenovjan_0-1729855606264.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;SDADC modules are supposed to be marked as SDADC_1 to SDADC_4 (not 0-3). So in the table 4-6 it is incorrect (I have never noticed to be honest).&lt;/P&gt;
&lt;P&gt;Here I shared example code in the past:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5777C-SDADC-eTPU-triggered-GHS714/ta-p/1101495" target="_blank"&gt;https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5777C-SDADC-eTPU-triggered-GHS714/ta-p/1101495&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;However please be aware that once enabled the SDADC keeps running. There is no “Single conversion mode”. This requires that the CDATA register be continually drained by DMA or ISR. &lt;BR /&gt;eTPU triggering is only related to synchronous start of these modules, nothing else.&lt;/P&gt;
&lt;P&gt;From SDADC to eTPU there may be signal about valid data available or conversion watchdog limit and opposite way, eTPU may gate interrupt or DMA transfers.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="davidtosenovjan_2-1729856138005.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306997i5E9C3454BB8539D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="davidtosenovjan_2-1729856138005.png" alt="davidtosenovjan_2-1729856138005.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;davidtosenovjan_2-1729856138005.png&lt;/span&gt;&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;</description>
    <pubDate>Fri, 25 Oct 2024 11:39:21 GMT</pubDate>
    <dc:creator>davidtosenovjan</dc:creator>
    <dc:date>2024-10-25T11:39:21Z</dc:date>
    <item>
      <title>MPC5777c - eTPU resolver ATO setting</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777c-eTPU-resolver-ATO-setting/m-p/1980577#M26874</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I got some question for MPC5777c and eTPU resolver.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. SDADC&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I want to get Resolver's SIN and COS signal through this process : SDADC -&amp;gt; eDMA -&amp;gt; eTPU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are SDADC_0, SDADC_1, SDADC_2, SDADC_3 eDMA_B channel request allocation on MPC5777c Reference Manual .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hanryang_3-1729728631181.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306535i0C61BA05630E6B0A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hanryang_3-1729728631181.png" alt="hanryang_3-1729728631181.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;hanryang_3-1729728631181.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;There are SDADC_1, SDADC_2, SDADC_3, SDADC_4 trigger inputs on MPC5777c Reference Manual .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hanryang_1-1729728617744.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306533i4DFA3829FFF99D5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hanryang_1-1729728617744.png" alt="hanryang_1-1729728617744.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;hanryang_1-1729728617744.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hanryang_5-1729729787536.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306538i98A852B1063DC4D9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hanryang_5-1729729787536.png" alt="hanryang_5-1729729787536.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;hanryang_5-1729729787536.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Source Code doesn't have SDADC_0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q1.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Why are the numbers of SDADC modules different when used as "SDADC trigger inputs" and when used in "eDMA_B channel request allocation"?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q2.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In this case,&amp;nbsp;&lt;/STRONG&gt;&lt;U&gt;&lt;STRONG&gt;SDADC -&amp;gt; eDMA -&amp;gt; eTPU Which SDADC_x, SDADC_y should I use to get the SIN and COS signals of the resolver through this process?&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.eTPU resolver ATO Channel Setting&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm trying to apply eTPU Resolver for my SW.&lt;/P&gt;&lt;P&gt;The code in the figure below is included in etpuRDCCUG.pdf.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hanryang_4-1729728804693.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306536i65C9BD86DC1D1750/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hanryang_4-1729728804693.png" alt="hanryang_4-1729728804693.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;hanryang_4-1729728804693.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;ETPU_RESOLVER_ATO_CHAN /* chan_num_dma - etpuA1 generate dma request on channel DMA_A 28 */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q3.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Does this code mean that I need to use dma to access etpu to use ATO?&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for always helping me.&lt;/P&gt;&lt;P&gt;Have a great day.&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 00:32:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777c-eTPU-resolver-ATO-setting/m-p/1980577#M26874</guid>
      <dc:creator>hanryang</dc:creator>
      <dc:date>2024-10-24T00:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777c - eTPU resolver ATO setting</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777c-eTPU-resolver-ATO-setting/m-p/1982011#M26883</link>
      <description>&lt;P&gt;The table is wrong, following is correct (reserved values should be at the end, not in the middle):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="davidtosenovjan_0-1729855606264.png" style="width: 559px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306995iE4F5D814AA969395/image-dimensions/559x253?v=v2" width="559" height="253" role="button" title="davidtosenovjan_0-1729855606264.png" alt="davidtosenovjan_0-1729855606264.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;davidtosenovjan_0-1729855606264.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;SDADC modules are supposed to be marked as SDADC_1 to SDADC_4 (not 0-3). So in the table 4-6 it is incorrect (I have never noticed to be honest).&lt;/P&gt;
&lt;P&gt;Here I shared example code in the past:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5777C-SDADC-eTPU-triggered-GHS714/ta-p/1101495" target="_blank"&gt;https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5777C-SDADC-eTPU-triggered-GHS714/ta-p/1101495&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;However please be aware that once enabled the SDADC keeps running. There is no “Single conversion mode”. This requires that the CDATA register be continually drained by DMA or ISR. &lt;BR /&gt;eTPU triggering is only related to synchronous start of these modules, nothing else.&lt;/P&gt;
&lt;P&gt;From SDADC to eTPU there may be signal about valid data available or conversion watchdog limit and opposite way, eTPU may gate interrupt or DMA transfers.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="davidtosenovjan_2-1729856138005.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/306997i5E9C3454BB8539D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="davidtosenovjan_2-1729856138005.png" alt="davidtosenovjan_2-1729856138005.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;davidtosenovjan_2-1729856138005.png&lt;/span&gt;&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;</description>
      <pubDate>Fri, 25 Oct 2024 11:39:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777c-eTPU-resolver-ATO-setting/m-p/1982011#M26883</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2024-10-25T11:39:21Z</dc:date>
    </item>
  </channel>
</rss>

