<?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 回复： RT1170 Multi Channel ADC Read in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/RT1170-Multi-Channel-ADC-Read/m-p/1795244#M219191</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/228549"&gt;@Bkaya&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your interest in NXP MIMXRT series!&lt;/P&gt;
&lt;P&gt;For your needs, we suggest you read &lt;A href="https://community.nxp.com/t5/i-MX-RT/ADC-ETC-sync-mode-questions-on-rt1050/m-p/844735" target="_blank" rel="noopener"&gt;this post&lt;/A&gt; first, although it's about RT1050, it will be helpful for you to understand some concepts: ADC_ETC and conversion chain. Then, &lt;A href="https://www.nxp.com/docs/en/application-note/AN13097.pdf" target="_blank" rel="noopener"&gt;this AN&lt;/A&gt; might be what you are looking for.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Gavin&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jan 2024 08:27:01 GMT</pubDate>
    <dc:creator>Gavin_Jia</dc:creator>
    <dc:date>2024-01-25T08:27:01Z</dc:date>
    <item>
      <title>RT1170 Multi Channel ADC Read</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RT1170-Multi-Channel-ADC-Read/m-p/1793756#M219072</link>
      <description>&lt;P&gt;Hi everyone;&lt;/P&gt;&lt;P&gt;First of all, I start using RT1170 MCU Family for my applications and i have so many questions and problems. I read reference manual but i did not find application notes. Hence, i will try to explain and ask my questions one by one.&amp;nbsp;Thanks for your help.&lt;/P&gt;&lt;P&gt;In my application, i aim to read ADC inputs which are:&lt;/P&gt;&lt;P&gt;ADC2_CH1A&amp;nbsp;@ GPIO_AD_20&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ADC1_CH2A&amp;nbsp;@ GPIO_AD_10&lt;BR /&gt;ADC2_CH2A&amp;nbsp;@ GPIO_AD_22&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ADC1_CH4A&amp;nbsp;@ GPIO_AD_14&lt;BR /&gt;ADC2_CH2B&amp;nbsp;@ GPIO_AD_23&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ADC1_CH3A&amp;nbsp;@ GPIO_AD_12&lt;BR /&gt;ADC2_CH0A&amp;nbsp;@ GPIO_AD_18&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ADC1_CH5A&amp;nbsp;@ GPIO_AD_16&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I want to trigger both ADC1&amp;amp;ADC2 with one trigger and read values. On MCUXpresso, try to set configs as i mentioned but i did not understand the logic between LPADC &amp;amp; ETC. Therefore, here is my questions:&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; I have four channels for ADC1 &amp;amp; ADC2 so i set four command number. How do auto channel increment and next command work?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bkaya_1-1706004231418.png" style="width: 342px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/259627i9060CF3B87087897/image-dimensions/342x201?v=v2" width="342" height="201" role="button" title="Bkaya_1-1706004231418.png" alt="Bkaya_1-1706004231418.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bkaya_2-1706004257635.png" style="width: 347px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/259628i34C2B8C1CF798C7D/image-dimensions/347x202?v=v2" width="347" height="202" role="button" title="Bkaya_2-1706004257635.png" alt="Bkaya_2-1706004257635.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2) I asked myself that If i can implement trigger on adc config, why should i use ETC?. Figured that ETC can trigger both ADC1&amp;amp;2 at the same time. Therefore,&amp;nbsp;How does conversion triggers configuration work? Should I use conversion triggers and ETC at the same time? Should I use conversion trigger as much as command configuartions and match target command number with them ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bkaya_3-1706004587333.png" style="width: 624px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/259632iE166E41D0A479DB5/image-dimensions/624x147?v=v2" width="624" height="147" role="button" title="Bkaya_3-1706004587333.png" alt="Bkaya_3-1706004587333.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3) I saw on reference manual that ETC 0 and ETC 4 are working in sync mode. So i set two ETC are TC0 &amp;amp; TC1. I want to read channels without delay so i set "BackToBack Mode". Set conversion trigger which i set before on LPADC1. How does ADC target command ID work ? I want to use SW trigger for this project but i will use HW trigger later.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bkaya_6-1706005521088.png" style="width: 350px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/259636iD971FE73DA00F570/image-dimensions/350x313?v=v2" width="350" height="313" role="button" title="Bkaya_6-1706005521088.png" alt="Bkaya_6-1706005521088.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bkaya_7-1706005536480.png" style="width: 350px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/259637i92EF246055F267FC/image-dimensions/350x315?v=v2" width="350" height="315" role="button" title="Bkaya_7-1706005536480.png" alt="Bkaya_7-1706005536480.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In short, i want to read ADC1&amp;amp;2 values with one software trigger that i mentioned above but i did not make it. I shared my code below. Again thanks for help.&lt;/P&gt;&lt;P&gt;Best Regards.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basri KAYA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 10:44:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RT1170-Multi-Channel-ADC-Read/m-p/1793756#M219072</guid>
      <dc:creator>Bkaya</dc:creator>
      <dc:date>2024-01-23T10:44:32Z</dc:date>
    </item>
    <item>
      <title>回复： RT1170 Multi Channel ADC Read</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RT1170-Multi-Channel-ADC-Read/m-p/1795244#M219191</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/228549"&gt;@Bkaya&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your interest in NXP MIMXRT series!&lt;/P&gt;
&lt;P&gt;For your needs, we suggest you read &lt;A href="https://community.nxp.com/t5/i-MX-RT/ADC-ETC-sync-mode-questions-on-rt1050/m-p/844735" target="_blank" rel="noopener"&gt;this post&lt;/A&gt; first, although it's about RT1050, it will be helpful for you to understand some concepts: ADC_ETC and conversion chain. Then, &lt;A href="https://www.nxp.com/docs/en/application-note/AN13097.pdf" target="_blank" rel="noopener"&gt;this AN&lt;/A&gt; might be what you are looking for.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Gavin&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 08:27:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RT1170-Multi-Channel-ADC-Read/m-p/1795244#M219191</guid>
      <dc:creator>Gavin_Jia</dc:creator>
      <dc:date>2024-01-25T08:27:01Z</dc:date>
    </item>
  </channel>
</rss>

