<?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: ADC continuous conversion</title>
    <link>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1399105#M13636</link>
    <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;What I did:&lt;/P&gt;&lt;P&gt;set the PDB1 SC continuous bit to 1.then start&amp;nbsp; conversion&amp;nbsp; on the adc1 which is linked to PDB1 CHANNEL 0. however this does not work. is there anything else I need to do ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Koorosh&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jan 2022 21:56:46 GMT</pubDate>
    <dc:creator>hajianik</dc:creator>
    <dc:date>2022-01-13T21:56:46Z</dc:date>
    <item>
      <title>ADC continuous conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1396874#M13597</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My target is s32k148.&lt;/P&gt;&lt;P&gt;There are 5 ADC channel that I need to read. One of which I'd like to read on a continuous mode.&lt;/P&gt;&lt;P&gt;I know how to convert all the 5, back to back using PDB,HOWEVER I NEED TO SAMPLE ONE OF THESE CHANNEL ON A CONTINUOUS BASIS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;the bit ADC_CO in ADC_SC3 will effect all the channels I believe.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Koorosh Hajiani&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>Mon, 10 Jan 2022 19:09:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1396874#M13597</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2022-01-10T19:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: ADC continuous conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1397279#M13607</link>
      <description>&lt;P&gt;Hello Koorosh,&lt;/P&gt;&lt;P&gt;I'm afraid it can be done on one ADC instance.&lt;/P&gt;&lt;P&gt;The ADC samples one channel continuously if ADCO = 1, then, it can't convert other channels triggered from PDB.&lt;/P&gt;&lt;P&gt;You can sample all 5 channels continuously from PDB in the back-to-back mode.&lt;/P&gt;&lt;P&gt;Or use one ADC instance for the continuous conversion on a single channel and the other ADC with PDB.&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;</description>
      <pubDate>Tue, 11 Jan 2022 09:36:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1397279#M13607</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-01-11T09:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: ADC continuous conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1397555#M13615</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;I don't understand what you wrote, it is me and not you, could you expand on it.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Or use one ADC instance for the continuous conversion on a single channel and the other ADC with PDB.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Koorosh&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 18:27:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1397555#M13615</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2022-01-11T18:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: ADC continuous conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1398010#M13623</link>
      <description>&lt;P&gt;Hi Koorosh,&lt;/P&gt;&lt;P&gt;The MCU has 2 ADC modules.&lt;/P&gt;&lt;P&gt;So, you can use one ADC to sample the one channel continuously (ADC_CO).&lt;/P&gt;&lt;P&gt;And the second ADC to sample the rest of the channels using PDB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 09:38:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1398010#M13623</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-01-12T09:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: ADC continuous conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1398322#M13628</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;OK, GOT IT THANKS, UNFORTUNETLY THE HARDWARE ENGINNER WITHOUT CONSULTING ANYONE HAS SELECTED SOME ON ADC0 AND SOME ON ADC1.&lt;/P&gt;&lt;P&gt;I GUESS THE BEST SOLUTION IS TO USE CONTINUOUS (PDB) ON ALL OF THEM.&lt;/P&gt;&lt;P&gt;IN THAT CASE LET ME ASK YOU THIS :&lt;/P&gt;&lt;P&gt;In sleep mode the ADC is disabled HOWEVER WHEN WE WAKE UP DO WE NEED TO REINITILIZE THE ADC and PDB.&lt;/P&gt;&lt;P&gt;I can't download the example "project Back to back&amp;nbsp; adc conversion" seems to be an issue with it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Koorosh&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 18:10:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1398322#M13628</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2022-01-12T18:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: ADC continuous conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1398853#M13634</link>
      <description>&lt;P&gt;Hello&amp;nbsp;Koorosh,&lt;/P&gt;
&lt;P&gt;There are these stop modes: STOP1, STOP2 and VLPS.&lt;/P&gt;
&lt;P&gt;The ADC is fully-functional in STOP2.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1642073287024.png" style="width: 593px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/167552iBC9FE9B1BC60D575/image-dimensions/593x356?v=v2" width="593" height="356" role="button" title="danielmartynek_0-1642073287024.png" alt="danielmartynek_0-1642073287024.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For the other modes, there is no need to reinitialize the modules, just re-enable the PDB triggers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What example do you mean?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you post a link?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 11:34:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1398853#M13634</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-01-13T11:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: ADC continuous conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1399020#M13635</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;this is the link:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/docs/DOC-339644" target="_blank"&gt;Example-S32K144-PDB-ADC-back2back-v1_0-S32DS12.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 17:02:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1399020#M13635</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2022-01-13T17:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: ADC continuous conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1399105#M13636</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;What I did:&lt;/P&gt;&lt;P&gt;set the PDB1 SC continuous bit to 1.then start&amp;nbsp; conversion&amp;nbsp; on the adc1 which is linked to PDB1 CHANNEL 0. however this does not work. is there anything else I need to do ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Koorosh&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 21:56:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1399105#M13636</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2022-01-13T21:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: ADC continuous conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1399401#M13642</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/138997"&gt;@hajianik&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Please provide link to the thread where you read:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: Example-S32K144-PDB-ADC-back2back-v1_0-S32DS12.zip&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I can't locate it,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 09:46:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1399401#M13642</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-01-14T09:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: ADC continuous conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1399590#M13651</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;This is the link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-PDB-ADC-back-to-back-test-S32DS12/ta-p/1115617" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-PDB-ADC-back-to-back-test-S32DS12/ta-p/1115617&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Koorosh&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 17:45:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1399590#M13651</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2022-01-14T17:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: ADC continuous conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1400119#M13672</link>
      <description>&lt;P&gt;Thanks Koorosh,&lt;/P&gt;
