<?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>S32KのトピックRe: Field oriented control : ADC sample delay</title>
    <link>https://community.nxp.com/t5/S32K/Field-oriented-control-ADC-sample-delay/m-p/2315537#M56719</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;from the description I am not fully sure how your measurement is done, which signals are used.&lt;BR /&gt;According&amp;nbsp;&lt;SPAN&gt;AN13767 and its project setting, The BCTU list contains 4 items, 2 parallel conversions are done on ADC0/ADC1. This is triggered by eMIOS0 ch4 flag, at falling edge of ch4 output signal. The&amp;nbsp;Bctu_FIFO1_WatermarkNotification is called after those 4 conversions are done and result stored onto FIFO1. So you can add some GPIO setting/toggling into this notification and measure this with respect of&amp;nbsp;eMIOS0 ch4 output. This should be within 100us period and notification delay much less.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Feb 2026 11:04:38 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2026-02-10T11:04:38Z</dc:date>
    <item>
      <title>Field oriented control : ADC sample delay</title>
      <link>https://community.nxp.com/t5/S32K/Field-oriented-control-ADC-sample-delay/m-p/2304712#M56532</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I work on the example design MBDT AN&lt;SPAN class=""&gt;13902. This motor algorithm works at 10kHz, so ADC and PWM are synchronous.&lt;BR /&gt;&lt;BR /&gt;The AN13767 is the same SW without MBDT. And in this application note, we can see the ADC samples are processed directly during the "&lt;SPAN&gt;"FOC calculation". So, during the same 100µs time.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeremyC_1-1770042316284.png" style="width: 700px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/375172iEA3B70066EDC5A21/image-dimensions/700x489?v=v2" width="700" height="489" role="button" title="JeremyC_1-1770042316284.png" alt="JeremyC_1-1770042316284.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I added a comparator on the same ADC input to trig a GPIO when the signal is above its middle value. And see a delay of 224µs between the theoretical trigger (the physical signal) and the output GPIO signal, so more than 2 loop times. (We know a GPIO can rise and fall multiple times in the same 100µs, so its rise time is almost negligible)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeremyC_3-1770042712982.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/375173i28C063DBFECD3282/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeremyC_3-1770042712982.png" alt="JeremyC_3-1770042712982.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This time is the minimal time achievable, because the input ADC signal is not synchronous to the ADC, the real delay varies from 224µs to 324µs. But keep in mind 224µs is the real delay.&lt;/P&gt;&lt;P&gt;Do you know a reason which could explain this ?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Jérémy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 14:40:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Field-oriented-control-ADC-sample-delay/m-p/2304712#M56532</guid>
      <dc:creator>JeremyC</dc:creator>
      <dc:date>2026-02-02T14:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Field oriented control : ADC sample delay</title>
      <link>https://community.nxp.com/t5/S32K/Field-oriented-control-ADC-sample-delay/m-p/2315537#M56719</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;from the description I am not fully sure how your measurement is done, which signals are used.&lt;BR /&gt;According&amp;nbsp;&lt;SPAN&gt;AN13767 and its project setting, The BCTU list contains 4 items, 2 parallel conversions are done on ADC0/ADC1. This is triggered by eMIOS0 ch4 flag, at falling edge of ch4 output signal. The&amp;nbsp;Bctu_FIFO1_WatermarkNotification is called after those 4 conversions are done and result stored onto FIFO1. So you can add some GPIO setting/toggling into this notification and measure this with respect of&amp;nbsp;eMIOS0 ch4 output. This should be within 100us period and notification delay much less.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 11:04:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Field-oriented-control-ADC-sample-delay/m-p/2315537#M56719</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2026-02-10T11:04:38Z</dc:date>
    </item>
  </channel>
</rss>

