<?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: Query on PDB in back to back operation mode</title>
    <link>https://community.nxp.com/t5/S32K/Query-on-PDB-in-back-to-back-operation-mode/m-p/1281723#M10950</link>
    <description>&lt;P&gt;Thanks PetrS.&lt;/P&gt;&lt;P&gt;I have Enabled Continuous mode and selected back-to-back mode for 8 ADC on channels0.&lt;/P&gt;&lt;P&gt;So, after triggering PDB I am trying to read respective ADC result registers inside code's main() routine but values are not updating.&lt;/P&gt;&lt;P&gt;But, when I am reading the same registers in any ISR routine (eg. PDB or ADC isr) I am getting updated/fresh value.&lt;/P&gt;&lt;P&gt;Why is this behavior? Why I am not getting updated value if reading in regular main() routine?&lt;/P&gt;</description>
    <pubDate>Tue, 25 May 2021 09:46:17 GMT</pubDate>
    <dc:creator>PawanGupta</dc:creator>
    <dc:date>2021-05-25T09:46:17Z</dc:date>
    <item>
      <title>Query on PDB in back to back operation mode</title>
      <link>https://community.nxp.com/t5/S32K/Query-on-PDB-in-back-to-back-operation-mode/m-p/1274075#M10824</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using S32k144 controller, and for ADC conversion I have selected PDB triggering. I want to understand the operation in the following Scenarios :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Case 1.&lt;/STRONG&gt;: I set the value of PDB0 modulus as 10ms and all pre-trigger delay values as 100us and configured 8 ADC channels of ADC-0 with PDB Channel -0 for periodic conversions. So what will happen after the conversion of all 8 channels? Will PDB wait for modulus counter to reset and then trigger next round of conversion(i.e after 10ms) ? or Conversion will keep goes on continuously?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Case 2:&lt;/STRONG&gt; If I want to use &lt;STRONG&gt;PDB0 CH0&lt;/STRONG&gt; for &lt;STRONG&gt;8 ADC0&lt;/STRONG&gt; &lt;STRONG&gt;channel&lt;/STRONG&gt;s and&lt;STRONG&gt; PDB1 CH0&lt;/STRONG&gt; for &lt;STRONG&gt;8 ADC1 channels&lt;/STRONG&gt;, what configuration I need to do so that after &lt;STRONG&gt;PDB0&lt;/STRONG&gt; conversions &lt;STRONG&gt;automatically&lt;/STRONG&gt; &lt;STRONG&gt;PDB1&lt;/STRONG&gt; will be triggered.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Case 3:&lt;/STRONG&gt;&amp;nbsp;If I want to use &lt;STRONG&gt;PDB0 CH0&lt;/STRONG&gt; for &lt;STRONG&gt;8 ADC0 channels&lt;/STRONG&gt; and &lt;STRONG&gt;PDB0 CH1&lt;/STRONG&gt; for the next &lt;STRONG&gt;8 ADC0 channels&lt;/STRONG&gt;, then will &lt;STRONG&gt;PDB0 CH1&lt;/STRONG&gt; will be&lt;STRONG&gt; triggered automatically&lt;/STRONG&gt; after &lt;STRONG&gt;PDB0 CH0&lt;/STRONG&gt; conversions? or I have to t&lt;STRONG&gt;rigger PDB0 CH1 manually&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pawan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 May 2021 11:18:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Query-on-PDB-in-back-to-back-operation-mode/m-p/1274075#M10824</guid>
      <dc:creator>PawanGupta</dc:creator>
      <dc:date>2021-05-09T11:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Query on PDB in back to back operation mode</title>
      <link>https://community.nxp.com/t5/S32K/Query-on-PDB-in-back-to-back-operation-mode/m-p/1274913#M10841</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;1)&amp;nbsp;The modulus value in the Modulus register (MOD) is used to reset the counter back to zero at the end of the count. If the Continuous Mode Enable (SC[CONT]) is set, then the counter will then resume a new count; otherwise, the counter operation will stop until the next trigger input event occurs.&lt;/P&gt;
&lt;P&gt;2) if back-to-back mode is selected then always first pretrigger of the back-to-back connection chain has BB bit cleared and TOS set, thus a pretrigger's delay defines a time when this pretrigger is asserted. So you have to set such a delay, previous conversions of 8 ADC channels finished on channel 0 and so next back-to-back chain can start.&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;3) no, you have to define a delay as writen above.&lt;BR /&gt;Note: direct chaining between CH0 and CH1 of the PDB module is supported on S32K14xW variant&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt; only&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 09:00:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Query-on-PDB-in-back-to-back-operation-mode/m-p/1274913#M10841</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2021-05-11T09:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Query on PDB in back to back operation mode</title>
      <link>https://community.nxp.com/t5/S32K/Query-on-PDB-in-back-to-back-operation-mode/m-p/1281723#M10950</link>
      <description>&lt;P&gt;Thanks PetrS.&lt;/P&gt;&lt;P&gt;I have Enabled Continuous mode and selected back-to-back mode for 8 ADC on channels0.&lt;/P&gt;&lt;P&gt;So, after triggering PDB I am trying to read respective ADC result registers inside code's main() routine but values are not updating.&lt;/P&gt;&lt;P&gt;But, when I am reading the same registers in any ISR routine (eg. PDB or ADC isr) I am getting updated/fresh value.&lt;/P&gt;&lt;P&gt;Why is this behavior? Why I am not getting updated value if reading in regular main() routine?&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 09:46:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Query-on-PDB-in-back-to-back-operation-mode/m-p/1281723#M10950</guid>
      <dc:creator>PawanGupta</dc:creator>
      <dc:date>2021-05-25T09:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Query on PDB in back to back operation mode</title>
      <link>https://community.nxp.com/t5/S32K/Query-on-PDB-in-back-to-back-operation-mode/m-p/1282517#M10969</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;this will be due to locked pretrigger from PDB. As written in chapter&amp;nbsp;46.4.1 PDB pre-trigger and trigger outputs of the RM...&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PetrS_0-1622025792974.png" style="width: 507px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/145561i3CE3520EDFC665AA/image-dimensions/507x147?v=v2" width="507" height="147" role="button" title="PetrS_0-1622025792974.png" alt="PetrS_0-1622025792974.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So you need to read ADC results in time so this lock does not happen.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 10:45:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Query-on-PDB-in-back-to-back-operation-mode/m-p/1282517#M10969</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2021-05-26T10:45:38Z</dc:date>
    </item>
  </channel>
</rss>

