<?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: K20 FTM synchronization by PDB in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-FTM-synchronization-by-PDB/m-p/747406#M45514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It seems there is no way to do so. PDP channel is specially design for ADC.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"When a pre-trigger from a PDB channel n is asserted, the associated lock of the pretrigger becomes active. The associated lock is released by the rising edge of the corresponding ADCnSC1[COCO]; the ADCnSC1[COCO] should be cleared after the conversion result is read, so that the next rising edge of ADCnSC1[COCO] can be generated to clear the lock later. The lock becomes inactive when:&lt;BR /&gt;• the rising edge of corresponding ADCnSC1[COCO] occurs,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;• or the corresponding PDB pre-trigger is disabled,&lt;BR /&gt;• or the PDB is disabled&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;There is a topic about PDB, you can also take a look. You can't eliminate sequence error without coco.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/927844?commentID=927844#comment-927844"&gt;https://community.nxp.com/message/927844?commentID=927844#comment-927844&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jun 2018 06:25:48 GMT</pubDate>
    <dc:creator>jingpan</dc:creator>
    <dc:date>2018-06-07T06:25:48Z</dc:date>
    <item>
      <title>K20 FTM synchronization by PDB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-FTM-synchronization-by-PDB/m-p/747405#M45513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to make a BLDC controller. Commutation period is set by PDB0 in continuous mode, PWM with appropriate masking is done by FTM0, which is reloaded and restarted synchronously with PDB0 overflow.&lt;/P&gt;&lt;P&gt;I was able to set up trigger signal generation by enabling PDB channel 1, pretrigger 0.&lt;/P&gt;&lt;P&gt;However, now it is necessary that ADC1 is powered up and waiting for interrupt to read R[0], otherwise COCO remains set, PDB detects sequence error and halts trigger generation.&lt;/P&gt;&lt;P&gt;Is there any way to use PDB for FTM synchronization while ADC1 is off, or is used for other unrelated tasks?&lt;/P&gt;&lt;P&gt;Thanks for any suggestions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Jun 2018 14:39:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-FTM-synchronization-by-PDB/m-p/747405#M45513</guid>
      <dc:creator>venny</dc:creator>
      <dc:date>2018-06-03T14:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: K20 FTM synchronization by PDB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-FTM-synchronization-by-PDB/m-p/747406#M45514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It seems there is no way to do so. PDP channel is specially design for ADC.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"When a pre-trigger from a PDB channel n is asserted, the associated lock of the pretrigger becomes active. The associated lock is released by the rising edge of the corresponding ADCnSC1[COCO]; the ADCnSC1[COCO] should be cleared after the conversion result is read, so that the next rising edge of ADCnSC1[COCO] can be generated to clear the lock later. The lock becomes inactive when:&lt;BR /&gt;• the rising edge of corresponding ADCnSC1[COCO] occurs,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;• or the corresponding PDB pre-trigger is disabled,&lt;BR /&gt;• or the PDB is disabled&lt;STRONG&gt;"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;There is a topic about PDB, you can also take a look. You can't eliminate sequence error without coco.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/927844?commentID=927844#comment-927844"&gt;https://community.nxp.com/message/927844?commentID=927844#comment-927844&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 06:25:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K20-FTM-synchronization-by-PDB/m-p/747406#M45514</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2018-06-07T06:25:48Z</dc:date>
    </item>
  </channel>
</rss>

