<?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 Re: Regarding susequent PTU trigger timing difference in S12ZVML64 in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Regarding-susequent-PTU-trigger-timing-difference-in-S12ZVML64/m-p/1163865#M17510</link>
    <description>&lt;P&gt;Hello Pratibha,&lt;/P&gt;
&lt;P&gt;The delay between subsequent PTU triggers should be longer than the conversion time of the sequence that is triggered first.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1602068988849.png" style="width: 714px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126864i8B8FEA441A5CE082/image-dimensions/714x490?v=v2" width="714" height="490" role="button" title="danielmartynek_0-1602068988849.png" alt="danielmartynek_0-1602068988849.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;A single conversion time:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1602069293749.png" style="width: 737px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126865iD9800C100DB4F599/image-dimensions/737x222?v=v2" width="737" height="222" role="button" title="danielmartynek_1-1602069293749.png" alt="danielmartynek_1-1602069293749.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;After a trigger, it takes also 2 Bus Clock cycles and 2 ADC cycles until the sampling starts.&lt;/P&gt;
&lt;P&gt;Please note that the Pump Phase mentioned below is the "Buffer" Sample Time in the Figure above. &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_2-1602069676245.png" style="width: 730px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126866iD9342500897AE0B8/image-dimensions/730x168?v=v2" width="730" height="168" role="button" title="danielmartynek_2-1602069676245.png" alt="danielmartynek_2-1602069676245.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&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>Wed, 07 Oct 2020 11:25:57 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2020-10-07T11:25:57Z</dc:date>
    <item>
      <title>Regarding susequent PTU trigger timing difference in S12ZVML64</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Regarding-susequent-PTU-trigger-timing-difference-in-S12ZVML64/m-p/1163723#M17509</link>
      <description>&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;I am referring the S12ZVM family datasheet "MC9S12ZVMRM_V2.13"&lt;/P&gt;&lt;P&gt;As per the note given on Page No. 80 of datasheet,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pratibhasurabhi_0-1602049502336.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126850i2E262E3F31F4E74C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pratibhasurabhi_0-1602049502336.png" alt="pratibhasurabhi_0-1602049502336.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Subsequent trigger require a load time of 10bus clock cycle for both generators enabled.&lt;/P&gt;&lt;P&gt;So my understanding is, we can keep a difference of 10bus clock cycle in PTU trigger timing.&lt;/P&gt;&lt;P&gt;For the below clock setting we have tried the above mentioned difference but we are getting the trigger error. For below clock setting, If we keep a trigger difference of greater than 99 count will getting the ADC result without any error. but we are not getting how this value is correct?&lt;/P&gt;&lt;P&gt;fosc = 20MHZ&lt;/P&gt;&lt;P&gt;fcore(fpll) = 100MHz&lt;/P&gt;&lt;P&gt;fbus = 50MHz&lt;/P&gt;&lt;P&gt;fADC = 6.25MHz&lt;/P&gt;&lt;P&gt;We are sampling 3 signals on ADC 0 and one signal on ADC1.&lt;/P&gt;&lt;P&gt;So i want to know how to calculate the minimum ADC trigger value which will be used to set the next PTU trigger time&lt;/P&gt;&lt;P&gt;Example: For ADC0,&lt;/P&gt;&lt;P&gt;PTU Trigger[0] = duty cycle &amp;gt;&amp;gt;2;&amp;nbsp; //first trigger at half of duty cycle&lt;/P&gt;&lt;P&gt;PTU Trigger[1] = PTU Trigger[0] + &lt;STRONG&gt;MIN_ADC_TRIGGER&lt;/STRONG&gt;; // Second trigger value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so what we should set the &lt;STRONG&gt;MIN_ADC_TRIGGER&lt;/STRONG&gt; macro value to get the proper ADC result without any error?&lt;/P&gt;&lt;P&gt;Please request you to guide on this issue.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 05:58:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Regarding-susequent-PTU-trigger-timing-difference-in-S12ZVML64/m-p/1163723#M17509</guid>
      <dc:creator>pratibhasurabhi</dc:creator>
      <dc:date>2020-10-07T05:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding susequent PTU trigger timing difference in S12ZVML64</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Regarding-susequent-PTU-trigger-timing-difference-in-S12ZVML64/m-p/1163865#M17510</link>
      <description>&lt;P&gt;Hello Pratibha,&lt;/P&gt;
&lt;P&gt;The delay between subsequent PTU triggers should be longer than the conversion time of the sequence that is triggered first.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1602068988849.png" style="width: 714px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126864i8B8FEA441A5CE082/image-dimensions/714x490?v=v2" width="714" height="490" role="button" title="danielmartynek_0-1602068988849.png" alt="danielmartynek_0-1602068988849.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;A single conversion time:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1602069293749.png" style="width: 737px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126865iD9800C100DB4F599/image-dimensions/737x222?v=v2" width="737" height="222" role="button" title="danielmartynek_1-1602069293749.png" alt="danielmartynek_1-1602069293749.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;After a trigger, it takes also 2 Bus Clock cycles and 2 ADC cycles until the sampling starts.&lt;/P&gt;
&lt;P&gt;Please note that the Pump Phase mentioned below is the "Buffer" Sample Time in the Figure above. &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_2-1602069676245.png" style="width: 730px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126866iD9342500897AE0B8/image-dimensions/730x168?v=v2" width="730" height="168" role="button" title="danielmartynek_2-1602069676245.png" alt="danielmartynek_2-1602069676245.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&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>Wed, 07 Oct 2020 11:25:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Regarding-susequent-PTU-trigger-timing-difference-in-S12ZVML64/m-p/1163865#M17510</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-10-07T11:25:57Z</dc:date>
    </item>
  </channel>
</rss>

