<?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: Input capture: Measure 100% Duty in S32 SDK</title>
    <link>https://community.nxp.com/t5/S32-SDK/Input-capture-Measure-100-Duty/m-p/1034609#M1570</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see this is not handled by the driver. It would be necessary to use a timer and define timeouts depending on measured signal period. This should be handled rather by application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Mar 2020 09:59:54 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2020-03-31T09:59:54Z</dc:date>
    <item>
      <title>Input capture: Measure 100% Duty</title>
      <link>https://community.nxp.com/t5/S32-SDK/Input-capture-Measure-100-Duty/m-p/1034606#M1567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi together&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a project I use the FTM_IC component to measure the duty cycle of a signal.&lt;/P&gt;&lt;P&gt;All works fine except the duty cycle changes to 0% or 100%.&lt;/P&gt;&lt;P&gt;Then the last measured value stays until the duty cycle changes to other values than 0% or 100%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this case not handled in the processor expert component?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 13:09:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Input-capture-Measure-100-Duty/m-p/1034606#M1567</guid>
      <dc:creator>EE_CW</dc:creator>
      <dc:date>2020-03-30T13:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Input capture: Measure 100% Duty</title>
      <link>https://community.nxp.com/t5/S32-SDK/Input-capture-Measure-100-Duty/m-p/1034607#M1568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mario,&lt;/P&gt;&lt;P&gt;Seems You are using S32 SDK drivers to&amp;nbsp;measure duty cycle. I'm going to move your question into S32 SDK comunity.&lt;/P&gt;&lt;P&gt;Could you please indicate in the meantime which version of S32DS are you using and which&amp;nbsp;MCU are you targeting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 13:14:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Input-capture-Measure-100-Duty/m-p/1034607#M1568</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2020-03-30T13:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Input capture: Measure 100% Duty</title>
      <link>https://community.nxp.com/t5/S32-SDK/Input-capture-Measure-100-Duty/m-p/1034608#M1569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using S32DS.ARM.2018.R1&lt;/P&gt;&lt;P&gt;As MCU I target a S32K148&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/104173iC24E2ACA76269B6C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 14:53:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Input-capture-Measure-100-Duty/m-p/1034608#M1569</guid>
      <dc:creator>EE_CW</dc:creator>
      <dc:date>2020-03-30T14:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Input capture: Measure 100% Duty</title>
      <link>https://community.nxp.com/t5/S32-SDK/Input-capture-Measure-100-Duty/m-p/1034609#M1570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see this is not handled by the driver. It would be necessary to use a timer and define timeouts depending on measured signal period. This should be handled rather by application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2020 09:59:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Input-capture-Measure-100-Duty/m-p/1034609#M1570</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2020-03-31T09:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Input capture: Measure 100% Duty</title>
      <link>https://community.nxp.com/t5/S32-SDK/Input-capture-Measure-100-Duty/m-p/1034610#M1571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lukas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;BR /&gt;This is what I thought about to do. But Is there is possibility to read out the state of the Pin?&lt;/P&gt;&lt;P&gt;Because if I mux the pin to the FTM and not to the GPIO. Is it then still possible to read out if the pin is HIGH or LOW (to differr if the signal is 100% or 0% duty cycle)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2020 08:59:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Input-capture-Measure-100-Duty/m-p/1034610#M1571</guid>
      <dc:creator>EE_CW</dc:creator>
      <dc:date>2020-04-01T08:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Input capture: Measure 100% Duty</title>
      <link>https://community.nxp.com/t5/S32-SDK/Input-capture-Measure-100-Duty/m-p/1034611#M1572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, you can read out the current state of a pin even if it is configured for FTM function. You can find this note in the reference manual:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Whenever a pin is configured in any digital pin muxing mode, the input buffer for that&lt;BR /&gt;pin is enabled allowing the pin state to be read via the corresponding GPIO Port Data&lt;BR /&gt;Input Register (GPIO_PDIR) or allowing a pin interrupt or DMA request to be generated."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2020 05:54:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Input-capture-Measure-100-Duty/m-p/1034611#M1572</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2020-04-02T05:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Input capture: Measure 100% Duty</title>
      <link>https://community.nxp.com/t5/S32-SDK/Input-capture-Measure-100-Duty/m-p/1034612#M1573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lukas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes you are right. I didn't think about this.&lt;/P&gt;&lt;P&gt;I tried it it an it work perfectly for me.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2020 11:17:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/Input-capture-Measure-100-Duty/m-p/1034612#M1573</guid>
      <dc:creator>EE_CW</dc:creator>
      <dc:date>2020-04-02T11:17:11Z</dc:date>
    </item>
  </channel>
</rss>