&lt;P&gt;The link has been fixed,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 08:30:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1400119#M13672</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-01-17T08:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: ADC continuous conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1400262#M13679</link>
      <description>&lt;P&gt;Hi Koorosh,&lt;/P&gt;
&lt;P&gt;Please read this thread:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/How-do-I-setup-continious-PDB-ADC-sampling/td-p/863743" target="_blank"&gt;https://community.nxp.com/t5/S32K/How-do-I-setup-continious-PDB-ADC-sampling/td-p/863743&lt;/A&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;</description>
      <pubDate>Mon, 17 Jan 2022 11:25:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1400262#M13679</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-01-17T11:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: ADC continuous conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1400479#M13685</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;THANKS FOR YOUR REPLY, AND FIXING THE LINK.&lt;/P&gt;&lt;P&gt;I DO NEED TO ASK YOU&amp;nbsp; THIS MORANIC QUESTION:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lets say I configure the ADC for the PDB BACK2BACK single shot , and start conversion however a bit later on, I set the continuous bit in PDB SC register. will that result in continuous conversion?&lt;/P&gt;&lt;P&gt;Also in your post you mentioned that I need to read the result register&amp;nbsp; for PDB triggering on COCO bit .&lt;/P&gt;&lt;P&gt;does it apply to continuous&amp;nbsp; conversion too?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Koorosh Hajiani&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 20:36:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1400479#M13685</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2022-01-17T20:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: ADC continuous conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1401035#M13697</link>
      <description>&lt;P&gt;Hi Koorosh,&lt;/P&gt;
&lt;P&gt;Yes, it can be set later, I don't see any issue with that.&lt;/P&gt;
&lt;P&gt;Yes, it applies to the continuous mode too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 15:47:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1401035#M13697</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-01-18T15:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: ADC continuous conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1402889#M13747</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;appreciate your help on this and answering my morainic questions.&lt;/P&gt;&lt;P&gt;The S32K RM is not very clear.&lt;/P&gt;&lt;P&gt;So ,Once we read any result register and read it again before the next conversion is done will it read the the last result or its content would be zero or 0xffff or something else?&lt;/P&gt;&lt;P&gt;and what about the COCO bit ? with continuous PDB do I need to read the COCO bit to trigger a new conversion? or this is done by the hardware?&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Koorosh&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 22:24:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1402889#M13747</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2022-01-20T22:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: ADC continuous conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1403274#M13761</link>
      <description>&lt;P&gt;Hi Koorosh,&lt;/P&gt;
&lt;P&gt;The result register holds the previos valid value until it is overwritten by a new conversion result.&lt;/P&gt;
&lt;P&gt;Yes, the COCO flag needs to be cleared by reading the result register.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 14:35:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1403274#M13761</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-01-21T14:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: ADC continuous conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1403407#M13763</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;As always thanks for your reply.&lt;/P&gt;&lt;P&gt;Here is the issue. I'm dealing with Autosar code and trying to hack it , not with malicious intention of course. so there is 7 ADC1 channels on PDB1, and you can see below the register content. I'm interested in channel 3 (SC1D )to be read on a continuous basis. so I let the AUtosar do its initialization( single shot) and right after that I set the continuous bit to 1. Although I read RD every 1 ms or even 20 ms I don't see the COCO bit&amp;nbsp; gets updated. when remove the&amp;nbsp;continuous bit setting, it updates for COCO bit.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hajianik_0-1642791983404.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/168511i607BFD8741D5ABC9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hajianik_0-1642791983404.png" alt="hajianik_0-1642791983404.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Koorosh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 19:07:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1403407#M13763</guid>
      <dc:creator>hajianik</dc:creator>
      <dc:date>2022-01-21T19:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: ADC continuous conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1403965#M13771</link>
      <description>&lt;P&gt;Hi Koorosh,&lt;/P&gt;
&lt;P&gt;I don't use Autosar, please create a new thread for this.&lt;/P&gt;
&lt;P&gt;I would use the ADC interrupt or the PDB interrupt to check the COCO and to read the result instead of the polling method that you use though.&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;</description>
      <pubDate>Mon, 24 Jan 2022 12:46:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-continuous-conversion/m-p/1403965#M13771</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-01-24T12:46:23Z</dc:date>
    </item>
  </channel>
</rss>

