<?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>Kinetis MicrocontrollersのトピックRe: k64 adc channel b cannot finished conversion</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/k64-adc-channel-b-cannot-finished-conversion/m-p/1459492#M63114</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/39708"&gt;@johntse&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to apologize for the delay on my answer., we are overloaded on the requests I really appreciate that you were so patient.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding what you are trying to use, it is a good idea to use PDB to trigger your ADC channel B on your Kinetis K Series, so I would like to suggest you based on your question, to check this thread from our community where other people shared their codes to trigger an ADC channel with PDB:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/Triggering-ADC-with-PDB-in-K66-microcontroller/m-p/1066183" target="_blank"&gt;https://community.nxp.com/t5/Kinetis-Microcontrollers/Triggering-ADC-with-PDB-in-K66-microcontroller/m-p/1066183&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;After checking that one, you should try to check this application note too, that it is for a Kinetis KV Series, but it might be helpful on understanding the functionality and some characteristics about PDB, using eFlexPWM to trigger ADC:&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN5237.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN5237.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this links are useful for you, please let me know if you have more questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much.&lt;BR /&gt;Sincerely,&lt;BR /&gt;Pablo Avalos.&lt;/P&gt;</description>
    <pubDate>Tue, 17 May 2022 18:04:25 GMT</pubDate>
    <dc:creator>PabloAvalos</dc:creator>
    <dc:date>2022-05-17T18:04:25Z</dc:date>
    <item>
      <title>k64 adc channel b cannot finished conversion</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/k64-adc-channel-b-cannot-finished-conversion/m-p/1451520#M63013</link>
      <description>&lt;P&gt;I have a problem, using K60 it was working but when i changed my CPU to K64 on the same Board&lt;/P&gt;&lt;P&gt;I have a problem where all the ADC channel B cannot work,&amp;nbsp; once conversion starts, it never finishes&lt;/P&gt;&lt;P&gt;or it looks like it was never triggered.&lt;/P&gt;&lt;P&gt;so all the B channels such as ADC0_SE4b or ADC1_SE4b will hang and never terminates&lt;/P&gt;&lt;P&gt;all A channels on ADc0 or ADC1 has no issue at all.&lt;/P&gt;&lt;P&gt;this only happens on K64 CPU, I am using&amp;nbsp; CPU : MK64FN1M0VLQ12 - 120Mhz 144pin&lt;/P&gt;&lt;P&gt;I am not even using interrupts or DMA. I just want to verify that all the A/D channels are working.&lt;/P&gt;&lt;P&gt;did not expect that such a simple thing is such a nightmare. the manual did not indicate that Channel B needs hardware to trigger. setup for both channel A or B are exactly the same.&lt;/P&gt;&lt;P&gt;looking thru all the forums, there is not examples&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 23:28:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/k64-adc-channel-b-cannot-finished-conversion/m-p/1451520#M63013</guid>
      <dc:creator>johntse</dc:creator>
      <dc:date>2022-04-29T23:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: k64 adc channel b cannot finished conversion</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/k64-adc-channel-b-cannot-finished-conversion/m-p/1453761#M63045</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/39708"&gt;@johntse&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much for using our community and thank you for all your patience.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding your issue, I would like to know if all the ADC conversion were working well previously with K60 mcu on your board? After that, may you tell me if you already tried to run an ADC example on your new K64 mcu on your board? So in this way, we can realize that everything is working properly on your board and there is no hardware issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A suggestion is to run the SDK example and select the channel where you want to receive your voltage signal, so it has to work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know your comments or if you have more questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance.&lt;BR /&gt;Best Regards.&lt;BR /&gt;Pablo Avalos.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 20:39:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/k64-adc-channel-b-cannot-finished-conversion/m-p/1453761#M63045</guid>
      <dc:creator>PabloAvalos</dc:creator>
      <dc:date>2022-05-05T20:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: k64 adc channel b cannot finished conversion</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/k64-adc-channel-b-cannot-finished-conversion/m-p/1453827#M63048</link>
      <description>&lt;P&gt;dear pablo&lt;/P&gt;&lt;P&gt;thank you for your response, i am really desperate now, i thought that the k60 cpu adc channel b is working but it is not actually working&lt;/P&gt;&lt;P&gt;it did read some voltages but the values all wrong&lt;/P&gt;&lt;P&gt;looking thru both k60 and k64 manuals&amp;nbsp; page 854 of k64 rev 4 oct 2019&lt;/P&gt;&lt;P&gt;it did indicate that channel B cannot use the adc software trigger function, quoted below:&lt;/P&gt;&lt;P&gt;Writing any of the SC1n registers while that specific SC1n register is actively controlling&lt;BR /&gt;a conversion aborts the current conversion. None of the SC1B-SC1n registers are used for&lt;BR /&gt;software trigger operation and therefore writes to the SC1B–SC1n registers do not initiate&lt;BR /&gt;a new conversion.&lt;/P&gt;&lt;P&gt;so my only choice is to use the pdb0 to trigger it but no matter what i do, i am unable to trigger ch B ADC&lt;/P&gt;&lt;P&gt;to keep it as simple as possible&lt;/P&gt;&lt;P&gt;i set the pdb0 for software trigger, one shot, bypass all delays. i load the channel into SC1B, software trigger the pdb0&lt;/P&gt;&lt;P&gt;read back the SC1B to see if COCO is set, but it was never set, tried BB mode and also continuous mode, also dont work&lt;/P&gt;&lt;P&gt;all examples are mostly using DMA or interrupt, i dont want to make my test complex and more error prone. just a simple example about will do&lt;/P&gt;&lt;P&gt;also, the pdb0 do not explicitly indicate where or how to set up the adc0 and adc1 triggers, so where and how exactly&amp;nbsp; does the pdb0 triggers the adcs&lt;/P&gt;&lt;P&gt;john&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 00:36:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/k64-adc-channel-b-cannot-finished-conversion/m-p/1453827#M63048</guid>
      <dc:creator>johntse</dc:creator>
      <dc:date>2022-05-06T00:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: k64 adc channel b cannot finished conversion</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/k64-adc-channel-b-cannot-finished-conversion/m-p/1459492#M63114</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/39708"&gt;@johntse&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to apologize for the delay on my answer., we are overloaded on the requests I really appreciate that you were so patient.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding what you are trying to use, it is a good idea to use PDB to trigger your ADC channel B on your Kinetis K Series, so I would like to suggest you based on your question, to check this thread from our community where other people shared their codes to trigger an ADC channel with PDB:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/Triggering-ADC-with-PDB-in-K66-microcontroller/m-p/1066183" target="_blank"&gt;https://community.nxp.com/t5/Kinetis-Microcontrollers/Triggering-ADC-with-PDB-in-K66-microcontroller/m-p/1066183&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;After checking that one, you should try to check this application note too, that it is for a Kinetis KV Series, but it might be helpful on understanding the functionality and some characteristics about PDB, using eFlexPWM to trigger ADC:&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN5237.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN5237.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this links are useful for you, please let me know if you have more questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much.&lt;BR /&gt;Sincerely,&lt;BR /&gt;Pablo Avalos.&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 18:04:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/k64-adc-channel-b-cannot-finished-conversion/m-p/1459492#M63114</guid>
      <dc:creator>PabloAvalos</dc:creator>
      <dc:date>2022-05-17T18:04:25Z</dc:date>
    </item>
  </channel>
</rss>

